Exemple #1
0
	// Use this for initialization
	void Start ()
    { 
        this.pointCloud = this.pointCloudShadow.GetComponent<PointCloud>();
        this.cipcLS = this.CIPCforLS.GetComponent<CIPCReceiverLaserScaner>();
        this.CP = new CalculatePosition();
	
	}
Exemple #2
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");       
    }