autopilot by reading sensors