control_allocator: allow for only 2 swash plate servos

This is required to support fixed pitch propeller helicopters that have
no collective but only cyclic pitch with two degrees of freedom and
hence only two servos.

The amount of thrust in the body z axis is then controlled using the
motor speed which makes particularly sense on coaxial helicopters
that need to control yaw with changing motor speeds already.
This commit is contained in:
Matthias Grob 2023-03-27 16:48:30 +02:00 committed by Beat Küng
parent 35b32e8cb0
commit b56e7a036c
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ parameters:
short: Number of swash plates servos
type: enum
values:
2: '2'
3: '3'
4: '4'
default: 3