PWM channel control for auxiliary functions
-
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
-
This post is deleted!
-
This was completed with the VOXL Flight Core: https://www.youtube.com/watch?v=fxfyrUW3EyA
Not sure if it helps on the VOXL2 IO
-
Yes, thanks. Although incomplete

Need to configurequad_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.
- https://docs.px4.io/v1.12/en/concept/mixing.html
- 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...
-
Any tips on how to control this from ROS for offboard mode?
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