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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2 IO
  4. PWM channel control for auxiliary functions

PWM channel control for auxiliary functions

Scheduled Pinned Locked Moved VOXL 2 IO
5 Posts 2 Posters 1.7k 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.
  • Filip SlezakF Offline
    Filip SlezakF Offline
    Filip Slezak
    Contributor
    wrote on last edited by
    #1

    Hi all,

    How should I go about controlling the PWM channel 7 or 8 (hexacopter airframe) from VOXL2 code and/or remote control? I can't find where the AUX channels are mapped

    Thx

    1 Reply Last reply
    0
    • wilkinsafW Offline
      wilkinsafW Offline
      wilkinsaf
      ModalAI Team
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • wilkinsafW Offline
        wilkinsafW Offline
        wilkinsaf
        ModalAI Team
        wrote on last edited by
        #3

        This was completed with the VOXL Flight Core: https://www.youtube.com/watch?v=fxfyrUW3EyA

        Not sure if it helps on the VOXL2 IO

        1 Reply Last reply
        0
        • Filip SlezakF Offline
          Filip SlezakF Offline
          Filip Slezak
          Contributor
          wrote on last edited by
          #4

          Yes, thanks. Although incomplete 🙂
          Need to configure quad_x_io.main.mix (find / -name "filename") with the code below where X is the channel defined in the 2nd link below (AUX1 5 or AUX2 6)

          # Hexacopter X airframe config
          R: 6x ...
          # For each AUX channel
          M: 1
          S: 3 X ...
          

          Writing this from home, sorry for '...' but simply copy the config to quad_x.main.mix to quad_x_io.main.mix, both these files are loaded on boot and if the io board is connected it overrides the former

          AUX1 will be on pin7 and AUX2 on pin8.

          1. https://docs.px4.io/v1.12/en/concept/mixing.html
          2. https://docs.modalai.com/voxl2-io-user-guide/#supported-mixers-and-airframe-setup

          Or properly rename the file and change the name being loaded in the px4 startup script but I didn't do that to avoid issues in case it's used by something else too...

          1 Reply Last reply
          0
          • Filip SlezakF Offline
            Filip SlezakF Offline
            Filip Slezak
            Contributor
            wrote on last edited by
            #5

            Any tips on how to control this from ROS for offboard mode?

            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