Ask Your Question
1

running rosjava_tutorial_pubsub

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

chcorbato gravatar image

Hi,

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

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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 run.py <PACKAGE> <Node>

for example for the tutorial:

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

to run the talker,

and in another terminal:

# rosrun rosjava_bootstrap run.py 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

Stats

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

Seen: 156 times

Last updated: Sep 13 '11