|
Apollo 11.0
自动驾驶开放平台
|
#include <sim_control_with_model_base.h>
Public 成员函数 | |
| SimControlWithModelBase (const std::string &node_name) | |
| Construct a new Sim Control With Model Base object | |
| void | Start () override |
| Starts the timer to publish simulated localization and chassis messages. | |
| void | Start (double x, double y, double v=0.0, double a=0.0) override |
| Starts running the simulated control algorithm with position, e.g., publish simulated localization and chassis messages triggered by timer. | |
| void | ReSetPoinstion (double x, double y, double heading) override |
| Set vehicle position. | |
| void | Stop () override |
| Stops the algorithm. | |
| void | Reset () override |
| Resets the internal state. | |
Public 成员函数 继承自 apollo::dreamview::SimControlBase | |
| virtual | ~SimControlBase () |
| virtual void | RunOnce ()=0 |
| Main logic of the simulated control algorithm. | |
| virtual void | Init (bool set_start_point, nlohmann::json start_point_attr, bool use_start_point_position=false)=0 |
| Initialization. | |
Protected 成员函数 | |
| void | InitTimerAndIO () |
| void | UpdateGearPosition () |
| void | InitStartPoint (nlohmann::json start_point_attr, bool use_start_point_position=false) |
| void | InternalReset () |
| void | OnControlCommand (const apollo::control::ControlCommand &control_command) |
| void | OnPlanningCommand (const std::shared_ptr< apollo::planning::PlanningCommand > &planning_command) |
| void | OnPredictionObstacles (const std::shared_ptr< apollo::prediction::PredictionObstacles > &obstacles) |
| virtual void | SetStartPoint (const ::apollo::sim_control::SimCarStatus &point) |
| void | PublishChassis (const std::string model_name) |
| pubish chassis info | |
| void | PublishLocalization (const std::string model_name) |
| void | PublishDummyPrediction () |
| publish prediction info | |
Protected 成员函数 继承自 apollo::dreamview::SimControlBase | |
| void | TransformToVRF (const apollo::common::Point3D &point_mrf, const apollo::common::Quaternion &orientation, apollo::common::Point3D *point_vrf) |
静态 Protected 属性 | |
| static constexpr double | kModelIntervalMs = 10 |
| static constexpr double | kSimPredictionIntervalMs = 100 |
在文件 sim_control_with_model_base.h 第 52 行定义.
|
explicit |
Construct a new Sim Control With Model Base object
Construct a new Sim Control With Model Base:: Sim Control With Model Base object
| node_name | |
| node_name | depens on different dynamic model |
在文件 sim_control_with_model_base.cc 第 45 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 227 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 53 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 182 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 191 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 204 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 109 行定义.
|
protected |
pubish chassis info
| model_name |
在文件 sim_control_with_model_base.cc 第 310 行定义.
|
protected |
publish prediction info
在文件 sim_control_with_model_base.cc 第 338 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 350 行定义.
|
overridevirtual |
Resets the internal state.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_control_with_model_base.cc 第 177 行定义.
|
overridevirtual |
Set vehicle position.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_control_with_model_base.cc 第 154 行定义.
|
protectedvirtual |
在文件 sim_control_with_model_base.cc 第 221 行定义.
|
overridevirtual |
Starts the timer to publish simulated localization and chassis messages.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_control_with_model_base.cc 第 119 行定义.
|
overridevirtual |
Starts running the simulated control algorithm with position, e.g., publish simulated localization and chassis messages triggered by timer.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_control_with_model_base.cc 第 137 行定义.
|
overridevirtual |
Stops the algorithm.
实现了 apollo::dreamview::SimControlBase.
在文件 sim_control_with_model_base.cc 第 167 行定义.
|
protected |
在文件 sim_control_with_model_base.cc 第 97 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 136 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 104 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 119 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 128 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 106 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 111 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 126 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 134 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 142 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 131 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 141 行定义.
|
staticconstexprprotected |
在文件 sim_control_with_model_base.h 第 145 行定义.
|
staticconstexprprotected |
在文件 sim_control_with_model_base.h 第 146 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 115 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 123 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 153 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 108 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 105 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 113 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 117 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 121 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 125 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 149 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 152 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 103 行定义.
|
protected |
在文件 sim_control_with_model_base.h 第 139 行定义.