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

Revision history [back]

The problem to use a property file is about the path. When you execute the following structure for example:

final String path = new File(".").getAbsolutePath();

You receive the following path:

/home/jabrena/.ros/.

Normally the path should near to the Java class where you execute, but in this case the path is relative of ros path. I tested to execute with java the command roscd, but in this case, shell used with Java doesn't have loaded that scripts.

Is it very hard to add parameters in .launch files? I could help in the process.

Juan Antonio