Apollo
6.0
Open source self driving car software
|
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. More...
#include <sim_control.h>
Public Member Functions | |
SimControl (const MapService *map_service) | |
Constructor of SimControl. More... | |
bool | IsEnabled () const |
void | Init (double start_velocity=0.0, double start_acceleration=0.0) override |
setup callbacks and timer More... | |
void | Start () override |
Starts the timer to publish simulated localization and chassis messages. More... | |
void | Stop () override |
Stops the timer. More... | |
void | Reset () override |
Resets the internal state. More... | |
void | RunOnce () override |
Main logic of the simulated control algorithm. More... | |
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.
|
explicit |
Constructor of SimControl.
map_service | the pointer of MapService. |
|
overridevirtual |
setup callbacks and timer
set_start_point | initialize localization. |
Implements apollo::dreamview::SimControlInterface.
|
inline |
|
overridevirtual |
Resets the internal state.
Implements apollo::dreamview::SimControlInterface.
|
overridevirtual |
Main logic of the simulated control algorithm.
Implements apollo::dreamview::SimControlInterface.
|
overridevirtual |
Starts the timer to publish simulated localization and chassis messages.
Implements apollo::dreamview::SimControlInterface.
|
overridevirtual |
Stops the timer.
Implements apollo::dreamview::SimControlInterface.