// Use this for initialization
 void Awake()
 {
     motor = GetComponent<CMotor>();
 }