ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Two ways that I can think of, though I haven't really tried this out much myself, so let me know how they go.
You can create shell scripts to executable jars that can then be used in roslaunch. Damon does this with his test scripts in rosjava_core. e.g.
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
Alternatively, you should be able to put those installApp scripts directly into a roslaunch:
<node pkg="my_pub_sub_tutorial" type="" name="my_pub_sub_tutorial " args="com.github.rosjava_catkin_package_a.my_pub_sub_tutorial.Talker"/>
2 | No.2 Revision |
Two ways that I can think of, though I haven't really tried this out much myself, so let me know how they go.
You can create shell scripts to executable jars that can then be used in roslaunch. Damon does this with his test scripts in rosjava_core. e.g.
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
Alternatively, you should be able to put those installApp scripts directly into a roslaunch:
<node pkg="my_pub_sub_tutorial" type="" name="my_pub_sub_tutorial " type="my_pub_sub_tutorial" name="my_pub_sub_tutorial" args="com.github.rosjava_catkin_package_a.my_pub_sub_tutorial.Talker"/>
3 | No.3 Revision |
Two ways that I can think of, though I haven't really tried this out much myself, so let me know how they go.
You can create shell scripts to executable jars that can then be used in roslaunch. Damon does this with his test scripts in rosjava_core. e.g.
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
Alternatively, you should be able to put those installApp scripts directly into a roslaunch:roslaunch (is this how you were trying?):
<node pkg="my_pub_sub_tutorial" type="my_pub_sub_tutorial" name="my_pub_sub_tutorial" args="com.github.rosjava_catkin_package_a.my_pub_sub_tutorial.Talker"/>