aboutsummaryrefslogtreecommitdiff
path: root/src/lib/launchdetection/LaunchMethod.h
diff options
context:
space:
mode:
authorStefan Rado <px4@sradonia.net>2014-03-22 11:13:54 +0100
committerStefan Rado <px4@sradonia.net>2014-03-22 11:13:54 +0100
commit1a98589f3a5f38dcbe65213e9c914e594241532a (patch)
treeeaedb8d8257b8469dc65c4354bafbd2b73826a6d /src/lib/launchdetection/LaunchMethod.h
parentec78fcf2b9e75c6ca9ab6cd0772ee2b7beef4300 (diff)
parenta1fad76f2b40aaa41817510e1a6748b111041f8f (diff)
downloadpx4-firmware-1a98589f3a5f38dcbe65213e9c914e594241532a.tar.gz
px4-firmware-1a98589f3a5f38dcbe65213e9c914e594241532a.tar.bz2
px4-firmware-1a98589f3a5f38dcbe65213e9c914e594241532a.zip
Merge remote-tracking branch 'remotes/origin/master' into param_tool
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_ */