diff options
author | sjwilks <sjwilks@gmail.com> | 2014-09-11 09:49:14 +0200 |
---|---|---|
committer | sjwilks <sjwilks@gmail.com> | 2014-09-11 09:49:14 +0200 |
commit | 852b36661d5f03d76c8217444554122c3cadfba0 (patch) | |
tree | 3814de9a3f7bd92c68f38975184f86139accef29 /src/lib/launchdetection/LaunchDetector.h | |
parent | e4f3fd88f0623659e6759b9b076be15e4e2f5703 (diff) | |
parent | 26e6d7e12e5036b0e3008b0543d7771d3e527a39 (diff) | |
download | px4-firmware-852b36661d5f03d76c8217444554122c3cadfba0.tar.gz px4-firmware-852b36661d5f03d76c8217444554122c3cadfba0.tar.bz2 px4-firmware-852b36661d5f03d76c8217444554122c3cadfba0.zip |
Merge pull request #1356 from PX4/launchpitchlimit_master
FW: additional upper pitch limit during launch
Diffstat (limited to 'src/lib/launchdetection/LaunchDetector.h')
-rw-r--r-- | src/lib/launchdetection/LaunchDetector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/launchdetection/LaunchDetector.h b/src/lib/launchdetection/LaunchDetector.h index b48e724ba..4215b49d2 100644 --- a/src/lib/launchdetection/LaunchDetector.h +++ b/src/lib/launchdetection/LaunchDetector.h @@ -64,6 +64,9 @@ public: float getThrottlePreTakeoff() {return throttlePreTakeoff.get(); } + /* Returns a maximum pitch in deg. Different launch methods may impose upper pitch limits during launch */ + float getPitchMax(float pitchMaxDefault); + // virtual bool getLaunchDetected(); protected: private: |