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. Mavlink Telemetry Routing, port selection

Mavlink Telemetry Routing, port selection

Scheduled Pinned Locked Moved Ask your questions right here!
7 Posts 3 Posters 1.3k Views 3 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.
  • Aldo Castro FreireA Offline
    Aldo Castro FreireA Offline
    Aldo Castro Freire
    Regular
    wrote on last edited by
    #1

    Hi guys,

    I was wondering if there is a way to select the port we are rerouting the mavlink messages, the documenation only says how to change the ip. or change between udp or tcp ?

    Link Preview Image
    Page not found

    ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

    favicon

    ModalAI Technical Docs (docs.modalai.com)

    This part specifically:

    A second manual IP entry can optionally be configured and enabled. Both of these will fields will tell voxl-vision-px4 to continuously forward all mavlink trafic from PX4 to these IP addresses at port 14550 which is the default UDP port for qGroundControl.

    "en_secondary_qgc": false,
    "secondary_qgc_ip": "192.168.1.214",
    
    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hi @Aldo-Castro-Freire ,

      Not via the config file, but here's where they're defined if you are able to build from source:

      Link Preview Image
      include/udp_mavlink.h · v0.6.8 · voxl / VOXL SDK / Services / voxl-vision-hub · GitLab

      This service acts as the main hub managing communication between VOXL MPA services and autopilots such as PX4 and Ardupilot.

      favicon

      GitLab (gitlab.com)

      For TCP, a bit more work likely is needed, but here's the UDP implementation that could be used as a guide:

      Link Preview Image
      src/udp_mavlink.c · v0.6.8 · voxl / VOXL SDK / Services / voxl-vision-hub · GitLab

      This service acts as the main hub managing communication between VOXL MPA services and autopilots such as PX4 and Ardupilot.

      favicon

      GitLab (gitlab.com)

      -Travis

      1 Reply Last reply
      0
      • Aldo Castro FreireA Offline
        Aldo Castro FreireA Offline
        Aldo Castro Freire
        Regular
        wrote on last edited by
        #3

        How do I delete my current version voxl-vision-px4 to install this one ?

        1 Reply Last reply
        0
        • Aldo Castro FreireA Offline
          Aldo Castro FreireA Offline
          Aldo Castro Freire
          Regular
          wrote on last edited by
          #4

          One more questions, where should I change in the code to change the port using the config file. Add a new variable called port. This will help me a lot as I have more than 1 drone.

          1 Reply Last reply
          0
          • Aldo Castro FreireA Offline
            Aldo Castro FreireA Offline
            Aldo Castro Freire
            Regular
            wrote on last edited by
            #5

            Actually here: https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-vision-px4/-/blob/master/src/config_file.c

            is parsing and asking for the port, should I just add the variable and change the port as I want ?

            07ae7508-4be9-4ed9-a875-05cb308d8eed-image.png

            1 Reply Last reply
            0
            • Chad SweetC Offline
              Chad SweetC Offline
              Chad Sweet
              ModalAI Team
              wrote on last edited by
              #6

              Have you tried changing the port number parameter in /etc/modalai/voxl-vision-px4.conf ?

              1 Reply Last reply
              0
              • Aldo Castro FreireA Offline
                Aldo Castro FreireA Offline
                Aldo Castro Freire
                Regular
                wrote on last edited by
                #7

                Yes, I tried apparently master and v0.68 of the code are different while in master is not hardcode the udp port. For v0.68 it is hardcode. So I assumed my version is hardcode because nothing seem to change.

                Do I need to delete my voxl-vision-px4? To install a new custom version?

                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