mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
Gilde + Flare Fix
This commit is contained in:
parent
d7b36611f9
commit
cdc1a05e7c
1 changed files with 2 additions and 2 deletions
|
@ -2266,8 +2266,8 @@ static navigationFSMEvent_t navOnEnteringState_NAV_STATE_FW_LANDING_LOITER(navig
|
|||
dir = wrap_36000(approachHeading + 9000);
|
||||
}
|
||||
|
||||
tmpPos = posControl.rthState.homePosition.pos;
|
||||
tmpPos.z = posControl.fwLandAltAgl;
|
||||
calculateFarAwayPos(&tmpPos, &posControl.rthState.homePosition.pos, posControl.fwLandingDirection, navFwAutolandConfig()->approachLength);
|
||||
tmpPos.z = posControl.fwLandAltAgl - finalApproachAlt;
|
||||
posControl.fwLandWaypoint[FW_AUTOLAND_WP_LAND] = tmpPos;
|
||||
|
||||
calculateFarAwayPos(&tmpPos, &posControl.rthState.homePosition.pos, wrap_36000(posControl.fwLandingDirection + 18000), navFwAutolandConfig()->approachLength);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue