mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 08:45:31 +03:00
Adjust Base Leg
This commit is contained in:
parent
1b3bf3caab
commit
48cbc6bccf
1 changed files with 1 additions and 1 deletions
|
@ -2295,7 +2295,7 @@ static navigationFSMEvent_t navOnEnteringState_NAV_STATE_FW_LANDING_LOITER(navig
|
|||
tmpPos.z = finalApproachAlt;
|
||||
posControl.fwLandState.landWaypoints[FW_AUTOLAND_WP_FINAL_APPROACH] = tmpPos;
|
||||
|
||||
calculateFarAwayPos(&tmpPos, &posControl.fwLandState.landWaypoints[FW_AUTOLAND_WP_FINAL_APPROACH], dir, navFwAutolandConfig()->approachLength / 2);
|
||||
calculateFarAwayPos(&tmpPos, &posControl.fwLandState.landWaypoints[FW_AUTOLAND_WP_FINAL_APPROACH], dir, navConfig()->fw.loiter_radius * 2.5);
|
||||
tmpPos.z = posControl.fwLandState.landAproachAltAgl;
|
||||
posControl.fwLandState.landWaypoints[FW_AUTOLAND_WP_TURN] = tmpPos;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue