Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem sending a string to the sample

Dear all,

I am playing around with the rosjava tutorial. When running the Listener node together with the talker node it works fine and the Hello world is printed out. But if I run

rostopic pub /chatter std_msgs/String "Hello"

It will not work anymore. The listener throws the following exceptions:

01.02.2012 14:52:15 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: java.lang.RuntimeException: java.net.ConnectException: Connection refused
01.02.2012 14:52:17 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: org.ros.exception.RosRuntimeException: Connection exception:   eich-ThinkPad/192.168.103.42:39099
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host

Rosjava: Problem sending a string to the sample

Dear all,

I am playing around with the rosjava tutorial. When running the Listener node together with the talker node it works fine and the Hello world is printed out. But if I run

rostopic pub /chatter std_msgs/String "Hello"

It will not work anymore. The listener throws the following exceptions:

01.02.2012 14:52:15 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: java.lang.RuntimeException: java.net.ConnectException: Connection refused
01.02.2012 14:52:17 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: org.ros.exception.RosRuntimeException: Connection exception:   eich-ThinkPad/192.168.103.42:39099
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host

Rosjava: Problem sending a string to the sample

Dear all,

I am playing around with the rosjava tutorial. When running the Listener node together with the talker node it works fine and the Hello world is printed out. But if I run

rostopic pub /chatter std_msgs/String "Hello"

It will not work anymore. The listener throws the following exceptions:

01.02.2012 14:52:15 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: java.lang.RuntimeException: java.net.ConnectException: Connection refused
01.02.2012 14:52:17 org.ros.internal.node.topic.UpdatePublisherRunnable run
SCHWERWIEGEND: org.ros.exception.RosRuntimeException: Connection exception:   eich-ThinkPad/192.168.103.42:39099
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host
01.02.2012 14:52:17 org.ros.internal.transport.ConnectionTrackingHandler exceptionCaught
SCHWERWIEGEND: Channel exception: java.net.NoRouteToHostException: No route to host