ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reading the Bouncy source, I see 2 problems:

  1. robot_state_publisher is publishing with RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL, while rviz2 is listening with the default (volatile). The connection will be made as volatile (https://github.com/ros2/ros2/wiki/About-Quality-of-Service-Settings), which means that the latched message is never received.

  2. robot_state_publisher is publishing the actual XML in a String, while rviz2 expects the String to contain a filepath to an urdf file. So, even if the message was received, it won't be interpreted correctly.

Clearly a bug (or 2) in rviz2, but I'm not sure about the design intent.