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

RVIZ drops 100% of messages

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

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: http://10.0.26.191:11311

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

Comments

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: http://wiki.ros.org/ROS/NetworkSetup#...

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

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

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

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Stats

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

Seen: 602 times

Last updated: May 04 '16