mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 20:35:19 +03:00
Added new Waypoints operand group
Added new Waypoints operand group and updated flight operand.
This commit is contained in:
parent
c28aa86232
commit
cdcf693544
1 changed files with 32 additions and 19 deletions
51
js/fc.js
51
js/fc.js
|
@ -1204,24 +1204,21 @@ var FC = {
|
||||||
20: "Is Controlling Position",
|
20: "Is Controlling Position",
|
||||||
21: "Is Emergency Landing",
|
21: "Is Emergency Landing",
|
||||||
22: "Is RTH",
|
22: "Is RTH",
|
||||||
23: "Is WP",
|
23: "Is Landing",
|
||||||
24: "Is Landing",
|
24: "Is Failsafe",
|
||||||
25: "Is Failsafe",
|
25: "Stabilized Roll",
|
||||||
26: "Stabilized Roll",
|
26: "Stabilized Pitch",
|
||||||
27: "Stabilized Pitch",
|
27: "Stabilized Yaw",
|
||||||
28: "Stabilized Yaw",
|
28: "3D home distance [m]",
|
||||||
29: "Current Waypoint Index",
|
29: "CRSF LQ",
|
||||||
30: "Current Waypoint Action",
|
30: "CRSF SNR",
|
||||||
31: "3D home distance [m]",
|
31: "GPS Valid Fix",
|
||||||
32: "CRSF LQ",
|
32: "Loiter Radius [cm]",
|
||||||
33: "CRSF SNR",
|
33: "Active Profile",
|
||||||
34: "GPS Valid Fix",
|
34: "Battery cells",
|
||||||
35: "Loiter Radius [cm]",
|
35: "AGL status [0/1]",
|
||||||
36: "Active Profile",
|
36: "AGL [cm]",
|
||||||
37: "Battery cells",
|
37: "Rangefinder [cm]",
|
||||||
38: "AGL status [0/1]",
|
|
||||||
39: "AGL [cm]",
|
|
||||||
40: "Rangefinder [cm]",
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
|
@ -1262,7 +1259,23 @@ var FC = {
|
||||||
type: "range",
|
type: "range",
|
||||||
range: [0, 3],
|
range: [0, 3],
|
||||||
default: 0
|
default: 0
|
||||||
}
|
},
|
||||||
|
7: {
|
||||||
|
name: "Waypoints",
|
||||||
|
type: "dictionary",
|
||||||
|
default: 0,
|
||||||
|
values: {
|
||||||
|
0: "Is WP",
|
||||||
|
1: "Current Waypoint Index",
|
||||||
|
2: "Current Waypoint Action",
|
||||||
|
3: "Next Waypoint Distance [m]",
|
||||||
|
4: "Distance from Waypoint [m]",
|
||||||
|
5: "User Action 1",
|
||||||
|
6: "User Action 2",
|
||||||
|
7: "User Action 3",
|
||||||
|
8: "User Action 4",
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBatteryProfileParameters: function () {
|
getBatteryProfileParameters: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue