Ask Your Question
0

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: 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 imageWilliam ( 2016-05-03 15:24:44 -0600 )edit

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

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

1 Answer

Sort by ยป oldest newest most voted
1

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 304 times

Last updated: May 04 '16