Ask Your Question

running rosjava_tutorial_pubsub

asked 2011-09-11 23:19:53 -0600

chcorbato gravatar image


I have successfully built the tutorial, but I don't know how to get it running. I will be grateful for any help.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-13 02:32:00 -0600

chcorbato gravatar image

updated 2011-09-13 02:32:25 -0600

To run a rosjava node do:

# rosrun rosjava_bootstrap <PACKAGE> <Node>

for example for the tutorial:

# rosrun rosjava_bootstrap rosjava_tutorial_pubsub org.ros.tutorials.pubsub.Talker

to run the talker,

and in another terminal:

# rosrun rosjava_bootstrap rosjava_tutorial_pubsub org.ros.tutorials.pubsub.Listener

For me it only works once I've previously launched the ros Master, seems that it fails when launching it from the java Classes of the nodes

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


Asked: 2011-09-11 23:19:53 -0600

Seen: 161 times

Last updated: Sep 13 '11