Running rosjava node from launchfile
Dear all,
I try to run my rosjava node from within a launchfile. My launchfile looks like this
<launch>
<master auto="start"/>
<node pkg="rosjava_cylinder_reasoner" type="rosjava_cylinder_reasoner" name="cylinder_reasoner" args="de.dfki.reasoner.Service"
respawn="false" output="screen"/>
The problem is that there are two generated wrapper scripts (generated from gradle) which execute the node, one is in build/install/... one is in build/scripts/. Per default roslaunch wants to execute the script in /scripts/ which results in an error because the relative path to lib (the classpath) is not set. The only solution I found so far is to delete the wrapper script from the /build/scripts/ directory. Is there any other solution to point roslaunch to the right wrapper script?