A 2-DOF Attitude Control Strategy Based on Quaternion