Path: blob/master/libraries/APM_Control/AP_RollController.h
9315 views
#pragma once12#include "AP_FW_Controller.h"34class AP_RollController : public AP_FW_Controller5{6public:7AP_RollController(const AP_FixedWing &parms);89/* Do not allow copies */10CLASS_NO_COPY(AP_RollController);1112float get_servo_out(int32_t angle_err, float scaler, bool disable_integrator, bool ground_mode) override;1314static const struct AP_Param::GroupInfo var_info[];1516void convert_pid();1718/*19set the in_recovery flag, which is used during a VTOL upset recovery20this flag only lasts one loop21*/22void set_in_recovery(void) {23in_recovery = true;24}2526private:27float get_airspeed() const override;28bool is_underspeed(const float aspeed) const override;29float get_measured_rate() const override;3031bool in_recovery;32};333435