From 6294b77211dc9e1bccc223ccbd1d9750c0852860 Mon Sep 17 00:00:00 2001 From: Shiv Tyagi Date: Wed, 24 Nov 2021 00:18:40 +0530 Subject: [PATCH] Rover: make Mis_Done_Behave enum public --- Rover/mode.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Rover/mode.h b/Rover/mode.h index 4e4f0d09c1..605b1c65fe 100644 --- a/Rover/mode.h +++ b/Rover/mode.h @@ -276,6 +276,13 @@ public: FUNCTOR_BIND_MEMBER(&ModeAuto::verify_command_callback, bool, const AP_Mission::Mission_Command&), FUNCTOR_BIND_MEMBER(&ModeAuto::exit_mission, void)}; + enum Mis_Done_Behave { + MIS_DONE_BEHAVE_HOLD = 0, + MIS_DONE_BEHAVE_LOITER = 1, + MIS_DONE_BEHAVE_ACRO = 2, + MIS_DONE_BEHAVE_MANUAL = 3 + }; + protected: bool _enter() override; @@ -324,13 +331,6 @@ private: void do_set_reverse(const AP_Mission::Mission_Command& cmd); void do_guided_limits(const AP_Mission::Mission_Command& cmd); - enum Mis_Done_Behave { - MIS_DONE_BEHAVE_HOLD = 0, - MIS_DONE_BEHAVE_LOITER = 1, - MIS_DONE_BEHAVE_ACRO = 2, - MIS_DONE_BEHAVE_MANUAL = 3 - }; - bool waiting_to_start; // true if waiting for EKF origin before starting mission bool auto_triggered; // true when auto has been triggered to start