swri-robotics / mapviz

Modular ROS visualization tool for 2D data.
BSD 3-Clause "New" or "Revised" License
395 stars 152 forks source link

QoS Settings Only Respect History and Depth #826

Closed DangitBen closed 2 months ago

DangitBen commented 2 months ago

The new topic QoS selector provides options for many QoS settings.

In (at least) the marker plugin, the subscribers created use rclcpp::QoSInitialization::from_rmw to construct a rclcpp::QoS. But that does not respect all of the members of the provided qos. https://github.com/swri-robotics/mapviz/blob/ros2-devel/mapviz_plugins/src/marker_plugin.cpp#L140 and https://github.com/swri-robotics/mapviz/blob/ros2-devel/mapviz_plugins/src/marker_plugin.cpp#L147

According the documentation and source of the rclcpp::QoSInitialization::from_rmw the returned QoS only uses the provided depth and history.