aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/tecs_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/uORB/topics/tecs_status.h')
-rw-r--r--src/modules/uORB/topics/tecs_status.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/tecs_status.h b/src/modules/uORB/topics/tecs_status.h
index f3d33ec20..fc530b295 100644
--- a/src/modules/uORB/topics/tecs_status.h
+++ b/src/modules/uORB/topics/tecs_status.h
@@ -50,6 +50,14 @@
* @{
*/
+typedef enum {
+ TECS_MODE_NORMAL,
+ TECS_MODE_UNDERSPEED,
+ TECS_MODE_TAKEOFF,
+ TECS_MODE_LAND,
+ TECS_MODE_LAND_THROTTLELIM
+} tecs_mode;
+
/**
* Internal values of the (m)TECS fixed wing speed alnd altitude control system
*/
@@ -69,6 +77,8 @@ struct tecs_status_s {
float totalEnergyRate;
float energyDistributionRateSp;
float energyDistributionRate;
+
+ tecs_mode mode;
};
/**