Copter: removed HomeState from defines.h

now in AP_Common.h
This commit is contained in:
Andrew Tridgell 2015-02-21 10:14:32 +11:00
parent 76f8b9b07c
commit 74ef1b8d2f

View File

@ -171,13 +171,6 @@
#define WP_YAW_BEHAVIOR_LOOK_AT_NEXT_WP_EXCEPT_RTL 2 // auto pilot will face next waypoint except when doing RTL at which time it will stay in it's last
#define WP_YAW_BEHAVIOR_LOOK_AHEAD 3 // auto pilot will look ahead during missions and rtl (primarily meant for traditional helicotpers)
// home states (held in ap.home_state flags)
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
};
// Auto modes
enum AutoMode {
Auto_TakeOff,