128 #define PASS_TO_BACKEND(function_name) \ 129 void AP_Winch::function_name() \ 134 if (backend != nullptr) { \ 135 backend->function_name(); \ const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#define AP_PARAM_FLAG_ENABLE
#define PASS_TO_BACKEND(function_name)
#define AP_GROUPINFO(name, idx, clazz, element, def)
AP_Winch_Backend * backend
#define AP_GROUPINFO_FLAGS(name, idx, clazz, element, def, flags)
virtual void init(const AP_WheelEncoder *wheel_encoder)=0
void init(const AP_WheelEncoder *wheel_encoder=nullptr)
float get_rate_max() const
bool is_zero(const T fVal1)
void release_length(float length, float rate=0.0f)
friend class AP_Winch_Servo
float constrain_float(const float amt, const float low, const float high)
struct AP_Winch::Backend_Config config
void set_desired_rate(float rate)
Copter PID control class.
#define AP_SUBGROUPINFO(element, name, idx, thisclazz, elclazz)
static const struct AP_Param::GroupInfo var_info[]
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)