working autopilot controller