Example #1
0
 public NaoHandler(SkeletonAngleHandler _handler, String ip)
 {
     this.ip = ip;
     handler = _handler;
     handler.addMeToAngleSubscriber(this);
     init();
 }
Example #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";
            }
        }
Example #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";
            }
            
        }
Example #4
0
 public SkeletonAngleCalculator(SkeletonAngleHandler skeletonAngleHandler)
 {
     this.skeletonAngleHandler = skeletonAngleHandler;
 }
 public SkeletonAngleCalculator(SkeletonAngleHandler skeletonAngleHandler)
 {
     this.skeletonAngleHandler = skeletonAngleHandler;
 }