Used to initialize Actor classes.
void SetGreenTime(float green_time)
void SetYellowTime(float yellow_time)
float GetElapsedTime() const
rpc::TrafficLightState GetState() const
Return the current state of the traffic light.
road::SignId GetOpenDRIVEID() const
std::vector< SharedPtr< TrafficLight > > GetGroupTrafficLights()
Return all traffic lights in the group this one belongs to.
void SetState(rpc::TrafficLightState state)
uint32_t GetPoleIndex()
Returns the index of the pole in the traffic light group
std::vector< geom::BoundingBox > GetLightBoxes() const
TrafficLight(ActorInitializer init)
std::vector< SharedPtr< Waypoint > > GetStopWaypoints() const
std::vector< SharedPtr< Waypoint > > GetAffectedLaneWaypoints() const
float GetGreenTime() const
void SetRedTime(float red_time)
float GetYellowTime() const
This file contains definitions of common data structures used in traffic manager.