Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>();

        //this.generator = GameObject.FindGameObjectWithTag("Generator").GetComponent<Generator>();
        Debug.Log("Models View");
        this.List_models = new List <GameObject>();
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>();

        //this.generator = GameObject.FindGameObjectWithTag("Generator").GetComponent<Generator>();
        Debug.Log("Models View");
        this.List_models = new List<GameObject>();
    }
Ejemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        this.cipc      = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>();
        this.robotBone = new Human();

        this.List_Humans = new List <Human>();
        this.robotBone   = new Human();

        Debug.Log("Generator");
        this.model = Instantiate(this.modelofRobot);
        this.model.transform.parent = this.transform;


        this.Init();
    }
Ejemplo n.º 4
0
    void Start()
    {
        this.robotLight = this.robot.transform.FindChild("RobotLight").gameObject;

        this.cipcKinect = this.CIPCforKinect.GetComponent<CIPCReceiver>();
        this.cipcLS = this.CIPCforLaserScaner.GetComponent<CIPCReceiverLaserScaner>();
        this.pointCloud = this.depth.GetComponent<PointCloud>();
        
        this.List_Human = new List<Human>();
        this.list_humanpos = new List<Vector3>();

        this.cp = new CalculatePosition(0);
        this.centerPos = Vector3.zero;
        this.preCenterPos = new Vector3();

        this.pretime = 0;

        Debug.Log("Light Robot");       
    }
Ejemplo n.º 5
0
 //CIPC
 public void ConnectCIPC()
 {
     this.cipcR = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>();
     this.cipcR.ConnectCIPC(int.Parse(this.myPort.text), this.IP.text, int.Parse(this.serverPort.text));
 }
Ejemplo n.º 6
0
    // Use this for initialization
    void Start()
    {
        this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>();
        this.robotBone = new Human();

        this.List_Humans = new List<Human>();
        this.robotBone = new Human();

        Debug.Log("Generator");
        this.model = Instantiate(this.modelofRobot);
        this.model.transform.parent = this.transform;

        this.Init();
    }
Ejemplo n.º 7
0
    //CIPC
    public void ConnectCIPC()
    {
        this.cipcR = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>();
        this.cipcR.ConnectCIPC(int.Parse(this.myPort.text), this.IP.text, int.Parse(this.serverPort.text));

    }