mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 06:15:14 +03:00
Landing: configurable dive angle
This commit is contained in:
parent
2869d885f0
commit
280e1895af
4 changed files with 9 additions and 2 deletions
|
@ -468,7 +468,7 @@ void applyFixedWingPitchRollThrottleController(navigationFSMStateFlags_t navStat
|
|||
* Stabilize PITCH angle into shallow dive (2 deg hardcoded ATM)
|
||||
* PITCH angle is measured: >0 - dive, <0 - climb)
|
||||
*/
|
||||
rcCommand[PITCH] = pidAngleToRcCommand(DEGREES_TO_DECIDEGREES(2), pidProfile()->max_angle_inclination[FD_PITCH]);
|
||||
rcCommand[PITCH] = pidAngleToRcCommand(DEGREES_TO_DECIDEGREES(navConfig()->fw.land_dive_angle), pidProfile()->max_angle_inclination[FD_PITCH]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue