// Start is called before the first frame update void Start() { experimentManager = GameObject.Find("Manager").GetComponent <ExperimentManager>(); roomba = GameObject.Find("Manager").GetComponent <RoombaControllerScript>(); controller = GameObject.FindGameObjectWithTag("Controller").GetComponent <VIVEController>(); rb = this.GetComponent <Rigidbody>(); initialPos = GameObject.Find("Target").transform.position; }
// Start is called before the first frame update void Start() { roomba = this.GetComponent <RoombaControllerScript>(); manager = GameObject.Find("Manager").GetComponent <ExperimentManager>(); controller = GameObject.FindGameObjectWithTag("Controller"); VC = controller.GetComponent <VIVEController>(); VE = controller.GetComponent <VelocityEstimator>(); }
// Start is called before the first frame update void Start() { rb = this.GetComponent <Rigidbody>(); experimentManager = GameObject.Find("Manager").GetComponent <ExperimentManager>(); controller = GameObject.FindGameObjectWithTag("Controller"); viveController = controller.GetComponent <VIVEController>(); target = GameObject.Find("Target").GetComponent <Target>(); anim = this.GetComponent <Animator>(); }
// Start is called before the first frame update void Start() { experimentManager = GameObject.Find("Manager").GetComponent <ExperimentManager>(); controller = GameObject.FindGameObjectWithTag("Controller"); viveController = controller.GetComponent <VIVEController>(); target = GameObject.Find("Target").GetComponent <Target>(); test = GameObject.Find("Manager").GetComponent <Test>(); }