예제 #1
0
 public NaoHandler(SkeletonAngleHandler _handler, String ip)
 {
     this.ip = ip;
     handler = _handler;
     handler.addMeToAngleSubscriber(this);
     init();
 }
예제 #2
0
        public AngleView(SkeletonAngleHandler _handler, Char armPos)
        {
            handler     = _handler;
            this.armPos = armPos;



            _handler.addMeToAngleSubscriber(this);
            InitializeComponent();

            if (armPos == 'l')
            {
                this.arm_direction.Text = "LEFT-ARM";
            }
            else if (armPos == 'r')
            {
                this.arm_direction.Text = "RIGHT-ARM";
            }
        }
예제 #3
0
        public AngleView(SkeletonAngleHandler _handler, Char armPos)
        {
            handler = _handler;
            this.armPos = armPos;


          

            _handler.addMeToAngleSubscriber(this);
            InitializeComponent();

            if (armPos == 'l')
            {
                this.arm_direction.Text = "LEFT-ARM";
            }
            else if (armPos == 'r')
            {
                this.arm_direction.Text = "RIGHT-ARM";
            }
            
        }
예제 #4
0
 public SkeletonAngleCalculator(SkeletonAngleHandler skeletonAngleHandler)
 {
     this.skeletonAngleHandler = skeletonAngleHandler;
 }
예제 #5
0
 public SkeletonAngleCalculator(SkeletonAngleHandler skeletonAngleHandler)
 {
     this.skeletonAngleHandler = skeletonAngleHandler;
 }