Esempio n. 1
0
        public void init()
        {
            //make sure nao is ready to move
            try
            {

                rp = new RobotPostureProxy(ip, 9559);
                rp.goToPosture("StandZero", 1);

                Console.WriteLine("Connected to Nao with IP: " + ip);

            }
            catch (Exception)
            {

                throw new Exception("Cannot connect to Proxy");
            }

            try
            {
                mp = new MotionProxy(ip, port);
            }
            catch (Exception)
            {

                throw new Exception("Cannot connect to Proxy");
            }

            Arms RArm = new Arms();
        }
Esempio n. 2
0
        public void controlLArm(float LSP, float LSR, float LER, float LEY, float LWY)
        {
            Arms LArm = new Arms();

            NaoTestDev.Arms.controlLArm(mp,  LSP,  LSR,  LER,  LEY,  LWY);
        }