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

Diagnostics not seen on local but seen on Robot (running ROS MASTER).

asked 2015-05-13 18:23:19 -0500

keshavi gravatar image

I am having problems with seeing published messages on the /diagnostics and /diagnostics_agg topics on my system. My system has a main robot that is running ROS MASTER and a laptop. I can ssh into the robot and can rostopic echo the topics the msgs. However, on my laptop side, a rostopic list shows the /diagnostics and /diagnostics_agg but with an echo, no messages are seen.

Other topics are viewable on my laptop side as well as on the robot. For example imu/data works for both robot and laptop. Therefore, the ROS_MASTER_URI and ROS_IP are set correctly. Only /diagnostics and /diagnostics_agg do not work.

Has anyone come across this issue?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-05-13 20:07:17 -0500

ahendrix gravatar image

I haven't seen anything like this before.

I would start by trying to identify the nodes that are publishing to the /diagnostics topic, and then I would look at the other topics they're publishing to see if any of those topics can be subscribed to from a remote machine.

I would also compare the node URI (reported as part of rosnode info) between a node that publishes topics that don't work, and a node that is working.

edit flag offensive delete link more

Comments

The imu actually also publishes to the /diagnostics topic using the diagnostic updater package as well as the imu/data topic. It looks like the only thing that isn't subscribed is the /diagnostics.

Checking rosnode info, it seems the node URI's are correct.

keshavi gravatar image keshavi  ( 2015-05-14 14:20:56 -0500 )edit

I've never seen a situation where I could subscribe to one topic from a node, but not another topic published by the same node. Are you certain that your diagnosis is correct, and that you can subscribe to IMU data from your laptop, but not diagnostics?

ahendrix gravatar image ahendrix  ( 2015-05-14 16:45:35 -0500 )edit

I have found out that my laptop and the robot are not running the same ros distro. It seems that the diagnostics package has been updated since hydro.

keshavi gravatar image keshavi  ( 2015-05-14 18:30:09 -0500 )edit
0

answered 2015-05-14 18:31:58 -0500

keshavi gravatar image

Different ROS distros between the robot and laptop. Make sure both your remote and local are running the same ROS distro.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2015-05-13 18:23:19 -0500

Seen: 257 times

Last updated: May 14 '15