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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Modal Pipe Architecture (MPA)
  4. Using MPA within voxl-docker-mavsdk-cpp

Using MPA within voxl-docker-mavsdk-cpp

Scheduled Pinned Locked Moved Modal Pipe Architecture (MPA)
5 Posts 5 Posters 2.1k 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.
  • Evan HertafeldE Offline
    Evan HertafeldE Offline
    Evan Hertafeld
    wrote on last edited by
    #1

    I see the supported method for using MAVSDK with Voxl is a preconfigured Docker container, which I have successfully set up with voxl-docker to run MAVSDK and control my vehicle from within the container.

    I see that by default /run/mpa/ is shared into this container, which is great. However, when I try the libmodal_pipe hello_world example, I get an error:

    fatal error: modal_start_stop.h: No such file or directory
    

    Clearly this container isn't set up with the libmodal_pipe libraries. What's the proper way to use the MPA pipes from within the voxl-docker-mavsdk-cpp container?

    Jetson NanoJ 1 Reply Last reply
    0
    • Evan HertafeldE Evan Hertafeld

      I see the supported method for using MAVSDK with Voxl is a preconfigured Docker container, which I have successfully set up with voxl-docker to run MAVSDK and control my vehicle from within the container.

      I see that by default /run/mpa/ is shared into this container, which is great. However, when I try the libmodal_pipe hello_world example, I get an error:

      fatal error: modal_start_stop.h: No such file or directory
      

      Clearly this container isn't set up with the libmodal_pipe libraries. What's the proper way to use the MPA pipes from within the voxl-docker-mavsdk-cpp container?

      Jetson NanoJ Offline
      Jetson NanoJ Offline
      Jetson Nano
      Veteran
      wrote on last edited by
      #2

      @Evan-Hertafeld Hey I wanted to know whether you were able to connect to mpa server and access the data inside mavsdk

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

        @Evan-Hertafeld said in Using MPA within voxl-docker-mavsdk-cpp:

        libmodal_pipe

        @Evan-Hertafeld @Jetson-Nano

        You need to share all those files via a volume mount alongside with the /run/mpa directory to allow docker to probe the data and grab from an MPA pipe.

        so in your docker run something like -v /usr/include/modal_start_stop.h:/usr/include/modal_start_stop.h needs to be done - the other option is you just download the actual MPA debian inside your docker image and call it a day - then you will have all the necessary headers, libs, binaries, and you just need to share /run/mpa as a volume to access the data.

        Zach

        Ege YüceelE 1 Reply Last reply
        0
        • Zachary Lowell 0Z Zachary Lowell 0

          @Evan-Hertafeld said in Using MPA within voxl-docker-mavsdk-cpp:

          libmodal_pipe

          @Evan-Hertafeld @Jetson-Nano

          You need to share all those files via a volume mount alongside with the /run/mpa directory to allow docker to probe the data and grab from an MPA pipe.

          so in your docker run something like -v /usr/include/modal_start_stop.h:/usr/include/modal_start_stop.h needs to be done - the other option is you just download the actual MPA debian inside your docker image and call it a day - then you will have all the necessary headers, libs, binaries, and you just need to share /run/mpa as a volume to access the data.

          Zach

          Ege YüceelE Offline
          Ege YüceelE Offline
          Ege Yüceel
          Contributor
          wrote on last edited by
          #4

          @Zachary-Lowell-0 Hi Zach and team, I have been using the voxl docker mavsdk python container successfully for MAVSDK based drone control, and now I would like to read from VOXL’s Modal Pipe Architecture (MPA) inside the same container. I saw your suggestion about either mounting header files like modal_start_stop.h or installing the full MPA package inside the container. Could you please clarify the best way to do this? Should I install the libmodal_pipe Debian package inside the Docker image using the Dockerfile, or manually copy the headers and libraries from the host? Also, is this setup compatible with the voxl docker mavsdk python container, or is it mainly meant for the C++ MAVSDK version?

          I am trying to listen to a custom voxl tflite server service that gives inference output from my custom neural networks. I want to deploy some motion planning in Python based on the neural net output. I would really appreciate more specific setup instructions or an example Dockerfile that includes MPA support. Thank you.

          T 1 Reply Last reply
          0
          • Ege YüceelE Ege Yüceel

            @Zachary-Lowell-0 Hi Zach and team, I have been using the voxl docker mavsdk python container successfully for MAVSDK based drone control, and now I would like to read from VOXL’s Modal Pipe Architecture (MPA) inside the same container. I saw your suggestion about either mounting header files like modal_start_stop.h or installing the full MPA package inside the container. Could you please clarify the best way to do this? Should I install the libmodal_pipe Debian package inside the Docker image using the Dockerfile, or manually copy the headers and libraries from the host? Also, is this setup compatible with the voxl docker mavsdk python container, or is it mainly meant for the C++ MAVSDK version?

            I am trying to listen to a custom voxl tflite server service that gives inference output from my custom neural networks. I want to deploy some motion planning in Python based on the neural net output. I would really appreciate more specific setup instructions or an example Dockerfile that includes MPA support. Thank you.

            T Offline
            T Offline
            teddy.zaremba
            Contributor
            wrote on last edited by teddy.zaremba
            #5

            Hi @Ege-Yüceel,

            We usually create a volume to those headers when doing something like this but you can install the libmodal pipe package inside the docker container like this if you want.

            wget http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.5/binary-arm64/libmodal-pipe_2.13.1_arm64.deb
            
            dpkg -i libmodal-pipe_2.13.1_arm64.deb
            

            **Note change sdk-1.5 to whatever sdk version you're on

            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