Rosbag file location
Hello,
I would like to know where are rosbags saved to access them through my file explorer (if that is possible).
Thank you!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
Hello,
I would like to know where are rosbags saved to access them through my file explorer (if that is possible).
Thank you!
Hi, I found the answer here: http://wiki.ros.org/rosbag/Tutorials/...
So it's necessary to create a directory to store the bag files: mkdir ~/bagfiles
it's necessary to create a directory to store the bag files
Not really, when you record a bag file it will be stored at the same location as you were when doing rosbag record
, the tutorial tells you to create the folder bagfile and then go to this new directory to have your bagfile at this location. If you are not in the folder bagfiles
when issuing rosbag record
, it won't be stored there.
You can use the argument -o
to add a prefix to the bagfile name, if you specify an absolute path from then you can choose the location :
rosbag record -a -o $HOME/bagfiles/
This command will save your bagfile in your ~/bagfiles
folder regardless of which directory you are currently in.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2020-08-21 05:33:01 -0500
Seen: 2,284 times
Last updated: Aug 21 '20
rtabmap_ros kitti2rosbag using orb_slam2 as Odometry
Convience methods to convert rospy.Time to datetime.datetime
How can I instal pkg_check_modules ?
Groupname is not found using moveit, kuka-iiwa-14
Simultaneous Homing in Ros Canopen
How to read a point cloud (.pcd) file and send it to a rosbag
Call clear costmap service periodically
How to get a collision-free path in a known map with move_base?