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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. mavros node on base station fcu_url

mavros node on base station fcu_url

Scheduled Pinned Locked Moved Unsolved General Questions
5 Posts 3 Posters 2.8k Views 2 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.
  • R Offline
    R Offline
    rapit
    Contributor
    wrote on last edited by
    #1

    Hi,
    I usually connect my QGroundControl (running on base station) to the voxl which in my unsderstanding "routes" the mavlink data from the flight core to my base station.

    Sometimes I want to run a mavros instance not on the voxl but on my base station. I am not sure how to configure this node correctly in order to connect to the flight core using voxl as "wifi link". It works if I set the fcu_url param like that: udp://:14550:@VOXL_IP:14556 but then the link in my QGroundControl fails. I guess it is because both connections are running over port 14550. I have no idea how to set fcu_url and gcs_url`. Or do I have to install additional software on the voxl to route the packages?

    Any help would be appreciated!

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

      Hi Rapit, have you looked at this doc here?

      I think you'll want to look at this parameter "en_secondary_qgc"

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rapit
        Contributor
        wrote on last edited by
        #3

        Hi Chad,
        thank you for the link. I did read section before but I could't see how it would help me as the port on the outgoing connection is still the same.

        I just configured my base station ip in ggc_ip and secondary_qgc_ip (and en_secondary_qgc) and the connection to my ground control station is successfully initiated by voxl. But when I fire up mavros at my ground station, QGroundControl again loses the connection to voxl, so initiating "from the other direction" does not seem to solve the port conflict.

        1 Reply Last reply
        0
        • James StrawsonJ Offline
          James StrawsonJ Offline
          James Strawson
          ModalAI Team
          wrote on last edited by
          #4

          Hi Rapit,

          You don't need the secondary qgc_ip, just one udp link from VOXL to MAVROS. In this case you would use MAVROS as another link in the chain between VOXL and QGC.

          VOXL <--> MAVROS <--> QGC

          Try launching mavros with the fcu_url :
          fcu_url:=udp://VOXL_IP:14550@:14550

          and gcs_url:
          gcs_url:=udp://@127.0.0.1

          You may need to change the port to QGC to something else (like 14551) to avoid a conflict.

          Best,
          James

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rapit
            Contributor
            wrote on last edited by
            #5

            Thank you, it works now. I did not think about using my local mavros as connection link between voxl and QGroundControl.

            I changed the port. The original issue was a binary installed mavros which crashed when using a gcs_url. So I thought it was a configuration problem but building mavros from source and running with your proposed configuration worked. Thank you again!

            Raphael

            1 Reply Last reply
            0

            Reading along? Create a free ModalAI Forum account to join in.

            With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

            Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

            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