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

sk12345's profile - activity

2020-04-20 09:31:16 -0500 received badge  Famous Question (source)
2020-04-20 09:31:16 -0500 received badge  Notable Question (source)
2020-03-05 02:10:44 -0500 received badge  Student (source)
2019-06-29 15:35:33 -0500 received badge  Famous Question (source)
2019-02-28 05:55:07 -0500 marked best answer Rosbag record dying after bag reaches 4.3GB

Hello,

I am using an Nvidia TX2 with a set of 3 cameras and a Pixhawk flight controller. I am attempting to record 3x 4k image streams and IMU data from the Pixhawk. The issue I am having is that rosbag record consistently dies at 4.3GB of bag size. It also leaves the bag as "active" when it stops. I have tried this with 4K resolution as well as lower resolutions; the only difference in outcome is that it happens sooner with the 4k imagery (always at 4.3GB).

This is the rosbag command I use.

rosbag record -b 0 -O /media/nvidia/C61C-EBE4/debug.bag /mavros/rc/out /mavros/cam_imu_sync/cam_imu_stamp /mavros/imu/data_raw /mavros/imu/data /camF/camera /camF/camera_info /camRR/camera /camRR/camera_info /camRL/camera /camRL/camera_info __name:=bag_record

This is the error I get.

[ INFO] [1551125050.845895518]: Recording to /media/nvidia/C61C-EBE4/debug.bag.
terminate called after throwing an instance of 'rosbag::BagIOException'
  what():  Error writing to file: writing 24883246 bytes, wrote 9454209 bytes

I have tried to find the answer and came across this: https://answers.ros.org/question/2188... but no answer there. Any ideas on what might be going wrong?

Thanks in advance!

2019-02-28 05:55:07 -0500 received badge  Scholar (source)
2019-02-26 04:47:39 -0500 received badge  Popular Question (source)
2019-02-26 03:12:46 -0500 answered a question Rosbag record dying after bag reaches 4.3GB

Hi mgruhler, I can't seem to mark your comment as the answer, but that was the problem. Thank you for that! It was solve

2019-02-26 02:15:23 -0500 asked a question Rosbag record dying after bag reaches 4.3GB

Rosbag record dying after bag reaches 4.3GB Hello, I am using an Nvidia TX2 with a set of 3 cameras and a Pixhawk fligh

2019-02-25 16:17:54 -0500 received badge  Notable Question (source)
2019-02-24 05:37:57 -0500 received badge  Popular Question (source)
2019-02-23 10:48:49 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 10:47:18 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 10:46:54 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 09:17:21 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 09:01:43 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 09:01:43 -0500 received badge  Editor (source)
2019-02-23 08:57:57 -0500 edited question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and

2019-02-23 08:36:42 -0500 asked a question How to control rosbag record from a topic?

How to control rosbag record from a topic? Hello ROS Community, I am learning how to use ROS for controlling a UAV and