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

Cannot subscribe to topics using rosbag play

asked 2012-12-11 00:33:28 -0500

amittleider gravatar image

I would like to subscribe to a message which is being played back from a bag file. Whenever I launch my node that listens to the topic, I get the following error:

Dec 11, 2012 6:27:57 AM org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught SEVERE: Channel exception: java.net.ConnectException: connection timed out

The rxgraph output shows my node, but it is in red. It shows the bagplay node and rosout normally. Can ROSJava not connect to the topics published from a bag file? What am I doing wrong here?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-01 09:23:30 -0500

damonkohler gravatar image

This is probably a problem with ROS_IP, ROS_MASTER_URI, or your NodeConfiguration. See:

http://www.ros.org/wiki/ROS/EnvironmentVariables http://docs.rosjava.googlecode.com/hg/rosjava_core/html/getting_started.html#executing-nodes

If this doesn't address your issue, please edit your post to explain how you configure and launch the node.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-11 00:33:28 -0500

Seen: 937 times

Last updated: Jan 01 '13