mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
RTH: Better RTH safety. Prevent RTH from activating on airplanes if close to home. Initiate a land on multirotors when close to home.
This commit is contained in:
parent
517c958d17
commit
6d12c38b6c
2 changed files with 58 additions and 40 deletions
|
@ -126,6 +126,7 @@ typedef enum {
|
|||
|
||||
NAV_FSM_EVENT_STATE_SPECIFIC, // State-specific event
|
||||
NAV_FSM_EVENT_SWITCH_TO_WAYPOINT_FINISHED = NAV_FSM_EVENT_STATE_SPECIFIC,
|
||||
NAV_FSM_EVENT_SWITCH_TO_RTH_3D_LANDING = NAV_FSM_EVENT_STATE_SPECIFIC,
|
||||
|
||||
NAV_FSM_EVENT_SWITCH_TO_IDLE,
|
||||
NAV_FSM_EVENT_SWITCH_TO_ALTHOLD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue