private void init() { try { rp = new RobotPostureProxy(ip, 9559); rp.goToPosture("StandZero", 1); } catch (Exception) { throw new Exception("Cannot connect to Proxy"); } try { mp = new MotionProxy(ip, port); } catch (Exception) { throw new Exception("Cannot connect to Proxy"); } RArm = new Arms(); LArm = new Arms(); }