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