Пример #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;
 }