Wait one physics tick between PID adjustments.

This commit is contained in:
Casper V. Kristensen 2019-06-20 00:10:00 +02:00
parent 5193fc9d68
commit c17fab7703
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -86,5 +86,6 @@ function rcs_translate {
local z is pid_z:update(TIME:seconds, relative_velocity():z).
set SHIP:CONTROL:TRANSLATION to ship_raw_to_ship_control(V(x,y,z)).
wait 0. // wait one physics tick
}
}