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:
px4dev
2012-08-10 00:30:40 -07:00
parent 04d280564c
commit 67e0f8b179
16 changed files with 1170 additions and 962 deletions

View File

@@ -46,7 +46,7 @@ Output 2
--------
This mixer is empty.
M: 0
Z:
Motor speed mixer
-----------------

View File

@@ -39,7 +39,7 @@ Output 2
--------
This mixer is empty.
M: 0
Z:
Motor speed mixer
-----------------

View File

@@ -35,7 +35,7 @@ Output 2
--------
This mixer is empty.
M: 0
Z:
Motor speed mixer
-----------------

View 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