mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services. Teach the FMU driver how to use it as an example. More testing is still required.
This commit is contained in:
@@ -46,7 +46,7 @@ Output 2
|
||||
--------
|
||||
This mixer is empty.
|
||||
|
||||
M: 0
|
||||
Z:
|
||||
|
||||
Motor speed mixer
|
||||
-----------------
|
||||
|
||||
@@ -39,7 +39,7 @@ Output 2
|
||||
--------
|
||||
This mixer is empty.
|
||||
|
||||
M: 0
|
||||
Z:
|
||||
|
||||
Motor speed mixer
|
||||
-----------------
|
||||
|
||||
@@ -35,7 +35,7 @@ Output 2
|
||||
--------
|
||||
This mixer is empty.
|
||||
|
||||
M: 0
|
||||
Z:
|
||||
|
||||
Motor speed mixer
|
||||
-----------------
|
||||
|
||||
24
ROMFS/mixers/FMU_multirotor.mix
Normal file
24
ROMFS/mixers/FMU_multirotor.mix
Normal file
@@ -0,0 +1,24 @@
|
||||
Multirotor mixer for PX4FMU
|
||||
===========================
|
||||
|
||||
This file defines passthrough mixers suitable for driving ESCs over the full
|
||||
input range.
|
||||
|
||||
Channel group 0, channels 0-3 values 0.0 - 1.0 are scaled to the full output range.
|
||||
|
||||
M: 2
|
||||
S: 0 0 10000 10000 0 -10000 10000
|
||||
S: 0 0 0 20000 -10000 -10000 10000
|
||||
|
||||
M: 2
|
||||
S: 0 0 10000 10000 0 -10000 10000
|
||||
S: 0 1 0 20000 -10000 -10000 10000
|
||||
|
||||
M: 2
|
||||
S: 0 0 10000 10000 0 -10000 10000
|
||||
S: 0 2 0 20000 -10000 -10000 10000
|
||||
|
||||
M: 2
|
||||
S: 0 0 10000 10000 0 -10000 10000
|
||||
S: 0 3 0 20000 -10000 -10000 10000
|
||||
|
||||
Reference in New Issue
Block a user