1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 22:35:17 +03:00

Merge pull request #2399 from haslinghuis/fix_2360

Extend mixerList with motor and servo values
This commit is contained in:
Michael Keller 2021-02-16 00:19:14 +13:00 committed by GitHub
commit 642a4a4579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,32 +2,32 @@
// generate mixer
const mixerList = [
{name: 'Tricopter', pos: 3, model: 'tricopter', image: 'tri'},
{name: 'Quad +', pos: 2, model: 'quad_x', image: 'quad_p'},
{name: 'Quad X', pos: 0, model: 'quad_x', image: 'quad_x'},
{name: 'Bicopter', pos: 16, model: 'custom', image: 'bicopter'},
{name: 'Gimbal', pos: 4, model: 'custom', image: 'custom'},
{name: 'Y6', pos: 20, model: 'y6', image: 'y6'},
{name: 'Hex +', pos: 5, model: 'hex_plus', image: 'hex_p'},
{name: 'Flying Wing', pos: 10, model: 'custom', image: 'flying_wing'},
{name: 'Y4', pos: 19, model: 'y4', image: 'y4'},
{name: 'Hex X', pos: 6, model: 'hex_x', image: 'hex_x'},
{name: 'Octo X8', pos: 21, model: 'custom', image: 'octo_x8'},
{name: 'Octo Flat +', pos: 8, model: 'custom', image: 'octo_flat_p'},
{name: 'Octo Flat X', pos: 9, model: 'custom', image: 'octo_flat_x'},
{name: 'Airplane', pos: 11, model: 'custom', image: 'airplane'},
{name: 'Heli 120', pos: 12, model: 'custom', image: 'custom'},
{name: 'Heli 90', pos: 13, model: 'custom', image: 'custom'},
{name: 'V-tail Quad', pos: 17, model: 'quad_vtail', image: 'vtail_quad'},
{name: 'Hex H', pos: 7, model: 'custom', image: 'custom'},
{name: 'PPM to SERVO', pos: 22, model: 'custom', image: 'custom'},
{name: 'Dualcopter', pos: 15, model: 'custom', image: 'custom'},
{name: 'Singlecopter', pos: 14, model: 'custom', image: 'custom'},
{name: 'A-tail Quad', pos: 18, model: 'quad_atail', image: 'atail_quad'},
{name: 'Custom', pos: 23, model: 'custom', image: 'custom'},
{name: 'Custom Airplane', pos: 24, model: 'custom', image: 'custom'},
{name: 'Custom Tricopter', pos: 25, model: 'custom', image: 'custom'},
{name: 'Quad X 1234', pos: 1, model: 'quad_x', image: 'quad_x_1234'}
{ name: 'Tricopter', pos: 3, model: 'tricopter', image: 'tri', motors: 3, servos: true },
{ name: 'Quad +', pos: 2, model: 'quad_x', image: 'quad_p', motors: 4, servos: false },
{ name: 'Quad X', pos: 0, model: 'quad_x', image: 'quad_x', motors: 4, servos: false },
{ name: 'Bicopter', pos: 16, model: 'custom', image: 'bicopter', motors: 2, servos: true },
{ name: 'Gimbal', pos: 4, model: 'custom', image: 'custom', motors: 0, servos: true },
{ name: 'Y6', pos: 20, model: 'y6', image: 'y6', motors: 6, servos: false },
{ name: 'Hex +', pos: 5, model: 'hex_plus', image: 'hex_p', motors: 6, servos: false },
{ name: 'Flying Wing', pos: 10, model: 'custom', image: 'flying_wing', motors: 1, servos: true },
{ name: 'Y4', pos: 19, model: 'y4', image: 'y4', motors: 4, servos: false },
{ name: 'Hex X', pos: 6, model: 'hex_x', image: 'hex_x', motors: 6, servos: false },
{ name: 'Octo X8', pos: 21, model: 'custom', image: 'octo_x8', motors: 8, servos: false },
{ name: 'Octo Flat +', pos: 8, model: 'custom', image: 'octo_flat_p', motors: 8, servos: false },
{ name: 'Octo Flat X', pos: 9, model: 'custom', image: 'octo_flat_x', motors: 8, servos: false },
{ name: 'Airplane', pos: 11, model: 'custom', image: 'airplane', motors: 1, servos: true },
{ name: 'Heli 120', pos: 12, model: 'custom', image: 'custom', motors: 1, servos: true },
{ name: 'Heli 90', pos: 13, model: 'custom', image: 'custom', motors: 0, servos: true },
{ name: 'V-tail Quad', pos: 17, model: 'quad_vtail', image: 'vtail_quad', motors: 4, servos: false },
{ name: 'Hex H', pos: 7, model: 'custom', image: 'custom', motors: 6, servos: false },
{ name: 'PPM to SERVO', pos: 22, model: 'custom', image: 'custom', motors: 0, servos: true },
{ name: 'Dualcopter', pos: 15, model: 'custom', image: 'custom', motors: 2, servos: true },
{ name: 'Singlecopter', pos: 14, model: 'custom', image: 'custom', motors: 1, servos: true },
{ name: 'A-tail Quad', pos: 18, model: 'quad_atail', image: 'atail_quad', motors: 4, servos: false },
{ name: 'Custom', pos: 23, model: 'custom', image: 'custom', motors: 0, servos: false },
{ name: 'Custom Airplane', pos: 24, model: 'custom', image: 'custom', motors: 2, servos: true },
{ name: 'Custom Tricopter', pos: 25, model: 'custom', image: 'custom', motors: 3, servos: true },
{ name: 'Quad X 1234', pos: 1, model: 'quad_x', image: 'quad_x_1234', motors: 4, servos: false },
];
// 3D model