25 #define AP_WINCH_POS_P 1.00f 26 #define AP_WINCH_RATE_P 1.00f 27 #define AP_WINCH_RATE_I 0.50f 28 #define AP_WINCH_RATE_IMAX 1.00f 29 #define AP_WINCH_RATE_D 0.00f 30 #define AP_WINCH_RATE_FILT 5.00f 31 #define AP_WINCH_RATE_DT 0.10f Generic PID algorithm, with EEPROM-backed storage of constants.
static auto MAX(const A &one, const B &two) -> decltype(one > two ? one :two)
AP_Winch_Backend * backend
float get_line_length() const
A system for managing and storing variables that are of general interest to the system.
void init(const AP_WheelEncoder *wheel_encoder=nullptr)
float get_rate_max() const
void release_length(float length, float rate=0.0f)
#define AP_WINCH_RATE_IMAX
Common definitions and utility routines for the ArduPilot libraries.
struct AP_Winch::Backend_Config config
void set_desired_rate(float rate)
Copter PID control class.
static const struct AP_Param::GroupInfo var_info[]
#define AP_WINCH_RATE_FILT