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

rosbag2 doesn't record turtlebot3 scan messages

asked 2020-04-21 10:26:48 -0500

bluemoon93 gravatar image

To reproduce this, simply follow TurtleBot3's simulation tutorials and start it

$ ros2 launch turtlebot3_gazebo

Confirm messages are sent with

$ ros2 topic echo scan

Try to record with

$ ros2 bag record scan -o tb3bag

And after a while, use info to check that nothing was recorded.

$ ros2 bag info tb3bag2
   Files:             tb3bag2.db3
   Messages:          0

Am I doing something wrong? Or should this be reported in rosbag2's issues?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-22 11:15:24 -0500

marguedas gravatar image

The lack of ability to record messages with non-default QoS settings (which is what is happening here as the "scan" is using a "best-effort" publication and not the default "reliable") has been a long standing issue

It appears that it got closed yesterday after many PRs. So it should be in the upcoming ROS 2 Foxy release.

As of if this feature will be backported to Dashing, maybe @Karsten would know

edit flag offensive delete link more

Question Tools



Asked: 2020-04-21 10:26:48 -0500

Seen: 199 times

Last updated: Apr 22 '20