mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 13:10:35 +08:00
mc_att_control comment out unused rates_i_scaled
This commit is contained in:
@@ -1015,7 +1015,7 @@ MulticopterAttitudeControl::control_attitude_rates(float dt)
|
||||
rates(2) -= _ctrl_state.yaw_rate_bias;
|
||||
|
||||
math::Vector<3> rates_p_scaled = _params.rate_p.emult(pid_attenuations(_params.tpa_breakpoint_p, _params.tpa_rate_p));
|
||||
math::Vector<3> rates_i_scaled = _params.rate_i.emult(pid_attenuations(_params.tpa_breakpoint_i, _params.tpa_rate_i));
|
||||
//math::Vector<3> rates_i_scaled = _params.rate_i.emult(pid_attenuations(_params.tpa_breakpoint_i, _params.tpa_rate_i));
|
||||
math::Vector<3> rates_d_scaled = _params.rate_d.emult(pid_attenuations(_params.tpa_breakpoint_d, _params.tpa_rate_d));
|
||||
|
||||
/* angular rates error */
|
||||
|
||||
Reference in New Issue
Block a user