11 namespace traffic_manager {
36 void Update(
const unsigned long index)
override;
40 void Reset()
override;
std::vector< carla::rpc::Command > ControlFrame
const BufferMap & buffer_map
rpc::VehicleLightStateList all_light_states
All vehicle light states.
std::vector< std::pair< ActorId, VehicleLightState::flag_type > > VehicleLightStateList
This file contains definitions of common data structures used in traffic manager. ...
std::unordered_map< carla::ActorId, Buffer > BufferMap
const std::vector< ActorId > & vehicle_id_list
VehicleLightStage(const std::vector< ActorId > &vehicle_id_list, const BufferMap &buffer_map, const Parameters ¶meters, const cc::World &world, ControlFrame &control_frame)
void Update(const unsigned long index) override
const Parameters & parameters
ControlFrame & control_frame
rpc::WeatherParameters weather
Current weather parameters.
void RemoveActor(const ActorId actor_id) override
This class has functionality for turning on/off the vehicle lights according to the current vehicle s...