aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-05-30 19:36:06 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-05-30 19:36:06 +0200
commit33356ed50386ceb086595e5bd13e42d8fd924add (patch)
tree794684c1fd6d1ba67dbab9e87b0af41078ba129c /src/modules/fw_pos_control_l1/mtecs/mTecs.cpp
parenteed1b685373ee8e81a182ade937e25f2f7b3a3fe (diff)
downloadpx4-firmware-33356ed50386ceb086595e5bd13e42d8fd924add.tar.gz
px4-firmware-33356ed50386ceb086595e5bd13e42d8fd924add.tar.bz2
px4-firmware-33356ed50386ceb086595e5bd13e42d8fd924add.zip
mtecs publish state
Diffstat (limited to 'src/modules/fw_pos_control_l1/mtecs/mTecs.cpp')
-rw-r--r--src/modules/fw_pos_control_l1/mtecs/mTecs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp
index d370bf906..039fc34a8 100644
--- a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp
+++ b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp
@@ -224,6 +224,7 @@ int mTecs::updateFlightPathAngleAcceleration(float flightPathAngle, float flight
_status.totalEnergyRate = totalEnergyRate;
_status.energyDistributionRateSp = energyDistributionRateSp;
_status.energyDistributionRate = energyDistributionRate;
+ _status.mode = mode;
/** update control blocks **/
/* update total energy rate control block */