mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 17:03:34 +08:00
fw_pos_control_l1: pass time through from run
This commit is contained in:
@@ -55,13 +55,12 @@ public:
|
||||
CatapultLaunchMethod(ModuleParams *parent);
|
||||
~CatapultLaunchMethod() override = default;
|
||||
|
||||
void update(float accel_x) override;
|
||||
void update(const float dt, float accel_x) override;
|
||||
LaunchDetectionResult getLaunchDetected() const override;
|
||||
void reset() override;
|
||||
float getPitchMax(float pitchMaxDefault) override;
|
||||
|
||||
private:
|
||||
hrt_abstime _last_timestamp{0};
|
||||
float _integrator{0.0f};
|
||||
float _motorDelayCounter{0.0f};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user