diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2013-12-29 16:42:31 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2013-12-29 16:42:39 +0100 |
commit | 95bdc1a9bd364ce95abe06b097579cc8a9162e33 (patch) | |
tree | 2b93a7b41fff5d719e240babf54ad22871c3f223 /src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp | |
parent | 6a9423b428c78e4c2ea295544df50f5b1f0cd49d (diff) | |
download | px4-firmware-95bdc1a9bd364ce95abe06b097579cc8a9162e33.tar.gz px4-firmware-95bdc1a9bd364ce95abe06b097579cc8a9162e33.tar.bz2 px4-firmware-95bdc1a9bd364ce95abe06b097579cc8a9162e33.zip |
fw att ctrl: removed unused parameter
Diffstat (limited to 'src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp')
-rw-r--r-- | src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp b/src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp index 882fac02b..b66d1dba5 100644 --- a/src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp +++ b/src/lib/ecl/attitude_fw/ecl_pitch_controller.cpp @@ -90,6 +90,7 @@ float ECL_PitchController::control_attitude(float pitch_setpoint, float roll, fl } /* calculate the offset in the rate resulting from rolling */ + //xxx needs explanation and conversion to body angular rates or should be removed float turn_offset = fabsf((CONSTANTS_ONE_G / airspeed) * tanf(roll) * sinf(roll)) * _roll_ff; if (inverted) |