1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-25 17:25:14 +03:00

Basic support for MSP2_INAV_MIXER frame

This commit is contained in:
Pawel Spychalski (DzikuVx) 2018-03-28 20:22:48 +02:00
parent c4735d2690
commit 7fbf63b7fc
5 changed files with 57 additions and 6 deletions

View file

@ -51,7 +51,8 @@ var CONFIG,
POSITION_ESTIMATOR,
RTH_AND_LAND_CONFIG,
FW_CONFIG,
DEBUG_TRACE;
DEBUG_TRACE,
MIXER_CONFIG;
var FC = {
MAX_SERVO_RATE: 125,
@ -162,6 +163,14 @@ var FC = {
SERVO_RULES = new ServoMixerRuleCollection();
MOTOR_RULES = new MotorMixerRuleCollection();
MIXER_CONFIG = {
yawMotorDirection: 0,
yawJumpPreventionLimit: 0,
platformType: -1,
hasFlaps: false,
appliedMixerPreset: -1
},
SERIAL_CONFIG = {
ports: [],
@ -793,7 +802,6 @@ var FC = {
'JJRC H8_3D',
'iNav Reference protocol',
'eLeReS'
];
},
getSensorAlignments: function () {