CARLA
Namespaces | Functions
PIDController.h File Reference
#include <algorithm>
#include "carla/trafficmanager/Constants.h"
#include "carla/trafficmanager/DataStructures.h"
+ Include dependency graph for PIDController.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carla
 This file contains definitions of common data structures used in traffic manager.
 
 carla::traffic_manager
 
 carla::traffic_manager::PID
 

Functions

ActuationSignal carla::traffic_manager::PID::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 minimize PID error. More...
 
StateEntry carla::traffic_manager::PID::StateUpdate (StateEntry previous_state, float current_velocity, float target_velocity, float angular_deviation, cc::Timestamp current_time)
 This function calculates the present state of the vehicle including the accumulated integral component of the PID system. More...