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

how to print ros1 bag data output on ros2

asked 2020-01-31 08:32:52 -0500

snvk gravatar image

Hi, How can I print the output of ros1.bag file in ros2… while I use below command to play data of ros1 in ros2

ros2 bag play -s rosbag_v2 "path-to-ros.bag-file"

I see it is running/playing but i don't see the data which is to be printed on terminal… while I play the same ros1.bag file in ros1 the output data prints on the terminal… why cant or how can I print this output on the ros2 ??

Kindly answer to my question in a detailed way, as I'am new to this.

Thanks in advance.

Looking forward for the quick reply…

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-31 10:52:47 -0500

marguedas gravatar image

As far as I can tell, ros2 bag play doesn't provide any status console output. Is currently just play the bag file, i.e. reading the data and publishing it to the relevant topics.

There is an open issue about it adding more functionality like the ROS 1 version,: https://github.com/ros2/rosbag2/issue.... You can comment on it to show your interest in the feature.

edit flag offensive delete link more

Comments

Thank you for the information :)

snvk gravatar image snvk  ( 2020-01-31 11:53:48 -0500 )edit

Hi @marguedas Just one clarification, is there any defined way or manual way, where I can convert .bag file into .db3 file?? awaiting for your reply and thanks a lot :)

snvk gravatar image snvk  ( 2020-02-04 02:44:47 -0500 )edit

Just one clarification, is there any defined way or manual way, where I can convert .bag file into .db3 file??

This is a different question, so it should be asked separately. You will find similar questions that have been answered in the past e.g. https://answers.ros.org/question/3143...


Thank you for the information :)

If the original answer did answer your question please mark it as accepted by clicking the checkmark. This allows other community members to know that this question doesn't need extra eyes.

marguedas gravatar image marguedas  ( 2020-02-04 03:32:39 -0500 )edit

@marguedas thank you

snvk gravatar image snvk  ( 2020-02-04 04:43:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-01-31 08:29:33 -0500

Seen: 625 times

Last updated: Jan 31 '20