mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: make Mis_Done_Behave enum public
This commit is contained in:
parent
f319c36de1
commit
6294b77211
14
Rover/mode.h
14
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user