// Use this for initialization void Start() { m_inst = m3piComm.getInst(); m_inst.open(); m_inst.setName(robotName); rot = this.transform.rotation; pos = this.transform.position; //Debug.Log (pos); }
// Use this for initialization void Start() { _destination = new Vector3(); if (!_isViewer) { _robotCtrl = new m3piComm(); _robotCtrl.setName("B"); } step = 1; wCtrl = stylus.GetComponent <wandCtrl> (); }
// Use this for initialization void Start() { m3piCtrler = new m3piComm(); m3piCtrler.setName(robotName); count = 0; step = 1; countNo = 40; // initialize isLastRound = false; isLastStraight = false; lastPos = new Vector3(); lastRot = Quaternion.identity; yThreshold = 0.07f; //sync (carB2, carA2); carB2ref.SetActive(false); //enableTest = true; }
void createM3pi() { m3piCtrl = new m3piComm(); m3piCtrl.setName("B"); print("create ctrl"); }