15 namespace traffic_manager {
17 namespace chr = std::chrono;
19 using namespace constants::PID;
21 using TimeInstance = chr::time_point<chr::system_clock, chr::nanoseconds>;
29 const std::vector<float> &longitudinal_parameters,
30 const std::vector<float> &lateral_parameters) {
chr::time_point< chr::system_clock, chr::nanoseconds > TimeInstance
static const float MAX_STEERING
static const float INV_DT
This file contains definitions of common data structures used in traffic manager. ...
static const float MAX_BRAKE
static const float MAX_STEERING_DIFF
Structure to hold the actuation signals.
double min(double v1, double v2)
Structure to hold the controller state.
ActuationSignal RunStep(StateEntry present_state, StateEntry previous_state, const std::vector< float > &longitudinal_parameters, const std::vector< float > &lateral_parameters)
This function calculates the actuation signals based on the resent state change of the vehicle to min...
static const float MAX_THROTTLE