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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. Disabling PX4 autopilot and directly command 4x1 thrust and torque for low-level control

Disabling PX4 autopilot and directly command 4x1 thrust and torque for low-level control

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
3 Posts 2 Posters 2.4k 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.
  • Ege YüceelE Offline
    Ege YüceelE Offline
    Ege Yüceel
    Contributor
    wrote on last edited by
    #1

    Hi ModalAI team, I am working on a project that involves developing an end-to-end neural network-based control policy for a quadrotor. For this, I would like to bypass the PX4 autopilot and directly control the drone at the low level using a 4x1 vector of thrust and torque (roll, pitch, yaw) commands, similar to what is used in 12D system models.

    My goal is to retain the VOXL infrastructure, especially for reading from onboard services like custom neural network outputs through the voxl-tflite-server pipes and using the existing sensor and system services. However, I would like to disable PX4's control stack and instead send raw actuator commands directly from my control policy.

    Could you clarify whether this type of low-level control is supported through VOXL’s existing service architecture? If so, do I need to implement my control policy in C++, or is it also feasible to use Python for sending these thrust and torque commands at a low enough latency for closed-loop flight? Any guidance on how to interface with the motor outputs or appropriate service pipes to do this would be greatly appreciated. Thank you.

    Eric KatzfeyE 1 Reply Last reply
    0
    • Ege YüceelE Ege Yüceel

      Hi ModalAI team, I am working on a project that involves developing an end-to-end neural network-based control policy for a quadrotor. For this, I would like to bypass the PX4 autopilot and directly control the drone at the low level using a 4x1 vector of thrust and torque (roll, pitch, yaw) commands, similar to what is used in 12D system models.

      My goal is to retain the VOXL infrastructure, especially for reading from onboard services like custom neural network outputs through the voxl-tflite-server pipes and using the existing sensor and system services. However, I would like to disable PX4's control stack and instead send raw actuator commands directly from my control policy.

      Could you clarify whether this type of low-level control is supported through VOXL’s existing service architecture? If so, do I need to implement my control policy in C++, or is it also feasible to use Python for sending these thrust and torque commands at a low enough latency for closed-loop flight? Any guidance on how to interface with the motor outputs or appropriate service pipes to do this would be greatly appreciated. Thank you.

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @Ege-Yüceel This is definitely not supported by ModalAI. However, a sophisticated developer has access to enough documentation and source code that it is possible to make that work.

      Ege YüceelE 1 Reply Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @Ege-Yüceel This is definitely not supported by ModalAI. However, a sophisticated developer has access to enough documentation and source code that it is possible to make that work.

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

        @Eric-Katzfey I see. Thanks for the response.

        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