Merge pull request #885 from iNavFlight/dzikuvx-enable-other-platforms

Enable Rover, Boat and Other platforms
pull/898/head
Paweł Spychalski 5 years ago committed by GitHub
commit 9ffad48591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -517,6 +517,52 @@ const mixerList = [
new ServoMixRule(3, INPUT_STABILIZED_YAW, 50, 0),
new ServoMixRule(4, INPUT_STABILIZED_YAW, 50, 0),
]
},
{
id: 31,
name: 'Rover',
model: 'custom',
image: 'custom',
enabled: true,
legacy: false,
platform: PLATFORM_ROVER,
motorMixer: [
new MotorMixRule(1.0, 0.0, 0.0, 0.0),
],
servoMixer: [
new ServoMixRule(3, INPUT_STABILIZED_YAW, 100, 0),
]
},
{
id: 32,
name: 'Boat',
model: 'custom',
image: 'custom',
enabled: true,
legacy: false,
platform: PLATFORM_BOAT,
motorMixer: [
new MotorMixRule(1.0, 0.0, 0.0, 0.0),
],
servoMixer: [
new ServoMixRule(3, INPUT_STABILIZED_YAW, 100, 0),
]
}
,
{
id: 33,
name: 'Other',
model: 'custom',
image: 'custom',
enabled: true,
legacy: false,
platform: PLATFORM_OTHER,
motorMixer: [
new MotorMixRule(1.0, 0.0, 0.0, 0.0),
],
servoMixer: [
new ServoMixRule(3, INPUT_STABILIZED_YAW, 100, 0),
]
}
];
@ -548,19 +594,19 @@ const platformList = [
{
id: 4,
name: "Rover",
enabled: false,
enabled: true,
flapsPossible: false
},
{
id: 5,
name: "Boat",
enabled: false,
enabled: true,
flapsPossible: false
},
{
id: 6,
name: "Other",
enabled: false,
enabled: true,
flapsPossible: false
}
];

Loading…
Cancel
Save