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

RVIZ drops 100% of messages

asked 2016-05-03 14:49:17 -0600

halfpotato gravatar image

rviz has been dropping 100% of broadcasted messages despite finding the published nodes and subscribing to them. It has something to do with my ROS_IP and ROS_MASTER_URI because it works fine when ROS_MASTER_URI is not set.

Here is an example situation to reproduce my error:

In three terminals do:

export ROS_IP=<my ip="">

export ROS_MASTER_URI=http://${ROS_IP}:11311 // this works, it looks like:

then in one terminal run roscore, in another launch a camera node, and in the last run rviz.

Despite the fact that I can use image_view to see the images from the camera node, rviz can't receive any of the messages.

I am trying to broadcast messages across a network and visualize them with rviz, which is why I have this setup.

edit retag flag offensive close merge delete


This sounds like a networking issue. I'd recommend just using rostopic echo (rather than rviz) to simplify things. I'd also recommend trying to use netcat to test your network settings:

William gravatar image William  ( 2016-05-03 15:24:44 -0600 )edit

The thing is, image_view can receive the images while rviz cannot.

halfpotato gravatar image halfpotato  ( 2016-05-03 20:36:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-04 05:54:42 -0600

IvanV gravatar image

Rviz dropping messages is frequently related with problems on the timestamps of the messages. Please check how these timestaps are being published in both the image topic and in the camera_info topics.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-03 14:49:17 -0600

Seen: 596 times

Last updated: May 04 '16