43 #include <px4_platform_common/log.h> 64 launchMethod->reset();
75 launchMethod->update(accel_x);
87 PX4_INFO(
"selecting launchmethod %d", i);
104 return pitchMaxDefault;
111 return pitchMaxDefault;
float getPitchMax(float pitchMaxDefault)
No launch has been detected.
virtual float getPitchMax(float pitchMaxDefault)=0
LaunchMethod * _launchMethods[1]
int _activeLaunchDetectionMethodIndex
bool launchDetectionEnabled()
Auto Detection for different launch methods (e.g.
LaunchDetectionResult getLaunchDetected()
LaunchDetector(ModuleParams *parent)
Catpult Launch detection.
void update(float accel_x)
virtual LaunchDetectionResult getLaunchDetected() const =0
~LaunchDetector() override