|
| template<typename NodeTypePointer > |
| | V2ITrafficLights (const NodeTypePointer &node_ptr, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils, const std::string &architecture_type) |
| |
| | ~V2ITrafficLights () override=default |
| |
| auto | setDetectedTrafficLights (std::shared_ptr< DetectedTrafficLights > detected) -> void |
| |
| auto | addTrafficLightsStatePrediction (const lanelet::Id lanelet_id, const std::string &state, double time_ahead_seconds) -> void |
| |
| auto | clearTrafficLightsStatePredictions () -> void |
| |
| template<typename NodeTypePointer > |
| | TrafficLightsBase (const NodeTypePointer &node_ptr, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils) |
| |
| virtual | ~TrafficLightsBase ()=default |
| |
| auto | startUpdate (const double update_rate) -> void |
| |
| auto | resetUpdate (const double update_rate) -> void |
| |
| auto | isAnyTrafficLightChanged () const -> bool |
| |
| auto | isRequiredStopTrafficLightState (const lanelet::Id traffic_light_id) -> bool |
| |
| auto | compareTrafficLightsState (const lanelet::Id lanelet_id, const std::string &state) -> bool |
| |
| auto | setTrafficLightsColor (const lanelet::Id lanelet_id, const traffic_simulator::TrafficLight::Color &color) -> void |
| |
| auto | setTrafficLightsState (const lanelet::Id lanelet_id, const std::string &state) -> void |
| |
| auto | clearTrafficLightsState (const lanelet::Id lanelet_id) -> void |
| |
| auto | addTrafficLightsState (const lanelet::Id lanelet_id, const std::string &state) -> void |
| |
| auto | setTrafficLightsConfidence (const lanelet::Id lanelet_id, const double confidence) -> void |
| |
| auto | getTrafficLightsComposedState (const lanelet::Id lanelet_id) -> std::string |
| |
| auto | getDistanceToActiveTrafficLightStopLine (const lanelet::Ids &route_lanelets, const math::geometry::CatmullRomSplineInterface &spline) -> std::optional< double > |
| |
| auto | generateUpdateTrafficLightsRequest () const -> simulation_api_schema::UpdateTrafficLightsRequest |
| |
| auto | getTrafficLight (const lanelet::Id traffic_light_id) -> TrafficLight & |
| |
| auto | registerStateChangeCallback (StateChangeCallback callback) -> void |
| |