mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AC_AttControl: bug fix to angle_boost reporting
Thanks to OXINARF for finding this
This commit is contained in:
parent
20c48960e8
commit
5b765ef0d9
@ -9,8 +9,8 @@
|
||||
float AC_AttitudeControl_Multi::get_boosted_throttle(float throttle_in)
|
||||
{
|
||||
if (!_angle_boost_enabled) {
|
||||
return throttle_in;
|
||||
_angle_boost = 0;
|
||||
return throttle_in;
|
||||
}
|
||||
// inverted_factor is 1 for tilt angles below 60 degrees
|
||||
// reduces as a function of angle beyond 60 degrees
|
||||
|
Loading…
Reference in New Issue
Block a user