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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 538 times

Last updated: Jan 01 '13