17 #ifndef TRAFFIC_SIMULATOR__LANELET_WRAPPER_TRAFFIC_LIGHTS_HPP_
18 #define TRAFFIC_SIMULATOR__LANELET_WRAPPER_TRAFFIC_LIGHTS_HPP_
20 #include <autoware_lanelet2_extension/utility/query.hpp>
25 namespace lanelet_wrapper
27 namespace traffic_lights
34 -> lanelet::TrafficLight::Ptr;
37 -> std::vector<lanelet::AutowareTrafficLightConstPtr>;
42 const lanelet::Id traffic_light_id,
const std::string &,
const bool allow_infer_position =
false)
43 -> std::optional<Point>;
48 -> std::vector<std::vector<Point>>;
55 -> std::vector<lanelet::AutowareTrafficLightConstPtr>;
auto trafficLightStopLineIds(const lanelet::Id traffic_light_id) -> lanelet::Ids
Definition: traffic_lights.cpp:165
auto autowareTrafficLightsOnPath(const lanelet::Ids &lanelet_ids) -> std::vector< lanelet::AutowareTrafficLightConstPtr >
Definition: traffic_lights.cpp:216
auto trafficLightIdsOnPath(const lanelet::Ids &route_lanelets) -> lanelet::Ids
Definition: traffic_lights.cpp:230
auto isTrafficLightRegulatoryElement(const lanelet::Id lanelet_id) -> bool
Definition: traffic_lights.cpp:34
auto toAutowareTrafficLights(const lanelet::Id traffic_light_id) -> std::vector< lanelet::AutowareTrafficLightConstPtr >
Definition: traffic_lights.cpp:70
auto isTrafficLight(const lanelet::Id lanelet_id) -> bool
Definition: traffic_lights.cpp:23
auto trafficLightStopLinesPoints(const lanelet::Id traffic_light_id) -> std::vector< std::vector< Point >>
Definition: traffic_lights.cpp:176
auto trafficLightBulbPosition(const lanelet::Id traffic_light_id, const std::string &, const bool allow_infer_position=false) -> std::optional< Point >
Definition: traffic_lights.cpp:100
auto trafficLightRegulatoryElementIDsFromTrafficLight(const lanelet::Id traffic_light_way_id) -> lanelet::Ids
Definition: traffic_lights.cpp:193
auto trafficLightIds() -> lanelet::Ids
Definition: traffic_lights.cpp:41
auto toTrafficLightRegulatoryElement(const lanelet::Id traffic_light_regulatory_element_id) -> lanelet::TrafficLight::Ptr
Definition: traffic_lights.cpp:58
std::string string
Definition: junit5.hpp:26