In this paper, the inverse kinematics of the Stewart platform with the Matlab/Simulink software are used to derive the reference input of the reference model. The reference model of the simulated system of motorcycles autopilot is chosen to improve the uncertainty of the classical PID controller under the road disturbances. The goal of the simulated system of motorcycles autopilot is that the system has the faster and more stable response when the controlled system can be followed the reference model. The reference model of the adaptive autopilot is chosen as a closed-loop system with PID conpensator to achieve the requirement performances of control system, for example, the transient responses (the maxinum overshoot and the rise time) and the steady-state response (steady-state error).