diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-02-17 19:48:45 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-02-17 20:45:05 +0100 |
commit | acf680389e95c82d2e0df1253f16842d320f3504 (patch) | |
tree | 3306566b97aae41ea080fd5e33b2ce6609b2e81b /src/lib/launchdetection/CatapultLaunchMethod.h | |
parent | 838290fa63cf5592e5c9d7590d0f359f5f81aac3 (diff) | |
download | px4-firmware-acf680389e95c82d2e0df1253f16842d320f3504.tar.gz px4-firmware-acf680389e95c82d2e0df1253f16842d320f3504.tar.bz2 px4-firmware-acf680389e95c82d2e0df1253f16842d320f3504.zip |
launchdetector: add reset, #663
Diffstat (limited to 'src/lib/launchdetection/CatapultLaunchMethod.h')
-rw-r--r-- | src/lib/launchdetection/CatapultLaunchMethod.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/launchdetection/CatapultLaunchMethod.h b/src/lib/launchdetection/CatapultLaunchMethod.h index e943f11e9..b8476b4c8 100644 --- a/src/lib/launchdetection/CatapultLaunchMethod.h +++ b/src/lib/launchdetection/CatapultLaunchMethod.h @@ -55,11 +55,10 @@ public: void update(float accel_x); bool getLaunchDetected(); void updateParams(); + void reset(); private: hrt_abstime last_timestamp; -// float threshold_accel_raw; -// float threshold_time; float integrator; bool launchDetected; |