MotorControlThread receives and sends data.