aboutsummaryrefslogtreecommitdiff
path: root/src/lib/launchdetection/LaunchMethod.h
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2014-03-29 11:16:15 +0100
committerJulian Oes <julian@oes.ch>2014-03-29 11:16:15 +0100
commit33d65eae97994ab5b47188853029965b18a819a2 (patch)
tree8054384373de19db243a4a8289ff4c837da7d4ea /src/lib/launchdetection/LaunchMethod.h
parent873fa4cb40a8ac5b57f3212bb233027f422b92a3 (diff)
parent9b1de5004c673ebe8bdf68f1b518565cccd6b05b (diff)
downloadpx4-firmware-33d65eae97994ab5b47188853029965b18a819a2.tar.gz
px4-firmware-33d65eae97994ab5b47188853029965b18a819a2.tar.bz2
px4-firmware-33d65eae97994ab5b47188853029965b18a819a2.zip
Merge remote-tracking branch 'px4/master' into bottle_drop
Diffstat (limited to 'src/lib/launchdetection/LaunchMethod.h')
-rw-r--r--src/lib/launchdetection/LaunchMethod.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/launchdetection/LaunchMethod.h b/src/lib/launchdetection/LaunchMethod.h
index bfb5f8cb4..01fa7050e 100644
--- a/src/lib/launchdetection/LaunchMethod.h
+++ b/src/lib/launchdetection/LaunchMethod.h
@@ -41,14 +41,20 @@
#ifndef LAUNCHMETHOD_H_
#define LAUNCHMETHOD_H_
+namespace launchdetection
+{
+
class LaunchMethod
{
public:
virtual void update(float accel_x) = 0;
virtual bool getLaunchDetected() = 0;
- virtual void updateParams() = 0;
+ virtual void reset() = 0;
+
protected:
private:
};
+}
+
#endif /* LAUNCHMETHOD_H_ */