ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Also, I think this would be a similar question. json_prolog requires JAVA_HOME environment and rosjava package provides nice script(find-javahome.sh) to set JAVA_HOME. Here is my launch file and

< launch>
  < node name="json_prolog_jsk_semantic_map" pkg="json_prolog" type="json_prolog"
        args="jsk_semantic_maps"
        launch-prefix="JAVA_HOME=`rosrun\ rosjava\ find-java-home.sh`" />
< /launch>
roslaunch hoge.l --args /json_prolog_jsk_semantic_map | bash

works, but

roslaunch hoge.l

doesn't.