Longitudinal controller, to compute brake / throttle values.
More...
#include <lon_controller.h>
Longitudinal controller, to compute brake / throttle values.
◆ LonController()
apollo::control::LonController::LonController |
( |
| ) |
|
◆ ~LonController()
virtual apollo::control::LonController::~LonController |
( |
| ) |
|
|
virtual |
◆ ComputeControlCommand()
common::Status apollo::control::LonController::ComputeControlCommand |
( |
const localization::LocalizationEstimate * |
localization, |
|
|
const canbus::Chassis * |
chassis, |
|
|
const planning::ADCTrajectory * |
trajectory, |
|
|
control::ControlCommand * |
cmd |
|
) |
| |
|
overridevirtual |
compute brake / throttle values based on current vehicle status and target trajectory
- Parameters
-
localization | vehicle location |
chassis | vehicle status e.g., speed, acceleration |
trajectory | trajectory generated by planning |
cmd | control command |
- Returns
- Status computation status
Implements apollo::control::Controller.
◆ ComputeLongitudinalErrors()
void apollo::control::LonController::ComputeLongitudinalErrors |
( |
const TrajectoryAnalyzer * |
trajectory, |
|
|
const double |
preview_time, |
|
|
const double |
ts, |
|
|
SimpleLongitudinalDebug * |
debug |
|
) |
| |
|
protected |
◆ GetPathRemain()
void apollo::control::LonController::GetPathRemain |
( |
SimpleLongitudinalDebug * |
debug | ) |
|
|
protected |
◆ Init()
◆ Name()
std::string apollo::control::LonController::Name |
( |
| ) |
const |
|
overridevirtual |
◆ Reset()
◆ Stop()
void apollo::control::LonController::Stop |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: