CARLA
Loading...
Searching...
No Matches
carla::traffic_manager::StateEntry Struct Reference

Structure to hold the controller state. More...

#include <DataStructures.h>

Public Attributes

float angular_deviation
float brake {0.0f}
float reference_velocity {0.0f}
 Zero is a safe initial value: the shaping raises it to the current speed.
float steer
float throttle {0.0f}
cc::Timestamp time_instance
float velocity_deviation

Detailed Description

Structure to hold the controller state.

Definition at line 68 of file DataStructures.h.

Member Data Documentation

◆ angular_deviation

float carla::traffic_manager::StateEntry::angular_deviation

Definition at line 70 of file DataStructures.h.

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

◆ brake

float carla::traffic_manager::StateEntry::brake {0.0f}

◆ reference_velocity

float carla::traffic_manager::StateEntry::reference_velocity {0.0f}

Zero is a safe initial value: the shaping raises it to the current speed.

Definition at line 76 of file DataStructures.h.

Referenced by TEST(), and carla::traffic_manager::MotionPlanStage::Update().

◆ steer

float carla::traffic_manager::StateEntry::steer

◆ throttle

float carla::traffic_manager::StateEntry::throttle {0.0f}

◆ time_instance

cc::Timestamp carla::traffic_manager::StateEntry::time_instance

Definition at line 69 of file DataStructures.h.

Referenced by carla::traffic_manager::MotionPlanStage::Update().

◆ velocity_deviation

float carla::traffic_manager::StateEntry::velocity_deviation

Definition at line 71 of file DataStructures.h.

Referenced by carla::traffic_manager::PID::RunStep(), and TEST().


The documentation for this struct was generated from the following file: