ardupilot/libraries/APM_Control/AP_PitchController.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
689 B
C
Raw Normal View History

#pragma once
#include "AP_FW_Controller.h"
class AP_PitchController : public AP_FW_Controller
{
public:
AP_PitchController(const AP_FixedWing &parms);
2017-08-30 15:10:44 -03:00
/* Do not allow copies */
2022-09-30 06:50:43 -03:00
CLASS_NO_COPY(AP_PitchController);
float get_servo_out(int32_t angle_err, float scaler, bool disable_integrator, bool ground_mode) override;
static const struct AP_Param::GroupInfo var_info[];
2021-02-27 05:56:41 -04:00
void convert_pid();
private:
AP_Float _roll_ff;
float _get_coordination_rate_offset(const float &aspeed, bool &inverted) const;
float get_airspeed() const override;
bool is_underspeed(const float aspeed) const override;
float get_measured_rate() const override;
};