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

    ROS Melodic Sourcing

    Ask your questions right here!
    2
    2
    21
    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
        • First post
          Last post
        Powered by NodeBB | Contributors