Best practice to extract recorded data from ros2 bag dumps?
Currently I am working on my university project with ROS2 with a small model car. I am implementing and debugging a local planner module. For my documentation I want to plot the driven path and generated trajectories (e.g. with matplotlib
).
I have both in ROS2 messages which I dumped via ros2 bag ...
to a sqlite database binary.
I was googling a lot and found https://github.com/eurogroep/rosbag_p... which relies on ROS1 python bindings. Is it possible to open my sq3 file with this library? Do I have to install melodic
along my current dashing
?
Is there a way to convert/export the messages to a non--binary format like csv (where the messages are already deserialized)?
Thank you for your advice and clarifying my confusion in my head.
TLDR;
How to use ros2 bag
dump data in other tools?
I am interested in the answer too. Have you seen this thread?
Thank you for the link! It is exactly what I wanted but somewhat hidden from the point of view of a ROS/ROS2 beginner ...
In the end I had to write my own
message_recorder
-node which subscribes to topics I was interested in and records them together with a timestamp to a file ...