how record rosbag with python
Hello I use the command line (Terminal) to record images (RGB, RGBD), joy, and IMU data
>> rosbag record -O subset /camera/depth/image_raw /camera/rgb/image_raw /joy /mobile_base/sensors/imu_data_raw
How can I convert this command to python code script?
any help is appreciated
Not a real answer (as this seems a bit of an xy-problem), but there is something called osrf/nodelet_rosbag. That exposes an action server interface to
rosbag
.