mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 16:55:29 +03:00
Merge pull request #9462 from breadoven/abo_circularloiter_fix
Fixed wing RC altitude adjustment fix
This commit is contained in:
commit
a0b2844012
1 changed files with 1 additions and 1 deletions
|
@ -518,8 +518,8 @@ void applyFixedWingPositionController(timeUs_t currentTimeUs)
|
|||
// POSITION_TARGET_UPDATE_RATE_HZ should be chosen keeping in mind that position target shouldn't be reached until next pos update occurs
|
||||
// FIXME: verify the above
|
||||
calculateVirtualPositionTarget_FW(HZ2S(MIN_POSITION_UPDATE_RATE_HZ) * 2);
|
||||
|
||||
updatePositionHeadingController_FW(currentTimeUs, deltaMicrosPositionUpdate);
|
||||
needToCalculateCircularLoiter = false;
|
||||
}
|
||||
else {
|
||||
// Position update has not occurred in time (first iteration or glitch), reset altitude controller
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue