mavlink add minimal mode (#8947)

This commit is contained in:
Daniel Agar
2018-03-04 17:50:28 -05:00
committed by GitHub
parent 6caeb2da4f
commit 5ef27c5425
4 changed files with 43 additions and 10 deletions
+5 -2
View File
@@ -169,7 +169,8 @@ public:
MAVLINK_MODE_OSD,
MAVLINK_MODE_MAGIC,
MAVLINK_MODE_CONFIG,
MAVLINK_MODE_IRIDIUM
MAVLINK_MODE_IRIDIUM,
MAVLINK_MODE_MINIMAL
};
enum BROADCAST_MODE {
@@ -201,12 +202,14 @@ public:
case MAVLINK_MODE_IRIDIUM:
return "Iridium";
case MAVLINK_MODE_MINIMAL:
return "Minimal";
default:
return "Unknown";
}
}
void set_mode(enum MAVLINK_MODE);
enum MAVLINK_MODE get_mode() { return _mode; }
bool get_hil_enabled() { return _hil_enabled; }