px4_custom_mode: add custom sub mode orbit

This commit is contained in:
Matthias Grob
2018-12-18 14:40:07 +01:00
parent 1cee90d42f
commit d4a40f5d99
2 changed files with 13 additions and 0 deletions
+5
View File
@@ -66,6 +66,11 @@ enum PX4_CUSTOM_SUB_MODE_AUTO {
PX4_CUSTOM_SUB_MODE_AUTO_PRECLAND
};
enum PX4_CUSTOM_SUB_MODE_POSCTL {
PX4_CUSTOM_SUB_MODE_POSCTL_POSCTL = 0,
PX4_CUSTOM_SUB_MODE_POSCTL_ORBIT
};
union px4_custom_mode {
struct {
uint16_t reserved;