Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. ROS
  4. m500 ROS 2 Support

m500 ROS 2 Support

Scheduled Pinned Locked Moved ROS
5 Posts 5 Posters 1.2k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    BryceH
    wrote on last edited by
    #1

    Hi.
    I am currently using an m500 drone with ROS1 and have been looking into upgrading to ROS2.

    Is ROS2 currently supported on the m500 drone? If not, does Modalai have any plans to provide ROS2 support on the m500?

    Regards,
    Bryce H.

    1 Reply Last reply
    1
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi Bryce,

      The voxl board in the M500 runs a system that we don't plan to support ROS2 on natively since it's a very custom yocto build. Our new VOXL2 platform has been intentionally designed to run on an ubuntu 18.04 image to allow installing libraries of all sorts from the standard ubuntu repos (such as ROS2).

      It is theoretically possible to get ros2 on a voxl, but you'd either have have to use an ubuntu docker image (we provide a sample 16.04 image for running ros kinetic on voxl) or rebuild the whole ROS2 project(and probably many of it's dependencies) manually.

      1 Reply Last reply
      0
      • Connor FuhrmanC Offline
        Connor FuhrmanC Offline
        Connor Fuhrman
        wrote on last edited by
        #3

        Bryce - were you successful in running ROS2 on the VOXL? I'm working with a Docker container built from the official ROS2 Foxy container that just adds a simple proof-of-concept package for our use case and ran into some issues actually running a container from my image.

        The container itself runs fine but my ROS2 launch script won't execute. My issues, I believe, surround the pseudoterminal interface on the VOXL's Linux build. ROS2 launch is using the pty Python package and pty.openpty() looks for BSD-style pseudoterminals and I assume the onboard Linux kernel was compiled with the option to disable that depreciated interface (someone please chime in and correct me if I'm wrong). I'm currently wrestling the Docker image to work correctly on the VOXL Flight board.

        Am thinking about trying to run Singularity/Apptainer on the VOXL since it's computerization but focused on integration rather than isolation because I think my issues are Docker-related. Not sure if anyone has tried Singularity or not...

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Ivan-Gambit
          wrote on last edited by
          #4

          Double checking to see if there were any updates in terms of getting ROS2 to work on the M500?

          Alex KushleyevA 1 Reply Last reply
          0
          • I Ivan-Gambit

            Double checking to see if there were any updates in terms of getting ROS2 to work on the M500?

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #5

            I just tried this real quick on VOXL1 and indeed there is an issue related to pty

            on PC:

            docker pull arm64v8/ros:rolling-ros-core
            docker image save arm64v8/ros:rolling-ros-core | gzip > rolling-ros-core-arm64v8.tar.gz
            adb push rolling-ros-core-arm64v8.tar.gz /data/
            

            on VOXL1:

            adb shell
            cd /data
            docker load < rolling-ros-core-arm64v8.tar.gz
            
            cd /home/root
            mkdir ros2
            cd ros2
            
            docker run -it --rm --privileged -v `pwd`:/home/user -w /home/user arm64v8/ros:rolling-ros-core
            
            #now inside docker container
            apt-get update
            apt install python3-colcon-common-extensions
            

            then follow example to set up a demo project : https://roboticsbackend.com/ros2-launch-file-example/

            run (inside docker container)
            colcon build

            Error:

               stdout_descriptor, stdout = pty.openpty()
              File "/usr/lib/python3.10/pty.py", line 34, in openpty
                master_fd, slave_name = _open_terminal()
              File "/usr/lib/python3.10/pty.py", line 64, in _open_terminal
                raise OSError('out of pty devices')
            OSError: out of pty devices
            ---
            Failed   <<< my_robot_bringup [0.21s, exited with code 1]
            
            Summary: 0 packages finished [3.72s]
              1 package failed: my_robot_bringup
              1 package had stderr output: my_robot_bringup
            out of pty device
            

            After doing a quick search, cannot figure it out. It is probably related to very old docker version on VOXL1.. Not sure if anything can be done..

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            ModalAI
            Categories Recent Tags ModalAI.com Docs
            © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups