Apollo
6.0
Open source self driving car software
|
manage all controllers declared in control config file. More...
#include <controller_agent.h>
Public Member Functions | |
common::Status | Init (std::shared_ptr< DependencyInjector > injector, const ControlConf *control_conf) |
initialize ControllerAgent More... | |
common::Status | ComputeControlCommand (const localization::LocalizationEstimate *localization, const canbus::Chassis *chassis, const planning::ADCTrajectory *trajectory, control::ControlCommand *cmd) |
compute control command based on current vehicle status and target trajectory More... | |
common::Status | Reset () |
reset ControllerAgent More... | |
manage all controllers declared in control config file.
common::Status apollo::control::ControllerAgent::ComputeControlCommand | ( | const localization::LocalizationEstimate * | localization, |
const canbus::Chassis * | chassis, | ||
const planning::ADCTrajectory * | trajectory, | ||
control::ControlCommand * | cmd | ||
) |
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 |
common::Status apollo::control::ControllerAgent::Init | ( | std::shared_ptr< DependencyInjector > | injector, |
const ControlConf * | control_conf | ||
) |
initialize ControllerAgent
control_conf | control configurations |
common::Status apollo::control::ControllerAgent::Reset | ( | ) |
reset ControllerAgent