mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
rtl refactor: make dependency of rtl_type in status clear
This commit is contained in:
parent
432b0e8c58
commit
f685df32bc
@ -73,11 +73,11 @@ public:
|
||||
~RTL() = default;
|
||||
|
||||
enum class RtlType {
|
||||
NONE,
|
||||
RTL_DIRECT,
|
||||
RTL_DIRECT_MISSION_LAND,
|
||||
RTL_MISSION_FAST,
|
||||
RTL_MISSION_FAST_REVERSE,
|
||||
NONE = rtl_status_s::RTL_STATUS_TYPE_NONE,
|
||||
RTL_DIRECT = rtl_status_s::RTL_STATUS_TYPE_DIRECT_SAFE_POINT,
|
||||
RTL_DIRECT_MISSION_LAND = rtl_status_s::RTL_STATUS_TYPE_DIRECT_MISSION_LAND,
|
||||
RTL_MISSION_FAST = rtl_status_s::RTL_STATUS_TYPE_FOLLOW_MISSION,
|
||||
RTL_MISSION_FAST_REVERSE = rtl_status_s::RTL_STATUS_TYPE_FOLLOW_MISSION_REVERSE,
|
||||
};
|
||||
|
||||
void on_inactive() override;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user