Skip to content

Instantly share code, notes, and snippets.

@dayjaby
Created October 2, 2019 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dayjaby/21d3c452b6c6f7905fe5418d39d26372 to your computer and use it in GitHub Desktop.
Save dayjaby/21d3c452b6c6f7905fe5418d39d26372 to your computer and use it in GitHub Desktop.
# BabyShark VTOL mixer for PX4FMU
# 1-4 (main): Ailerons (Y-cable), A-tail left, Pusher, A-tail right
# 5-8 (main): quad motors
#=============================
Quad motors 1 - 4
-----------------
R: 4x 10000 10000 10000 0
Aileron mixer (roll)
---------------------------------
M: 1
S: 1 0 -10000 -10000 0 -10000 10000
A-tail mixer right
------------------
M: 2
S: 1 2 -7000 -7000 0 -10000 10000
S: 1 1 8000 8000 0 -10000 10000
Motor speed mixer
-----------------
This mixer generates a full-range output (-1 to 1) from an input in the (0 - 1)
range. Inputs below zero are treated as zero.
M: 1
S: 1 3 0 20000 -10000 -10000 10000
A-tail mixer left
-----------------
M: 2
S: 1 2 -7000 -7000 0 -10000 10000
S: 1 1 -8000 -8000 0 -10000 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment