diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-16 21:43:11 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-10-16 21:43:11 +0200 |
commit | 71ac33596836519a341001bb48a8835b8af75cd3 (patch) | |
tree | c16c020b2e232e6c658525684a940fe1544572da /src/lib/external_lgpl | |
parent | 4532eca4ef6f6170765062ccd2ca7f29814e0b3a (diff) | |
download | px4-firmware-71ac33596836519a341001bb48a8835b8af75cd3.tar.gz px4-firmware-71ac33596836519a341001bb48a8835b8af75cd3.tar.bz2 px4-firmware-71ac33596836519a341001bb48a8835b8af75cd3.zip |
Small improvements to autoland, ensure that throttle can be shut down close to touch down. Depends on accurate land WP altitude
Diffstat (limited to 'src/lib/external_lgpl')
-rw-r--r-- | src/lib/external_lgpl/tecs/tecs.h | 5 |
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); |