Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
carma_wm_ctrl::WMBroadcasterNode Class Reference

Node which provies exposes map publication and carma_wm update logic. More...

#include <WMBroadcasterNode.hpp>

Inheritance diagram for carma_wm_ctrl::WMBroadcasterNode:
Inheritance graph
Collaboration diagram for carma_wm_ctrl::WMBroadcasterNode:
Collaboration graph

Public Member Functions

 WMBroadcasterNode (const rclcpp::NodeOptions &options)
 Constructor. More...
 
carma_ros2_utils::CallbackReturn handle_on_configure (const rclcpp_lifecycle::State &)
 
carma_ros2_utils::CallbackReturn handle_on_activate (const rclcpp_lifecycle::State &)
 
void publishMap (const autoware_lanelet2_msgs::msg::MapBin &map_msg)
 Callback to publish a map. More...
 
void initializeWorker (std::weak_ptr< carma_ros2_utils::CarmaLifecycleNode > weak_node_pointer)
 Initializes the WMBroadcaster worker with reference to the CarmaLifecycleNode itself. More...
 
void publishCtrlReq (const carma_v2x_msgs::msg::TrafficControlRequest &ctrlreq_msg) const
 Callback to publish TrafficControlRequest Messages. More...
 
void publishMapUpdate (const autoware_lanelet2_msgs::msg::MapBin &geofence_msg) const
 Callback to publish map updates (geofences) More...
 
void publishActiveGeofence (const carma_perception_msgs::msg::CheckActiveGeofence &active_geof_msg)
 Callback to publish active geofence information. More...
 
void publishTCMACK (const carma_v2x_msgs::msg::MobilityOperation &mom_msg)
 Callback to publish traffic control acknowledgement information. More...
 

Private Member Functions

bool spin_callback ()
 Spin callback, which will be called frequently based on the configured spin rate. More...
 

Private Attributes

Config config_
 
carma_ros2_utils::PubPtr< autoware_lanelet2_msgs::msg::MapBin > map_pub_
 
carma_ros2_utils::PubPtr< autoware_lanelet2_msgs::msg::MapBin > map_update_pub_
 
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::TrafficControlRequest > control_msg_pub_
 
carma_ros2_utils::PubPtr< visualization_msgs::msg::MarkerArray > tcm_visualizer_pub_
 
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::TrafficControlRequestPolygon > tcr_visualizer_pub_
 
carma_ros2_utils::PubPtr< std_msgs::msg::Int32MultiArray > upcoming_intersection_ids_pub_
 
carma_ros2_utils::PubPtr< carma_perception_msgs::msg::CheckActiveGeofence > active_pub_
 
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::MobilityOperation > tcm_ack_pub_
 
carma_ros2_utils::SubPtr< autoware_lanelet2_msgs::msg::MapBin > base_map_sub_
 
carma_ros2_utils::SubPtr< carma_planning_msgs::msg::Route > route_callmsg_sub_
 
carma_ros2_utils::SubPtr< std_msgs::msg::String > georef_sub_
 
carma_ros2_utils::SubPtr< carma_v2x_msgs::msg::TrafficControlMessage > geofence_sub_
 
carma_ros2_utils::SubPtr< carma_v2x_msgs::msg::MapData > incoming_map_sub_
 
carma_ros2_utils::SubPtr< geometry_msgs::msg::PoseStamped > curr_location_sub_
 
rclcpp::TimerBase::SharedPtr timer_
 
std::shared_ptr< carma_ros2_utils::CarmaLifecycleNode > ptr_
 
std::unique_ptr< carma_wm_ctrl::WMBroadcasterwmb_
 

Detailed Description

Node which provies exposes map publication and carma_wm update logic.

The WMBroadcasterNode handles updating the lanelet2 base map and publishing the new versions to the rest of the CARMA Platform ROS network. The broadcaster also provides functions for adding or removing geofences from the map and notifying the rest of the system.

Definition at line 45 of file WMBroadcasterNode.hpp.

Constructor & Destructor Documentation

◆ WMBroadcasterNode()

carma_wm_ctrl::WMBroadcasterNode::WMBroadcasterNode ( const rclcpp::NodeOptions &  options)
explicit

Constructor.

Definition at line 52 of file WMBroadcasterNode.cpp.

53 : carma_ros2_utils::CarmaLifecycleNode(options)
54{
55 // Create initial config
56 config_ = Config();
57
58 config_.ack_pub_times = declare_parameter<int>("ack_pub_times", config_.ack_pub_times);
59 config_.max_lane_width = declare_parameter<double>("max_lane_width", config_.max_lane_width);
60 config_.traffic_control_request_period = declare_parameter<double>("traffic_control_request_period", config_.traffic_control_request_period);
61 config_.vehicle_id = declare_parameter<std::string>("vehicle_id", config_.vehicle_id);
62 config_.participant = declare_parameter<std::string>("vehicle_participant_type", config_.participant);
63 config_.participant = declare_parameter<double>("config_speed_limit", config_.config_limit);
64
65 declare_parameter("intersection_ids_for_correction");
66 declare_parameter("intersection_coord_correction");
67};

References carma_wm_ctrl::Config::ack_pub_times, config_, carma_wm_ctrl::Config::config_limit, carma_wm_ctrl::Config::max_lane_width, carma_wm_ctrl::Config::participant, carma_wm_ctrl::Config::traffic_control_request_period, and carma_wm_ctrl::Config::vehicle_id.

Member Function Documentation

◆ handle_on_activate()

carma_ros2_utils::CallbackReturn carma_wm_ctrl::WMBroadcasterNode::handle_on_activate ( const rclcpp_lifecycle::State &  prev_state)

Definition at line 153 of file WMBroadcasterNode.cpp.

154{
155 // Timer setup
156 timer_ = create_timer(get_clock(),
157 std::chrono::milliseconds((int)(config_.traffic_control_request_period * 1000)),
158 std::bind(&WMBroadcasterNode::spin_callback, this));
159
161 //SUBSCRIBERS
163
164 // Base Map Sub
165 base_map_sub_ = create_subscription<autoware_lanelet2_msgs::msg::MapBin>("base_map", 1, std::bind(&WMBroadcaster::baseMapCallback, wmb_.get(), std_ph::_1));
166
167 // Base Map Georeference Sub
168 georef_sub_ = create_subscription<std_msgs::msg::String>("georeference", 1, std::bind(&WMBroadcaster::geoReferenceCallback, wmb_.get(), std_ph::_1));
169
170 // Geofence Sub
171 rclcpp::SubscriptionOptions geofence_sub_options;
172 // NOTE: Currently, intra-process comms must be disabled for subscribers that are transient_local: https://github.com/ros2/rclcpp/issues/1753
173 geofence_sub_options.use_intra_process_comm = rclcpp::IntraProcessSetting::Disable;
174 auto sub_qos_transient_local = rclcpp::QoS(rclcpp::KeepAll());
175 sub_qos_transient_local.transient_local();
176 geofence_sub_ = create_subscription<carma_v2x_msgs::msg::TrafficControlMessage>("geofence", sub_qos_transient_local, std::bind(&WMBroadcaster::geofenceCallback, wmb_.get(), std_ph::_1), geofence_sub_options);
177
178 // External Map Msg Sub
179 incoming_map_sub_ = create_subscription<carma_v2x_msgs::msg::MapData>("incoming_map", 20, std::bind(&WMBroadcaster::externalMapMsgCallback, wmb_.get(), std_ph::_1));
180
181 //Route Message Sub
182 route_callmsg_sub_ = create_subscription<carma_planning_msgs::msg::Route>("route", 1, std::bind(&WMBroadcaster::routeCallbackMessage, wmb_.get(), std_ph::_1));
183
184 //Current Location Sub
185 curr_location_sub_ = create_subscription<geometry_msgs::msg::PoseStamped>("current_pose", 1, std::bind(&WMBroadcaster::currentLocationCallback, wmb_.get(), std_ph::_1));
186
187
188 return CallbackReturn::SUCCESS;
189}
carma_ros2_utils::SubPtr< geometry_msgs::msg::PoseStamped > curr_location_sub_
carma_ros2_utils::SubPtr< std_msgs::msg::String > georef_sub_
carma_ros2_utils::SubPtr< carma_v2x_msgs::msg::MapData > incoming_map_sub_
carma_ros2_utils::SubPtr< carma_v2x_msgs::msg::TrafficControlMessage > geofence_sub_
rclcpp::TimerBase::SharedPtr timer_
carma_ros2_utils::SubPtr< carma_planning_msgs::msg::Route > route_callmsg_sub_
bool spin_callback()
Spin callback, which will be called frequently based on the configured spin rate.
std::unique_ptr< carma_wm_ctrl::WMBroadcaster > wmb_
carma_ros2_utils::SubPtr< autoware_lanelet2_msgs::msg::MapBin > base_map_sub_
void baseMapCallback(autoware_lanelet2_msgs::msg::MapBin::UniquePtr map_msg)
Callback to set the base map when it has been loaded.
void geofenceCallback(carma_v2x_msgs::msg::TrafficControlMessage::UniquePtr geofence_msg)
Callback to add a geofence to the map. Currently only supports version 1 TrafficControlMessage.
void currentLocationCallback(geometry_msgs::msg::PoseStamped::UniquePtr current_pos)
void routeCallbackMessage(carma_planning_msgs::msg::Route::UniquePtr route_msg)
Calls controlRequestFromRoute() and publishes the TrafficControlRequest Message returned after the co...
void externalMapMsgCallback(carma_v2x_msgs::msg::MapData::UniquePtr map_msg)
Callback to MAP.msg which contains intersections' static info such geometry and lane ids.
void geoReferenceCallback(std_msgs::msg::String::UniquePtr geo_ref)
Callback to set the base map georeference (proj string)

References base_map_sub_, carma_wm_ctrl::WMBroadcaster::baseMapCallback(), config_, curr_location_sub_, carma_wm_ctrl::WMBroadcaster::currentLocationCallback(), carma_wm_ctrl::WMBroadcaster::externalMapMsgCallback(), geofence_sub_, carma_wm_ctrl::WMBroadcaster::geofenceCallback(), georef_sub_, carma_wm_ctrl::WMBroadcaster::geoReferenceCallback(), incoming_map_sub_, route_callmsg_sub_, carma_wm_ctrl::WMBroadcaster::routeCallbackMessage(), spin_callback(), timer_, carma_wm_ctrl::Config::traffic_control_request_period, and wmb_.

Here is the call graph for this function:

◆ handle_on_configure()

carma_ros2_utils::CallbackReturn carma_wm_ctrl::WMBroadcasterNode::handle_on_configure ( const rclcpp_lifecycle::State &  )

Definition at line 77 of file WMBroadcasterNode.cpp.

78{
79 RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Starting configuration!");
80
81 // Reset config
82 config_ = Config();
83
84 initializeWorker(shared_from_this());
85
86 RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Done initializing worker!");
87
88 get_parameter<int>("ack_pub_times", config_.ack_pub_times);
89 get_parameter<double>("max_lane_width", config_.max_lane_width);
90 get_parameter<double>("traffic_control_request_period", config_.traffic_control_request_period);
91 get_parameter<std::string>("vehicle_id", config_.vehicle_id);
92 get_parameter<std::string>("vehicle_participant_type", config_.participant);
93 get_parameter<double>("config_speed_limit", config_.config_limit);
94
95 wmb_->setConfigACKPubTimes(config_.ack_pub_times);
96 wmb_->setMaxLaneWidth(config_.max_lane_width);
97 wmb_->setConfigSpeedLimit(config_.config_limit);
98 wmb_->setConfigVehicleId(config_.vehicle_id);
99 wmb_->setVehicleParticipationType(config_.participant);
100
101 rclcpp::Parameter intersection_coord_correction_param = get_parameter("intersection_coord_correction");
102 config_.intersection_coord_correction = intersection_coord_correction_param.as_double_array();
103
104 rclcpp::Parameter intersection_ids_for_correction_param = get_parameter("intersection_ids_for_correction");
105 config_.intersection_ids_for_correction = intersection_ids_for_correction_param.as_integer_array();
106
108
109 RCLCPP_INFO_STREAM(rclcpp::get_logger("carma_mw_ctrl"),"Done loading parameters: " << config_);
110
112 // PUBLISHERS
114
115 // NOTE: Currently, intra-process comms must be disabled for the following two publishers that are transient_local: https://github.com/ros2/rclcpp/issues/1753
116 rclcpp::PublisherOptions intra_proc_disabled;
117 intra_proc_disabled.use_intra_process_comm = rclcpp::IntraProcessSetting::Disable; // Disable intra-process comms for this PublisherOptions object
118
119 // Create a publisher that will send all previously published messages to late-joining subscribers ONLY If the subscriber is transient_local too
120 auto pub_qos_transient_local = rclcpp::QoS(rclcpp::KeepAll()); // A publisher with this QoS will store all messages that it has sent on the topic
121 pub_qos_transient_local.transient_local(); // A publisher with this QoS will re-send all (when KeepAll is used) messages to all late-joining subscribers
122 // NOTE: The subscriber's QoS must be set to transient_local() as well for earlier messages to be resent to the later-joiner.
123
124 // Map Update Publisher
125 map_update_pub_ = create_publisher<autoware_lanelet2_msgs::msg::MapBin>("map_update", pub_qos_transient_local, intra_proc_disabled);
126
127 // Map Publisher
128 map_pub_ = create_publisher<autoware_lanelet2_msgs::msg::MapBin>("semantic_map", pub_qos_transient_local, intra_proc_disabled);
129
130 //Route Message Publisher
131 control_msg_pub_= create_publisher<carma_v2x_msgs::msg::TrafficControlRequest>("outgoing_geofence_request", 1);
132
133 //Check Active Geofence Publisher
134 active_pub_ = create_publisher<carma_perception_msgs::msg::CheckActiveGeofence>("active_geofence", 200);
135
136 //publish TCM acknowledgement after processing TCM
137 tcm_ack_pub_ = create_publisher<carma_v2x_msgs::msg::MobilityOperation>("outgoing_geofence_ack", 2 * config_.ack_pub_times );
138
139 //TCM Visualizer pub
140 tcm_visualizer_pub_= create_publisher<visualization_msgs::msg::MarkerArray>("tcm_visualizer",1);
141
142 //TCR Visualizer pub (visualized on UI)
143 tcr_visualizer_pub_ = create_publisher<carma_v2x_msgs::msg::TrafficControlRequestPolygon>("tcr_bounding_points",1);
144
145 //Upcoming intersection and group id of traffic light
146 upcoming_intersection_ids_pub_ = create_publisher<std_msgs::msg::Int32MultiArray>("intersection_signal_group_ids", 1);
147
148 // Return success if everything initialized successfully
149
150 return CallbackReturn::SUCCESS;
151}
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::TrafficControlRequest > control_msg_pub_
carma_ros2_utils::PubPtr< carma_perception_msgs::msg::CheckActiveGeofence > active_pub_
carma_ros2_utils::PubPtr< autoware_lanelet2_msgs::msg::MapBin > map_pub_
carma_ros2_utils::PubPtr< autoware_lanelet2_msgs::msg::MapBin > map_update_pub_
carma_ros2_utils::PubPtr< visualization_msgs::msg::MarkerArray > tcm_visualizer_pub_
void initializeWorker(std::weak_ptr< carma_ros2_utils::CarmaLifecycleNode > weak_node_pointer)
Initializes the WMBroadcaster worker with reference to the CarmaLifecycleNode itself.
carma_ros2_utils::PubPtr< std_msgs::msg::Int32MultiArray > upcoming_intersection_ids_pub_
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::TrafficControlRequestPolygon > tcr_visualizer_pub_
carma_ros2_utils::PubPtr< carma_v2x_msgs::msg::MobilityOperation > tcm_ack_pub_
std::vector< double > intersection_coord_correction
std::vector< int64_t > intersection_ids_for_correction

References carma_wm_ctrl::Config::ack_pub_times, active_pub_, config_, carma_wm_ctrl::Config::config_limit, control_msg_pub_, initializeWorker(), carma_wm_ctrl::Config::intersection_coord_correction, carma_wm_ctrl::Config::intersection_ids_for_correction, map_pub_, map_update_pub_, carma_wm_ctrl::Config::max_lane_width, carma_wm_ctrl::Config::participant, tcm_ack_pub_, tcm_visualizer_pub_, tcr_visualizer_pub_, carma_wm_ctrl::Config::traffic_control_request_period, upcoming_intersection_ids_pub_, carma_wm_ctrl::Config::vehicle_id, and wmb_.

Here is the call graph for this function:

◆ initializeWorker()

void carma_wm_ctrl::WMBroadcasterNode::initializeWorker ( std::weak_ptr< carma_ros2_utils::CarmaLifecycleNode >  weak_node_pointer)

Initializes the WMBroadcaster worker with reference to the CarmaLifecycleNode itself.

Parameters
weak_ptrto the node of type CarmaLifecycleNode that owns this worker

Definition at line 69 of file WMBroadcasterNode.cpp.

70{
71 wmb_ = std::make_unique<carma_wm_ctrl::WMBroadcaster>(std::bind(&WMBroadcasterNode::publishMap, this, std_ph::_1), std::bind(&WMBroadcasterNode::publishMapUpdate, this, std_ph::_1),
72 std::bind(&WMBroadcasterNode::publishCtrlReq, this, std_ph::_1), std::bind(&WMBroadcasterNode::publishActiveGeofence, this, std_ph::_1),
73 std::make_unique<carma_ros2_utils::timers::ROSTimerFactory>(weak_node_pointer),
74 std::bind(&WMBroadcasterNode::publishTCMACK, this, std_ph::_1));
75}
void publishCtrlReq(const carma_v2x_msgs::msg::TrafficControlRequest &ctrlreq_msg) const
Callback to publish TrafficControlRequest Messages.
void publishTCMACK(const carma_v2x_msgs::msg::MobilityOperation &mom_msg)
Callback to publish traffic control acknowledgement information.
void publishMap(const autoware_lanelet2_msgs::msg::MapBin &map_msg)
Callback to publish a map.
void publishMapUpdate(const autoware_lanelet2_msgs::msg::MapBin &geofence_msg) const
Callback to publish map updates (geofences)
void publishActiveGeofence(const carma_perception_msgs::msg::CheckActiveGeofence &active_geof_msg)
Callback to publish active geofence information.

References publishActiveGeofence(), publishCtrlReq(), publishMap(), publishMapUpdate(), publishTCMACK(), and wmb_.

Referenced by handle_on_configure().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publishActiveGeofence()

void carma_wm_ctrl::WMBroadcasterNode::publishActiveGeofence ( const carma_perception_msgs::msg::CheckActiveGeofence &  active_geof_msg)

Callback to publish active geofence information.

Parameters
active_geof_msgThe geofence information to publish

Definition at line 42 of file WMBroadcasterNode.cpp.

43{
44 active_pub_->publish(active_geof_msg);
45}

References active_pub_.

Referenced by initializeWorker().

Here is the caller graph for this function:

◆ publishCtrlReq()

void carma_wm_ctrl::WMBroadcasterNode::publishCtrlReq ( const carma_v2x_msgs::msg::TrafficControlRequest &  ctrlreq_msg) const

Callback to publish TrafficControlRequest Messages.

Parameters
route_msgThe TrafficControlRequest message to publish

Definition at line 37 of file WMBroadcasterNode.cpp.

38{
39 control_msg_pub_->publish(ctrlreq_msg);
40}

References control_msg_pub_.

Referenced by initializeWorker().

Here is the caller graph for this function:

◆ publishMap()

void carma_wm_ctrl::WMBroadcasterNode::publishMap ( const autoware_lanelet2_msgs::msg::MapBin &  map_msg)

Callback to publish a map.

Parameters
map_msgThe map message to publish

Definition at line 27 of file WMBroadcasterNode.cpp.

28{
29 map_pub_->publish(map_msg);
30}

References map_pub_.

Referenced by initializeWorker().

Here is the caller graph for this function:

◆ publishMapUpdate()

void carma_wm_ctrl::WMBroadcasterNode::publishMapUpdate ( const autoware_lanelet2_msgs::msg::MapBin &  geofence_msg) const

Callback to publish map updates (geofences)

Parameters
geofence_msgThe geofence message to publish

Definition at line 32 of file WMBroadcasterNode.cpp.

33{
34 map_update_pub_->publish(geofence_msg);
35}

References map_update_pub_.

Referenced by initializeWorker().

Here is the caller graph for this function:

◆ publishTCMACK()

void carma_wm_ctrl::WMBroadcasterNode::publishTCMACK ( const carma_v2x_msgs::msg::MobilityOperation &  mom_msg)

Callback to publish traffic control acknowledgement information.

Parameters
mom_msgThe acknowledgement information to publish

Definition at line 47 of file WMBroadcasterNode.cpp.

48{
49 tcm_ack_pub_->publish(mom_msg);
50}

References tcm_ack_pub_.

Referenced by initializeWorker().

Here is the caller graph for this function:

◆ spin_callback()

bool carma_wm_ctrl::WMBroadcasterNode::spin_callback ( )
private

Spin callback, which will be called frequently based on the configured spin rate.

Definition at line 191 of file WMBroadcasterNode.cpp.

192{
193 tcm_visualizer_pub_->publish(wmb_->tcm_marker_array_);
194 tcr_visualizer_pub_->publish(wmb_->tcr_polygon_);
195 wmb_->publishLightId();
196 //updating upcoming traffic signal group id and intersection id
197 wmb_->updateUpcomingSGIntersectionIds();
198 if (wmb_->upcoming_intersection_ids_.data.size() > 0)
199 upcoming_intersection_ids_pub_->publish(wmb_->upcoming_intersection_ids_);
200 if(wmb_->getRoute().route_path_lanelet_ids.size() > 0)
201 wmb_->routeCallbackMessage(std::make_unique<carma_planning_msgs::msg::Route>(wmb_->getRoute()));
202
203 return true;
204}

References tcm_visualizer_pub_, tcr_visualizer_pub_, upcoming_intersection_ids_pub_, and wmb_.

Referenced by handle_on_activate().

Here is the caller graph for this function:

Member Data Documentation

◆ active_pub_

carma_ros2_utils::PubPtr<carma_perception_msgs::msg::CheckActiveGeofence> carma_wm_ctrl::WMBroadcasterNode::active_pub_
private

Definition at line 117 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and publishActiveGeofence().

◆ base_map_sub_

carma_ros2_utils::SubPtr<autoware_lanelet2_msgs::msg::MapBin> carma_wm_ctrl::WMBroadcasterNode::base_map_sub_
private

Definition at line 120 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ config_

Config carma_wm_ctrl::WMBroadcasterNode::config_
private

◆ control_msg_pub_

carma_ros2_utils::PubPtr<carma_v2x_msgs::msg::TrafficControlRequest> carma_wm_ctrl::WMBroadcasterNode::control_msg_pub_
private

Definition at line 113 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and publishCtrlReq().

◆ curr_location_sub_

carma_ros2_utils::SubPtr<geometry_msgs::msg::PoseStamped> carma_wm_ctrl::WMBroadcasterNode::curr_location_sub_
private

Definition at line 125 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ geofence_sub_

carma_ros2_utils::SubPtr<carma_v2x_msgs::msg::TrafficControlMessage> carma_wm_ctrl::WMBroadcasterNode::geofence_sub_
private

Definition at line 123 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ georef_sub_

carma_ros2_utils::SubPtr<std_msgs::msg::String> carma_wm_ctrl::WMBroadcasterNode::georef_sub_
private

Definition at line 122 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ incoming_map_sub_

carma_ros2_utils::SubPtr<carma_v2x_msgs::msg::MapData> carma_wm_ctrl::WMBroadcasterNode::incoming_map_sub_
private

Definition at line 124 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ map_pub_

carma_ros2_utils::PubPtr<autoware_lanelet2_msgs::msg::MapBin> carma_wm_ctrl::WMBroadcasterNode::map_pub_
private

Definition at line 111 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and publishMap().

◆ map_update_pub_

carma_ros2_utils::PubPtr<autoware_lanelet2_msgs::msg::MapBin> carma_wm_ctrl::WMBroadcasterNode::map_update_pub_
private

Definition at line 112 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and publishMapUpdate().

◆ ptr_

std::shared_ptr<carma_ros2_utils::CarmaLifecycleNode> carma_wm_ctrl::WMBroadcasterNode::ptr_
private

Definition at line 130 of file WMBroadcasterNode.hpp.

◆ route_callmsg_sub_

carma_ros2_utils::SubPtr<carma_planning_msgs::msg::Route> carma_wm_ctrl::WMBroadcasterNode::route_callmsg_sub_
private

Definition at line 121 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ tcm_ack_pub_

carma_ros2_utils::PubPtr<carma_v2x_msgs::msg::MobilityOperation> carma_wm_ctrl::WMBroadcasterNode::tcm_ack_pub_
private

Definition at line 118 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and publishTCMACK().

◆ tcm_visualizer_pub_

carma_ros2_utils::PubPtr<visualization_msgs::msg::MarkerArray> carma_wm_ctrl::WMBroadcasterNode::tcm_visualizer_pub_
private

Definition at line 114 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and spin_callback().

◆ tcr_visualizer_pub_

carma_ros2_utils::PubPtr<carma_v2x_msgs::msg::TrafficControlRequestPolygon> carma_wm_ctrl::WMBroadcasterNode::tcr_visualizer_pub_
private

Definition at line 115 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and spin_callback().

◆ timer_

rclcpp::TimerBase::SharedPtr carma_wm_ctrl::WMBroadcasterNode::timer_
private

Definition at line 128 of file WMBroadcasterNode.hpp.

Referenced by handle_on_activate().

◆ upcoming_intersection_ids_pub_

carma_ros2_utils::PubPtr<std_msgs::msg::Int32MultiArray> carma_wm_ctrl::WMBroadcasterNode::upcoming_intersection_ids_pub_
private

Definition at line 116 of file WMBroadcasterNode.hpp.

Referenced by handle_on_configure(), and spin_callback().

◆ wmb_

std::unique_ptr<carma_wm_ctrl::WMBroadcaster> carma_wm_ctrl::WMBroadcasterNode::wmb_
private

The documentation for this class was generated from the following files: