running rosjava_tutorial_pubsub
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
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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
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
Asked: 2011-09-11 23:19:53 -0500
Seen: 353 times
Last updated: Sep 13 '11
How would I take multiple values from a subscriber to output to RosTextViews?
How to use an external library with a rosjava
problem creating rosjava packages using catkin_create_rosjava_pkg on indigo
Problem running lcp_proxy in nxt-lejos-pkg
error setting localhost on android