diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-09-12 17:38:23 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-09-12 17:38:23 +0200 |
commit | 59bd9ae92b7744a5b687c7aa38f4f7b5292574cf (patch) | |
tree | 2f1cbbbeee967435bbf15ecd789c5542d115c941 /apps | |
parent | cab1fed3e94c79649a0a8321a33037342ce7d973 (diff) | |
download | px4-firmware-59bd9ae92b7744a5b687c7aa38f4f7b5292574cf.tar.gz px4-firmware-59bd9ae92b7744a5b687c7aa38f4f7b5292574cf.tar.bz2 px4-firmware-59bd9ae92b7744a5b687c7aa38f4f7b5292574cf.zip |
Re-enabled scaling for roll
Diffstat (limited to 'apps')
-rw-r--r-- | apps/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sensors/sensors.cpp b/apps/sensors/sensors.cpp index fae19b12a..8a9e4d1ab 100644 --- a/apps/sensors/sensors.cpp +++ b/apps/sensors/sensors.cpp @@ -989,7 +989,7 @@ Sensors::ppm_poll() if (manual_control.roll < -1.0f) manual_control.roll = -1.0f; if (manual_control.roll > 1.0f) manual_control.roll = 1.0f; if (!isnan(_parameters.rc_scale_roll) || isinf(_parameters.rc_scale_roll)) - //manual_control.roll *= _parameters.rc_scale_roll; + manual_control.roll *= _parameters.rc_scale_roll; /* * pitch input - stick down is negative, but stick down is pitching up (pos) in NED, |