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

Autoware ROSBAG Record

asked 2021-01-07 03:47:55 -0500

ken_koba gravatar image

updated 2021-01-21 23:08:08 -0500

Is there a way to turn existing raw data into ROSBAG?
Raw data is Camera-Data.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2021-01-22 02:24:29 -0500

Mackou gravatar image

The easiest way I believe would be to open your raw data with python and use openCV to convert them into sensor_msgs/Image. You can also have a look at the cv_bridge.

Then once you managed to convert your raw data into sensor_msgs/Image messages you will have to save them into a bag. You can use the rosbag python api for that. Have a look at the rosbag cookbook. (Especially section 1.2).

edit flag offensive delete link more

Comments

Thank you for the information.
I will try.

ken_koba gravatar image ken_koba  ( 2021-01-25 02:26:48 -0500 )edit
0

answered 2021-01-07 10:47:44 -0500

Josh Whitley gravatar image

You have to have some way to replay the data and publish it as ROS messages so it depends on the format.

edit flag offensive delete link more

Comments

For example If I have 100 Raw data(.bin) of Camera, can I make it ROSBAG?

ken_koba gravatar image ken_koba  ( 2021-01-14 02:27:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-01-07 03:47:55 -0500

Seen: 244 times

Last updated: Jan 22 '21