CARLA
Variables
carla::traffic_manager::constants::PID Namespace Reference

Variables

static const float DT = 0.05f
 
static const float INV_DT = 1.0f / DT
 
static const std::vector< float > LATERAL_HIGHWAY_PARAM = {2.0f, 0.02f, 0.04f}
 
static const std::vector< float > LATERAL_PARAM = {4.0f, 0.02f, 0.08f}
 
static const std::vector< float > LONGITUDIAL_HIGHWAY_PARAM = {20.0f, 0.05f, 0.01f}
 
static const std::vector< float > LONGITUDIAL_PARAM = {12.0f, 0.05f, 0.02f}
 
static const float MAX_BRAKE = 0.7f
 
static const float MAX_STEERING = 0.8f
 
static const float MAX_STEERING_DIFF = 0.15f
 
static const float MAX_THROTTLE = 0.85f
 

Variable Documentation

◆ DT

const float carla::traffic_manager::constants::PID::DT = 0.05f
static

Definition at line 150 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().

◆ INV_DT

const float carla::traffic_manager::constants::PID::INV_DT = 1.0f / DT
static

Definition at line 151 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().

◆ LATERAL_HIGHWAY_PARAM

const std::vector<float> carla::traffic_manager::constants::PID::LATERAL_HIGHWAY_PARAM = {2.0f, 0.02f, 0.04f}
static

◆ LATERAL_PARAM

const std::vector<float> carla::traffic_manager::constants::PID::LATERAL_PARAM = {4.0f, 0.02f, 0.08f}
static

◆ LONGITUDIAL_HIGHWAY_PARAM

const std::vector<float> carla::traffic_manager::constants::PID::LONGITUDIAL_HIGHWAY_PARAM = {20.0f, 0.05f, 0.01f}
static

◆ LONGITUDIAL_PARAM

const std::vector<float> carla::traffic_manager::constants::PID::LONGITUDIAL_PARAM = {12.0f, 0.05f, 0.02f}
static

◆ MAX_BRAKE

const float carla::traffic_manager::constants::PID::MAX_BRAKE = 0.7f
static

Definition at line 147 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().

◆ MAX_STEERING

const float carla::traffic_manager::constants::PID::MAX_STEERING = 0.8f
static

Definition at line 148 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().

◆ MAX_STEERING_DIFF

const float carla::traffic_manager::constants::PID::MAX_STEERING_DIFF = 0.15f
static

Definition at line 149 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().

◆ MAX_THROTTLE

const float carla::traffic_manager::constants::PID::MAX_THROTTLE = 0.85f
static

Definition at line 146 of file Constants.h.

Referenced by carla::traffic_manager::PID::RunStep().