How to use rosbag2_py on a Jetson Nano with ROS2 Foxy?
Hello everyone, I recently started learning how to use ROS2 for a project. Because I am using a Jetson Nano, the latest version I am able to work with is Foxy, which I installed using a docker container I took from here:
https://github.com/dusty-nv/jetson-containers
The problem is that I need to use rosbag2_py, but from what I could tell it is not available on Foxy, and the Humble container doesn’t work on the Nano so I’m stuck with it.
I did some searching and I saw that there is a way to make the python API work with Foxy(?), but since I’m completely new to ROS (and I’m using a pre-built container) I could not figure out how to do that. So if anyone can kindly give me some instructions I would appreciate it very much.
Thank you in advance!
Asked by AcesOrion on 2022-08-11 12:12:28 UTC
Comments
I'm still learning myself and haven't dug into rosbag2_py yet, but I can tell you that the default/official binary version of rosbag for Foxy (installed via apt, probably as part of your ROS Foxy install) doesn't include rosbag2_py. You'll want to "apt remove" rosbag2 and its related packages, and then clone the Foxy Future branch of rosbag2 and build it from source: https://github.com/ros2/rosbag2/tree/foxy-future
The Foxy Future version of rosbag2 is far superior in a number of ways. I recommend upgrading immediately.
Asked by bstppldrmr on 2022-11-11 17:04:13 UTC