mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-17 21:35:37 +03:00
Update navigation_fixedwing.c
This commit is contained in:
parent
a54849be04
commit
9c01d065b3
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