Adding a topic to an existing rosbag file
Hi all, I have a bag file which includes topic /imu/data containing linear, angular velocity messages and their timestamps. How can I add a topic that has the transform calculated based on the velocity messages to my existing rosbag file? Thank you for your time.
You can write a script using the rosbag API to do that. See the cookbook for examples.