23 if (_alt_max < 100 && _pos_target.z >
_alt_max) {
76 if (_alt_max < 100 && _pos_target.z >
_alt_max) {
const AP_Motors & _motors
float safe_sqrt(const T v)
struct AP_Motors::AP_Motors_limit limit
AP_MotorsMatrix motors(400)
struct AC_PosControl::poscontrol_limit_flags _limit
bool is_zero(const T fVal1)
#define POSCONTROL_JERK_RATIO
struct AC_PosControl::poscontrol_flags _flags
#define POSCONTROL_OVERSPEED_GAIN_Z
float constrain_float(const float amt, const float low, const float high)
void set_alt_target_from_climb_rate(float climb_rate_cms, float dt, bool force_descend) override
void set_alt_target_from_climb_rate_ff(float climb_rate_cms, float dt, bool force_descend) override
AC_PosControl_Sub(const AP_AHRS_View &ahrs, const AP_InertialNav &inav, const AP_Motors &motors, AC_AttitudeControl &attitude_control)