Apollo 10.0
自动驾驶开放平台
|
A module that simulates a 'perfect control' algorithm, which assumes an ideal world where the car can be perfectly placed wherever the planning asks it to be, with the expected speed, acceleration, etc. 更多...
#include <sim_perfect_control.h>
Public 成员函数 | |
SimPerfectControl (const MapService *map_service) | |
Constructor of SimPerfectControl. | |
void | Init (bool set_start_point, nlohmann::json start_point_attr, bool use_start_point_position=false) override |
setup callbacks and timer | |
void | Start () override |
Starts the timer to publish simulated localization and chassis messages. | |
void | Stop () override |
Stops the timer. | |
void | ReSetPoinstion (double x, double y, double heading) override |
Set vehicle position. | |
void | Reset () override |
Resets the internal state. | |
void | RunOnce () override |
Main logic of the simulated control algorithm. | |
![]() | |
virtual | ~SimControlBase () |
额外继承的成员函数 | |
![]() | |
void | TransformToVRF (const apollo::common::Point3D &point_mrf, const apollo::common::Quaternion &orientation, apollo::common::Point3D *point_vrf) |
![]() | |
std::unique_ptr< cyber::Timer > | sim_control_timer_ |
std::unique_ptr< cyber::Timer > | sim_prediction_timer_ |
std::mutex | mutex_ |
bool | enabled_ = false |
bool | start_point_from_localization_ = false |
double | start_velocity_ = 0.0 |
double | start_acceleration_ = 0.0 |
double | start_heading_ = std::numeric_limits<double>::max() |
A module that simulates a 'perfect control' algorithm, which assumes an ideal world where the car can be perfectly placed wherever the planning asks it to be, with the expected speed, acceleration, etc.
在文件 sim_perfect_control.h 第 52 行定义.
|
explicit |
Constructor of SimPerfectControl.
map_service | the pointer of MapService. |
在文件 sim_perfect_control.cc 第 66 行定义.
|
overridevirtual |
setup callbacks and timer
set_start_point | initialize localization. |
实现了 apollo::dreamview::SimControlBase.
在文件 sim_perfect_control.cc 第 112 行定义.
|
overridevirtual |
Resets the internal state.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_perfect_control.cc 第 210 行定义.
|
overridevirtual |
Set vehicle position.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_perfect_control.cc 第 140 行定义.
|
overridevirtual |
Main logic of the simulated control algorithm.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_perfect_control.cc 第 363 行定义.
|
overridevirtual |
Starts the timer to publish simulated localization and chassis messages.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_perfect_control.cc 第 299 行定义.
|
overridevirtual |