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