launchdetector: add reset, #663

This commit is contained in:
Thomas Gubler
2014-02-17 20:45:05 +01:00
parent 838290fa63
commit acf680389e
6 changed files with 17 additions and 3 deletions
@@ -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;