ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ROS Melodic Sourcing

    Ask your questions right here!
    3
    5
    81
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • george kollamkulamG
      george kollamkulam
      last edited by

      Hi,

      1. 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?

      2. 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!

      T 1 Reply Last reply Reply Quote 0
      • T
        teddy.zaremba @george kollamkulam
        last edited by teddy.zaremba

        @george-kollamkulam

        Hi,

        1. 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
        
        1. 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

        1 Reply Last reply Reply Quote 0
        • george kollamkulamG
          george kollamkulam
          last edited by

          Hi,

          1. Is it possible to upgrade the Ubuntu version to 22.04 on the VOXL2 autopilot? This is to use ROS2 Humble without a docker.

          2. Currently to run ROS2 Humble on the existing Ubuntu 18.04 setup, we installed a docker but we're a repeatable issue.The colcon build --symlink-install keeps failing (screenshot attached below). How can we resolve this?
            Screenshot from 2025-06-29 23-55-51.png

          We've also seen a few instances of location conflicts during the installation of ROS2 humble, but have tried to resolve that as and when we see them.

          Thanks,
          George

          Eric KatzfeyE T 2 Replies Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @george kollamkulam
            last edited by

            @george-kollamkulam As far as question #1, no it is not possible to update to Ubuntu 22.04 on the VOXL 2 autopilot. Updates must come from Qualcomm and then we have to adapt them to the VOXL 2. However, an update to 22.04 is not available.

            1 Reply Last reply Reply Quote 0
            • T
              teddy.zaremba @george kollamkulam
              last edited by

              @george-kollamkulam

              Where are you getting the image / ROS2 packages? Is this an image that ModalAI maintains?

              Just looking at the error, it seems like it can't find the yaml-cpp package. It could be that it's not installed correctly or something's wrong in your CMakeLists.txt. It looks like the yaml-cpp readme has some info for including it in your CMake project.

              If you're using camera_calibration_parsers from image common, it might be worth bringing the issue up there.

              Let me know if that helps,
              Ted

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors