Browse Source
* mc_pos_control: ignore a NaN/inf position setpoint This is a hotfix that prevents the position controller from trying to do velocity control with a position setpoint that isn't valid in the first place. This is only a workaround, ideally the controls later should not scale down throttle to the minimum just because the position setpoint is far away if they still have valid setpoint in z. * mc_pos_control: use PX4_ISFINITE and not isfinitesbg
1 changed files with 10 additions and 2 deletions
Loading…
Reference in new issue