1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

OP-1848 altvario Update dT to speed on sensor update rate

This commit is contained in:
abeck70 2015-05-05 22:49:39 +10:00
parent 0c77d8a21d
commit 593cf18c5c

View File

@ -191,7 +191,7 @@ static void SettingsUpdatedCb(__attribute__((unused)) UAVObjEvent *ev)
altitudeHoldSettings.VerticalVelPID.Ki,
altitudeHoldSettings.VerticalVelPID.Kd,
altitudeHoldSettings.VerticalVelPID.Beta,
(float)(OUTERLOOP_SKIPCOUNT * UPDATE_EXPECTED),
(float)(UPDATE_EXPECTED),
altitudeHoldSettings.ThrustRate);
controlDown.UpdatePositionalParameters(altitudeHoldSettings.VerticalPosP);