AC_PID: fill in desired rate for heli PID
This commit is contained in:
parent
09476bf9d3
commit
e79a21d8c2
@ -49,6 +49,7 @@ AC_HELI_PID::AC_HELI_PID(float initial_p, float initial_i, float initial_d, floa
|
||||
float AC_HELI_PID::get_ff(float requested_rate)
|
||||
{
|
||||
_pid_info.FF = (float)requested_rate * _ff;
|
||||
_pid_info.desired = requested_rate;
|
||||
return _pid_info.FF;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user