Esempio n. 1
0
        public MainWindow()
        {
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; //global exception
            Directory.CreateDirectory(System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\RoboticArm\\Scripts");
            InitializeComponent();

            if (Global.DebugMode == false)
            {
                Stats.GetPingAndTryConnection();
            }

            movement = new Movement();

            xrw = new XmlReadWriter();
            xrw.LoadSettings(movement);

            this.Loaded += MainWindow_Loaded; //some method need be call after window is loaded like gamepad because it need window handler
            model        = new _3Dmodel();


            InitCom();
            netCom.SendData("1");
            GetCPUandTemp();
            GetTrigger();
        }
Esempio n. 2
0
        public InverseKinematic(Movement mv, _3Dmodel model)
        {
            angles     = new double[3, 3];
            movement   = mv;
            this.model = model;

            Targets = new Point3D[PointsDensity];
            Settings();
        }
Esempio n. 3
0
        //z = y ,x=x

        public BruteForceMovement(Movement movement, _3Dmodel model)
        {
            this.movement = movement;
            this.model    = model;
        }