예제 #1
0
    void Awake()
    {
        Arduino = GameObject.GetComponent <JohnArduinoManager>();

        RotateL2 = HingeL2.GetComponent <GeneralRotate>();
        RotateL3 = HingeL3.GetComponent <GeneralRotate>();
        RotateL4 = HingeL4.GetComponent <GeneralRotate>();

        RotateR2 = HingeR2.GetComponent <GeneralRotate>();
        RotateR3 = HingeR3.GetComponent <GeneralRotate>();
        RotateR4 = HingeR4.GetComponent <GeneralRotate>();
    }
예제 #2
0
파일: rotL1.cs 프로젝트: jmcclell44/adaptic
    void Awake()
    {
        Arduino = GameObject.GetComponent<JohnArduinoManager>();

    }
예제 #3
0
파일: IMU.cs 프로젝트: jmcclell44/adaptic
 //private int zeroToggle = 0;
 void Awake()
 {
     bend    = angle.GetComponent <GeneralRotate>();
     Arduino = quant.GetComponent <JohnArduinoManager>();
 }