AP_Common: added HomeState enum from copter
This commit is contained in:
parent
6781a8d329
commit
a53395cdb8
@ -116,6 +116,15 @@ struct PACKED Location {
|
||||
int32_t lng; ///< param 4 - Longitude * 10**7
|
||||
};
|
||||
|
||||
/*
|
||||
home states. Used to record if user has overridden home position.
|
||||
*/
|
||||
enum HomeState {
|
||||
HOME_UNSET, // home is unset, no GPS positions yet received
|
||||
HOME_SET_NOT_LOCKED, // home is set to EKF origin or armed location (can be moved)
|
||||
HOME_SET_AND_LOCKED // home has been set by user, cannot be moved except by user initiated do-set-home command
|
||||
};
|
||||
|
||||
//@}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user