15 #ifndef TRAFFIC_SIMULATOR__TRAFFIC_LIGHTS__TRAFFIC_LIGHT_MARKER_PUBLISHER_HPP 
   16 #define TRAFFIC_SIMULATOR__TRAFFIC_LIGHTS__TRAFFIC_LIGHT_MARKER_PUBLISHER_HPP 
   18 #include <rclcpp/rclcpp.hpp> 
   26   template <
typename NodeTypePo
inter>
 
   28     const NodeTypePointer & node_ptr, 
const std::string & frame = 
"map")
 
   30     clock_ptr_(node_ptr->get_clock()),
 
   31     publisher_(rclcpp::create_publisher<visualization_msgs::msg::MarkerArray>(
 
   32       node_ptr, 
"traffic_light/marker", rclcpp::QoS(1).transient_local()))
 
   42   const 
std::
string frame_;
 
   43   const rclcpp::Clock::SharedPtr clock_ptr_;
 
   44   const rclcpp::Publisher<visualization_msgs::msg::MarkerArray>::SharedPtr publisher_;
 
Definition: traffic_light_marker_publisher.hpp:24
auto drawMarkers(const std::unordered_map< lanelet::Id, TrafficLight > &traffic_lights_map) const -> void
Definition: traffic_light_marker_publisher.cpp:29
auto deleteMarkers() const -> void
Definition: traffic_light_marker_publisher.cpp:20
TrafficLightMarkerPublisher(const NodeTypePointer &node_ptr, const std::string &frame="map")
Definition: traffic_light_marker_publisher.hpp:27
Definition: lanelet_wrapper.hpp:40
std::string string
Definition: junit5.hpp:26
Definition: traffic_light.hpp:42