Ejemplo n.º 1
0
        public ToNao2(String IP, int port, Kinect kinect, int avg)
        {
            this.motioProxy   = new MotionProxy(IP, port);
            this.memProxy     = new MemoryProxy(IP, port);
            this.postureproxy = new RobotPostureProxy(IP, port);
            this.sensor       = kinect;
            this.jointAngles  = new Dictionary <string, float>();
            this.avgPoint     = new Dictionary <JointType, SkeletonPoint>();
            this.avg          = avg;
            this.iteration    = 0;

            setUpjointAngleDictionary();
        }
Ejemplo n.º 2
0
        public ToNao2(String IP, int port, Kinect kinect, int avg)
        {
            this.motioProxy = new MotionProxy(IP, port);
            this.memProxy = new MemoryProxy(IP, port);
            this.postureproxy = new RobotPostureProxy(IP, port);
            this.sensor = kinect;
            this.jointAngles = new Dictionary<string, float>();
            this.avgPoint = new Dictionary<JointType, SkeletonPoint>();
            this.avg = avg;
            this.iteration = 0;

            setUpjointAngleDictionary();
        }