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

I have the same issue. Running the rosbag in a specific directory creates the bag file directly in the current path. Doing this in a launch file how ever writes the file to ~/.ros/

It would be nice to have a solution without specifying the output path and create the file there where the launch file is started.

I have the same issue. Running the rosbag in a specific directory creates the bag file directly in the current path. Doing this in a launch file how ever writes the file to ~/.ros/

It would be nice to have a solution without specifying the output path and create the file there where the launch file is started.And I found this http://answers.ros.org/question/57075/how-to-save-file-to-the-current-directory-with-roslaunch/

The cwd option does not work for me but this does:

ROS_HOME=`pwd` roslaunch foo.launch

I have the same issue. Running the rosbag in a specific directory creates the bag file directly in the current path. Doing this in a launch file how ever writes the file to ~/.ros/

And I found this http://answers.ros.org/question/57075/how-to-save-file-to-the-current-directory-with-roslaunch/

The cwd option does not work for me but this does:

ROS_HOME=`pwd` roslaunch foo.launch