0
$\begingroup$

Rosanswers logo

I would like to create a .launch file to use the command:

roslaunch robot.launch

But, I don't know how to translate the following shell call into a .launchfile:

rosrun rosjava_bootstrap run.py bumperCar 
org.lejos.ros.nodes.bumpercar.BumperCarControl __name:=BumperCarControl

Any help?


Originally posted by Juan Antonio Breña Moral on ROS Answers with karma: 274 on 2012-01-07

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You'll want to add an extra args="" parameter to your <node> tag. For more information, take a look at the XML docs for <node>

EDIT: Try something like:

<node pkg="rosjava_bootstrap" type="run.py" args="bumperCar org.lejos.ros.nodes.bumpercar.BumperCarControl" name="BumperCarControl" />


Originally posted by ahendrix with karma: 47576 on 2012-01-07

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by amittleider on 2012-12-17:
I get the message "Can't locate 'run.py' in 'rosjava_bootstrap' ". I can launch it fine when I use ./build/install/bin/test theTest

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.