aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-10-26 16:01:57 -0700
committerLorenz Meier <lm@inf.ethz.ch>2013-10-26 16:01:57 -0700
commit59c04adada5a6b55d599cb11680ceafc7bf75614 (patch)
tree91e25b847be774f24a5ad6a0964cb08364264659 /src/lib
parent2d4fc9eea1d693bafeeacc1e929d1906418ee3b0 (diff)
parent411eb1f4ef4a273bebb7a46ae095756f8619aa55 (diff)
downloadpx4-firmware-59c04adada5a6b55d599cb11680ceafc7bf75614.tar.gz
px4-firmware-59c04adada5a6b55d599cb11680ceafc7bf75614.tar.bz2
px4-firmware-59c04adada5a6b55d599cb11680ceafc7bf75614.zip
Merge pull request #475 from PX4/fw_autoland
Autolanding for fixed wing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/external_lgpl/tecs/tecs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/external_lgpl/tecs/tecs.h b/src/lib/external_lgpl/tecs/tecs.h
index 2ae6b28bb..4a98c8e97 100644
--- a/src/lib/external_lgpl/tecs/tecs.h
+++ b/src/lib/external_lgpl/tecs/tecs.h
@@ -94,6 +94,11 @@ public:
// Rate of change of velocity along X body axis in m/s^2
float get_VXdot(void) { return _vel_dot; }
+
+ float get_speed_weight() {
+ return _spdWeight;
+ }
+
// log data on internal state of the controller. Called at 10Hz
// void log_data(DataFlash_Class &dataflash, uint8_t msgid);