diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-30 19:36:06 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-30 19:36:06 +0200 |
commit | 33356ed50386ceb086595e5bd13e42d8fd924add (patch) | |
tree | 794684c1fd6d1ba67dbab9e87b0af41078ba129c /src/modules/fw_pos_control_l1/mtecs/mTecs.cpp | |
parent | eed1b685373ee8e81a182ade937e25f2f7b3a3fe (diff) | |
download | px4-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.cpp | 1 |
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 */ |