PX4 Firmware
PX4 Autopilot Software http://px4.io
launchdetection::LaunchMethod Class Referenceabstract

#include <LaunchMethod.h>

Inheritance diagram for launchdetection::LaunchMethod:
Collaboration diagram for launchdetection::LaunchMethod:

Public Member Functions

virtual ~LaunchMethod ()=default
 
virtual void update (float accel_x)=0
 
virtual LaunchDetectionResult getLaunchDetected () const =0
 
virtual void reset ()=0
 
virtual float getPitchMax (float pitchMaxDefault)=0
 

Detailed Description

Definition at line 57 of file LaunchMethod.h.

Constructor & Destructor Documentation

◆ ~LaunchMethod()

virtual launchdetection::LaunchMethod::~LaunchMethod ( )
virtualdefault

Member Function Documentation

◆ getLaunchDetected()

virtual LaunchDetectionResult launchdetection::LaunchMethod::getLaunchDetected ( ) const
pure virtual

Implemented in launchdetection::CatapultLaunchMethod.

Referenced by launchdetection::LaunchDetector::getLaunchDetected().

Here is the caller graph for this function:

◆ getPitchMax()

virtual float launchdetection::LaunchMethod::getPitchMax ( float  pitchMaxDefault)
pure virtual

Implemented in launchdetection::CatapultLaunchMethod.

Referenced by launchdetection::LaunchDetector::getPitchMax().

Here is the caller graph for this function:

◆ reset()

virtual void launchdetection::LaunchMethod::reset ( )
pure virtual

◆ update()

virtual void launchdetection::LaunchMethod::update ( float  accel_x)
pure virtual

The documentation for this class was generated from the following file: