|
Apollo
6.0
Open source self driving car software
|
base class for all controllers. More...
#include <controller.h>


Public Member Functions | |
| Controller ()=default | |
| constructor More... | |
| virtual | ~Controller ()=default |
| destructor More... | |
| virtual common::Status | Init (std::shared_ptr< DependencyInjector > injector, const ControlConf *control_conf)=0 |
| initialize Controller More... | |
| virtual common::Status | ComputeControlCommand (const localization::LocalizationEstimate *localization, const canbus::Chassis *chassis, const planning::ADCTrajectory *trajectory, control::ControlCommand *cmd)=0 |
| compute control command based on current vehicle status and target trajectory More... | |
| virtual common::Status | Reset ()=0 |
| reset Controller More... | |
| virtual std::string | Name () const =0 |
| controller name More... | |
| virtual void | Stop ()=0 |
| stop controller More... | |
base class for all controllers.
|
default |
constructor
|
virtualdefault |
destructor
|
pure virtual |
compute control command based on current vehicle status and target trajectory
| localization | vehicle location |
| chassis | vehicle status e.g., speed, acceleration |
| trajectory | trajectory generated by planning |
| cmd | control command |
Implemented in apollo::control::LonController.
|
pure virtual |
initialize Controller
| control_conf | control configurations |
Implemented in apollo::control::LatController, apollo::control::MPCController, and apollo::control::LonController.
|
pure virtual |
controller name
Implemented in apollo::control::LatController, apollo::control::MPCController, and apollo::control::LonController.
|
pure virtual |
reset Controller
Implemented in apollo::control::LatController, apollo::control::MPCController, and apollo::control::LonController.
|
pure virtual |
stop controller
Implemented in apollo::control::LatController, apollo::control::MPCController, and apollo::control::LonController.
1.8.13