Adaptive autopilots for tankers