41 #ifndef CATAPULTLAUNCHMETHOD_H_ 42 #define CATAPULTLAUNCHMETHOD_H_ 47 #include <px4_platform_common/module_params.h> 58 void update(
float accel_x)
override;
60 void reset()
override;
71 (ParamFloat<px4::params::LAUN_CAT_A>) _param_laun_cat_a,
72 (ParamFloat<px4::params::LAUN_CAT_T>) _param_laun_cat_t,
73 (ParamFloat<px4::params::LAUN_CAT_MDEL>) _param_laun_cat_mdel,
74 (ParamFloat<px4::params::LAUN_CAT_PMAX>) _param_laun_cat_pmax
LaunchDetectionResult state
hrt_abstime _last_timestamp
No launch has been detected.
float getPitchMax(float pitchMaxDefault) override
High-resolution timer with callouts and timekeeping.
Base class for different launch methods.
~CatapultLaunchMethod() override=default
CatapultLaunchMethod(ModuleParams *parent)
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
void update(float accel_x) override
LaunchDetectionResult getLaunchDetected() const override