AntennaTracker: added STOP mode

to stop tracker moving
This commit is contained in:
Andrew Tridgell 2014-03-22 19:08:17 +11:00
parent ba312ee68e
commit 262f8b9f48
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,9 @@ static NOINLINE void send_heartbeat(mavlink_channel_t chan)
base_mode |= MAV_MODE_FLAG_MANUAL_INPUT_ENABLED;
break;
case STOP:
break;
case AUTO:
base_mode |= MAV_MODE_FLAG_GUIDED_ENABLED |
MAV_MODE_FLAG_STABILIZE_ENABLED;

View File

@ -55,6 +55,7 @@
enum ControlMode {
MANUAL=0,
STOP=1,
AUTO=10,
INITIALISING=16
};