Ask Your Question
0

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 turtlebot3_world.launch.py

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
0

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 https://github.com/ros2/rosbag2/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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 30 times

Last updated: Apr 22