robotperf / rosbags

Files storing pre-recorded ROS 2 message data for benchmarking purposes. Allow you to store, process, analyze, and visualize ROS interactions.
0 stars 3 forks source link

rosbags collection methods #1

Closed jasonjabbour closed 1 year ago

jasonjabbour commented 1 year ago

Hi! I'm currently working on generating a rosbag for benchmarking the stereo_image_proc package. This package would need recorded data from a left and right camera. Would it be reasonable to create a robot in gazebo with two cameras and record a rosbag in that manner?

Could you specify how you collected the image2 rosbag? Is there complementary code to generate the data?

vmayoral commented 1 year ago

Hi! I'm currently working on generating a rosbag for benchmarking the stereo_image_proc package. This package would need recorded data from a left and right camera. Would it be reasonable to create a robot in gazebo with two cameras and record a rosbag in that manner?

That'd be great. See https://github.com/ros-acceleration/acceleration_examples/blob/main/graphs/perception/perception_2nodes/worlds/camera_dynamic.world for the world created for the monocular camera use case (launch file). You should be able to extend this easily to create multiple cameras. See tutorials for stereo simulation.

Could you specify how you collected the image2 rosbag? Is there complementary code to generate the data?

ros2 bag record