ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

AC_AttitudeControl: Fix dt update order

Open lthall opened this issue 5 months ago • 5 comments

This PR moves the movement of target position to the first step of the attitude controller where it knows the dt.

Currently we assume the next dt will be the same as the last dt. This causes noise in the rate controllers when dt changes and high rates are being requested.

Limitations in ATT logging has made this difficult to observe previously.

Before: image

After: image

lthall avatar Sep 08 '24 07:09 lthall