|
|
|
@ -445,7 +445,7 @@ void Joystick::run(void)
@@ -445,7 +445,7 @@ void Joystick::run(void)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (_activeVehicle->joystickEnabled() && _calibrated) { |
|
|
|
|
if (_activeVehicle->joystickEnabled() && !_calibrationMode && _calibrated) { |
|
|
|
|
int axis = _rgFunctionAxis[rollFunction]; |
|
|
|
|
float roll = _adjustRange(_rgAxisValues[axis], _rgCalibration[axis], _deadband); |
|
|
|
|
|
|
|
|
|