Browse Source

Joystick: correct throttle UI with negative throttle

QGC4.4
khancyr 8 years ago
parent
commit
8f1ee3c931
  1. 2
      src/VehicleSetup/JoystickConfig.qml

2
src/VehicleSetup/JoystickConfig.qml

@ -296,7 +296,7 @@ SetupPage { @@ -296,7 +296,7 @@ SetupPage {
Connections {
target: _activeJoystick
onManualControl: throttleLoader.item.axisValue = (-2*throttle+1)*32768.0
onManualControl: throttleLoader.item.axisValue = _activeJoystick.negativeThrust ? -throttle*32768.0 : (-2*throttle+1)*32768.0
}
}
} // Column - Attitude Control labels

Loading…
Cancel
Save