mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1564 Fix regression introduced with Acro+
This commit is contained in:
parent
6774e82cc8
commit
38a74431bf
@ -16,11 +16,11 @@ Item {
|
|||||||
property variant flightmodeColors : ["gray", "green", "green", "green", "green", "green", "green", "red",
|
property variant flightmodeColors : ["gray", "green", "green", "green", "green", "green", "green", "red",
|
||||||
"cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan"]
|
"cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan", "cyan"]
|
||||||
|
|
||||||
// Manual,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Rattitude,RelayRate,RelayAttitude,
|
// Manual,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Acro+,Rattitude,RelayRate,RelayAttitude,
|
||||||
// AltitudeHold,AltitudeVario,CruiseControl + Auto mode (VTOL/Wing pathfollower)
|
// AltitudeHold,AltitudeVario,CruiseControl + Auto mode (VTOL/Wing pathfollower)
|
||||||
// grey : 'disabled' modes
|
// grey : 'disabled' modes
|
||||||
|
|
||||||
property variant thrustmodeColors : ["green", "grey", "grey", "grey", "grey", "grey", "grey", "grey", "grey",
|
property variant thrustmodeColors : ["green", "grey", "grey", "grey", "grey", "grey", "grey", "grey", "grey", "grey",
|
||||||
"green", "green", "green", "cyan"]
|
"green", "green", "green", "cyan"]
|
||||||
|
|
||||||
// SystemSettings.AirframeType 3 - 17 : VtolPathFollower, check ThrustControl
|
// SystemSettings.AirframeType 3 - 17 : VtolPathFollower, check ThrustControl
|
||||||
@ -224,12 +224,12 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: FlightStatus.FlightMode < 1 ? "grey" : warnings.thrustmodeColors[thrust_mode.toString()]
|
color: FlightStatus.FlightMode < 1 ? "grey" : warnings.thrustmodeColors[thrust_mode.toString()]
|
||||||
|
|
||||||
// Manual,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Rattitude,RelayRate,RelayAttitude,
|
// Manual,Rate,Attitude,AxisLock,WeakLeveling,VirtualBar,Acro+,Rattitude,RelayRate,RelayAttitude,
|
||||||
// AltitudeHold,AltitudeVario,CruiseControl
|
// AltitudeHold,AltitudeVario,CruiseControl
|
||||||
// grey : 'disabled' modes
|
// grey : 'disabled' modes
|
||||||
Text {
|
Text {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: ["MANUAL"," "," ", " ", " ", " ", " ", " ", " ",
|
text: ["MANUAL"," "," ", " ", " ", " ", " ", " ", " ", " ",
|
||||||
"ALT HOLD", "ALT VARIO", "CRUISECTRL", "AUTO"][thrust_mode.toString()]
|
"ALT HOLD", "ALT VARIO", "CRUISECTRL", "AUTO"][thrust_mode.toString()]
|
||||||
font {
|
font {
|
||||||
family: "Arial"
|
family: "Arial"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user