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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Support Request Format for Best Results
  4. ROS Melodic on VOXL-Flight

ROS Melodic on VOXL-Flight

Scheduled Pinned Locked Moved Support Request Format for Best Results
8 Posts 3 Posters 1.3k Views
  • 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.
  • Kiazoa JoaoK Offline
    Kiazoa JoaoK Offline
    Kiazoa Joao
    Regular
    wrote on last edited by
    #1

    Hello,

    I've been trying to set up my drone to fly autonomously for my research (I'll be flying it indoors). I wanted to follow these instructions https://docs.modalai.com/mavros/ but my drone came with ROS Indigo installed. Can anybody tell me if the VOXL-Flight is compatible with ROS Melodic? I was thinking of uninstalling ROS indigo to install ROS Melodic. My goal is to fly the drone around a pillar and take photos. Please any tips would be much appreciated. Also, If you know another way, please let me know as well.

    1 Reply Last reply
    0
    • Zachary Lowell 0Z Offline
      Zachary Lowell 0Z Offline
      Zachary Lowell 0
      ModalAI Team
      wrote on last edited by
      #2

      Hi @Kiazoa-Joao I would recommend leveraging Docker in this case and building a local instance of ros melodic and then pushing that docker instance to the voxl flight to control the drone.

      Zach

      Kiazoa JoaoK 1 Reply Last reply
      0
      • Zachary Lowell 0Z Zachary Lowell 0

        Hi @Kiazoa-Joao I would recommend leveraging Docker in this case and building a local instance of ros melodic and then pushing that docker instance to the voxl flight to control the drone.

        Zach

        Kiazoa JoaoK Offline
        Kiazoa JoaoK Offline
        Kiazoa Joao
        Regular
        wrote on last edited by
        #3

        @Zachary-Lowell-0 thank you. Do you have any tips on how I can do that?

        J 1 Reply Last reply
        0
        • Kiazoa JoaoK Kiazoa Joao

          @Zachary-Lowell-0 thank you. Do you have any tips on how I can do that?

          J Offline
          J Offline
          jon
          Regular
          wrote on last edited by
          #4

          @Kiazoa-Joao

          Docker is basically a tool that lets you create 'images' and run 'containers' that emulate certain environments in other foreign environments. So, you can have a container with ubuntu 18 running ROS melodic on a machine with an outdated version of ROS running kinetic or indigo or something old.

          This is how I did it:

          1. Install docker on your base machine
          2. VOXL is an arm based processor as opposed to amd64, so you will need to run this: https://github.com/multiarch/qemu-user-static which will let you build containers for different system architectures
          3. To build a docker image, you can either pull a prebuilt base image, run it as a container, install any dependencies and copy over your ROS stuff, then docker commit it to a new image, or list all that out in a dockerfile. I prefer the first way, even though it is pretty scuffed
            In your case you would want arm64v8 ubuntu 18.04 ROS melodic
            Here's a list of the official docker ROS prebuilts: https://hub.docker.com/r/arm64v8/ros/
          4. Compress the image into a tar.gz archive, adb push it onto the VOXL and unpack it there. Then you can launch a container from the image (make sure to run it with --net=host argument), and run your ROS nodes inside the container.

          There's documentation online for all four steps, and LLMs like chatgpt give pretty good general pointers on command syntax.

          Kiazoa JoaoK 2 Replies Last reply
          0
          • J jon

            @Kiazoa-Joao

            Docker is basically a tool that lets you create 'images' and run 'containers' that emulate certain environments in other foreign environments. So, you can have a container with ubuntu 18 running ROS melodic on a machine with an outdated version of ROS running kinetic or indigo or something old.

            This is how I did it:

            1. Install docker on your base machine
            2. VOXL is an arm based processor as opposed to amd64, so you will need to run this: https://github.com/multiarch/qemu-user-static which will let you build containers for different system architectures
            3. To build a docker image, you can either pull a prebuilt base image, run it as a container, install any dependencies and copy over your ROS stuff, then docker commit it to a new image, or list all that out in a dockerfile. I prefer the first way, even though it is pretty scuffed
              In your case you would want arm64v8 ubuntu 18.04 ROS melodic
              Here's a list of the official docker ROS prebuilts: https://hub.docker.com/r/arm64v8/ros/
            4. Compress the image into a tar.gz archive, adb push it onto the VOXL and unpack it there. Then you can launch a container from the image (make sure to run it with --net=host argument), and run your ROS nodes inside the container.

            There's documentation online for all four steps, and LLMs like chatgpt give pretty good general pointers on command syntax.

            Kiazoa JoaoK Offline
            Kiazoa JoaoK Offline
            Kiazoa Joao
            Regular
            wrote on last edited by
            #5

            @jonathankampia thanks a lot. This is very helpful.
            I have another issue now. I deleted ROS indigo in an attempt to install ROS melodic, but I am having a hard time re-installing it since VOXL-Flight does not support apt-get. Do you know how I can re-install it?

            J 1 Reply Last reply
            0
            • J jon

              @Kiazoa-Joao

              Docker is basically a tool that lets you create 'images' and run 'containers' that emulate certain environments in other foreign environments. So, you can have a container with ubuntu 18 running ROS melodic on a machine with an outdated version of ROS running kinetic or indigo or something old.

              This is how I did it:

              1. Install docker on your base machine
              2. VOXL is an arm based processor as opposed to amd64, so you will need to run this: https://github.com/multiarch/qemu-user-static which will let you build containers for different system architectures
              3. To build a docker image, you can either pull a prebuilt base image, run it as a container, install any dependencies and copy over your ROS stuff, then docker commit it to a new image, or list all that out in a dockerfile. I prefer the first way, even though it is pretty scuffed
                In your case you would want arm64v8 ubuntu 18.04 ROS melodic
                Here's a list of the official docker ROS prebuilts: https://hub.docker.com/r/arm64v8/ros/
              4. Compress the image into a tar.gz archive, adb push it onto the VOXL and unpack it there. Then you can launch a container from the image (make sure to run it with --net=host argument), and run your ROS nodes inside the container.

              There's documentation online for all four steps, and LLMs like chatgpt give pretty good general pointers on command syntax.

              Kiazoa JoaoK Offline
              Kiazoa JoaoK Offline
              Kiazoa Joao
              Regular
              wrote on last edited by
              #6

              @jonathankampia sorry for asking so many questions, I have no experience with development drones, but I need to get this done for my research project. I am a grad student.

              1 Reply Last reply
              0
              • Kiazoa JoaoK Kiazoa Joao

                @jonathankampia thanks a lot. This is very helpful.
                I have another issue now. I deleted ROS indigo in an attempt to install ROS melodic, but I am having a hard time re-installing it since VOXL-Flight does not support apt-get. Do you know how I can re-install it?

                J Offline
                J Offline
                jon
                Regular
                wrote on last edited by
                #7

                @Kiazoa-Joao I haven't worked with the voxl flight but if there's no other way probably just reflash the board? Here's a link to the modalai developer downloads: https://developer.modalai.com/

                You (shouldn't?) need ROS indigo natively if you are just going to dockerize your onboard ROS stuff. All the dependencies needed by whatever code you run in the container should be satisfied within the container; what is/isn't installed outside the container shouldn't matter. But it sounds like you are running a pretty old board with possibly not the most updated firmware, so reflashing with the latest for the VOXL Flight from that website I sent might be a good idea

                Kiazoa JoaoK 1 Reply Last reply
                0
                • J jon

                  @Kiazoa-Joao I haven't worked with the voxl flight but if there's no other way probably just reflash the board? Here's a link to the modalai developer downloads: https://developer.modalai.com/

                  You (shouldn't?) need ROS indigo natively if you are just going to dockerize your onboard ROS stuff. All the dependencies needed by whatever code you run in the container should be satisfied within the container; what is/isn't installed outside the container shouldn't matter. But it sounds like you are running a pretty old board with possibly not the most updated firmware, so reflashing with the latest for the VOXL Flight from that website I sent might be a good idea

                  Kiazoa JoaoK Offline
                  Kiazoa JoaoK Offline
                  Kiazoa Joao
                  Regular
                  wrote on last edited by
                  #8

                  @jonathankampia got it. Thank you so much.

                  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