ROS Melodic Sourcing
-
Hi,
-
We have a Starling 2 (VOXL 2 autopilot running PX4) and wanted to run SLAM. We have some files of ROS Melodic installed (including voxl_mpa_to_ros_node), but we're unable to source ROS Melodic (it appears that there is no such file or directory when we tried "source /opt/ros/melodic/setup.bash". What could be the issue here and what would the next steps would be?
-
We also wanted to understand if we can uninstall ROS Melodic and install ROS2 Humble (or other distributions) on the same VOXL2 autopilot as ROS2 works better with our pipeline.
Thanks!
-
-
Hi,
- ROS2 Melodic requires Ubuntu 20.04 and the VOXL runs Ubuntu 18.04. You could install ROS2 Foxy following this guide.
$ apt-get install voxl-ros2-foxy $ source /opt/ros/foxy/local_setup.bash
- Likewise you can't directly use ROS2 humble on the VOXL because it requires Ubuntu 22.04. We usually run ROS2 inside a docker container. Check out the prebuilt ROS2 images you can have as the base (https://hub.docker.com/_/ros/).
Let me know if that helps!
Ted