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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. voxl-microdds-agent for connection to external fcu over uart (J10)

voxl-microdds-agent for connection to external fcu over uart (J10)

Scheduled Pinned Locked Moved Unsolved General Questions
4 Posts 3 Posters 372 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.
  • J Offline
    J Offline
    jon
    Regular
    wrote on last edited by
    #1

    Hi! Problem statement: want to connect external FCU to voxl and communicate over the microdds bridge for minimal latency. In the past, I have tried to compile the uxrce-dds agent from source https://docs.px4.io/main/en/middleware/uxrce_dds but never really dove into trying to fix all the issues. I assume this is a problem you guys fixed with voxl-microdds-agent; is it possible to modify that package to communicate with an external flight controller over UART?

    Other option would be docker, which I've done before, but that incurs some overhead and we're kinda maxing out the voxl, so I would prefer a native implementation.

    I guess I'm just asking if this is feasible within the design of voxl-microdds-agent or if it's tailored to communicating with voxl-px4 over shared memory.

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

      @jon you can edit the dds via updating systemctl service file and point it towards the serial UART instead of a udp socket/port - the og looks like this:

      [Unit]
      Description=voxl-microdds-agent
      SourcePath=/usr/bin/MicroXRCEAgent
      After=network.target
      After=multi-user.target

      [Service]
      User=root
      Type=simple
      ExecStart=/usr/bin/MicroXRCEAgent udp4 -p 8888

      [Install]
      WantedBy=multi-user.target

      You would replace the -p with whatever flag is used for serial and then put /dev/ttyHSX (X number depends on which uart you are plugged into) - you will most likely need to put in a baudrate as well. This file is stored in /etc/systemd/systemd/voxl-microdds-agent.service.

      J 1 Reply Last reply
      0
      • Zachary Lowell 0Z Zachary Lowell 0

        @jon you can edit the dds via updating systemctl service file and point it towards the serial UART instead of a udp socket/port - the og looks like this:

        [Unit]
        Description=voxl-microdds-agent
        SourcePath=/usr/bin/MicroXRCEAgent
        After=network.target
        After=multi-user.target

        [Service]
        User=root
        Type=simple
        ExecStart=/usr/bin/MicroXRCEAgent udp4 -p 8888

        [Install]
        WantedBy=multi-user.target

        You would replace the -p with whatever flag is used for serial and then put /dev/ttyHSX (X number depends on which uart you are plugged into) - you will most likely need to put in a baudrate as well. This file is stored in /etc/systemd/systemd/voxl-microdds-agent.service.

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

        @Zachary-Lowell-0 Oh wow, thanks that's very simple

        1 Reply Last reply
        0
        • J jon

          Hi! Problem statement: want to connect external FCU to voxl and communicate over the microdds bridge for minimal latency. In the past, I have tried to compile the uxrce-dds agent from source https://docs.px4.io/main/en/middleware/uxrce_dds but never really dove into trying to fix all the issues. I assume this is a problem you guys fixed with voxl-microdds-agent; is it possible to modify that package to communicate with an external flight controller over UART?

          Other option would be docker, which I've done before, but that incurs some overhead and we're kinda maxing out the voxl, so I would prefer a native implementation.

          I guess I'm just asking if this is feasible within the design of voxl-microdds-agent or if it's tailored to communicating with voxl-px4 over shared memory.

          Eric KatzfeyE Online
          Eric KatzfeyE Online
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @jon And you can find a lot of detailed information about the agent, including the start options, here: https://docs.px4.io/main/en/middleware/uxrce_dds

          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