Rviz give a transform error when not "unreliable"
Hi,
I am working with ros2-dashing and I notice that when I don't check "unreliable" in rviz for a topic, rviz don't receive messages or raise the Could not transform from [odom] to [base_footprint]
error. If I check unreliable (which made rviz subscribe udp ) the messages are received normally.
I don't understand the error, because I using a simulate robot in gazebo, and I can't see why network parameters could affect local simulations. This happens with the odom topic (error transform from base_footprint to odom ), which is generated by the gazebo diff drive plugin and with the lasers topics (0 messages receive ) which are generated by libgazebo_ros_ray_sensor plugin.
Does anyone face the same problem or have ideas what can be the source ?
I don't know for sure, but I could imagine
reliable
is mapped onto DDS QoS parameters with the same name (and otherwise it will be best effort for instance). DDS publishers/subscribers with different QoS settings can't always connect, which could be the cause of what you report.See About Quality of Service settings - QoS compatibilities on the ROS Index for some more information.
this doesn't have anything to do with which network you are using or not (well, not directly anyway). If it is the QoS settings, it will happen even if no networking is used at all.