Exemplo n.º 1
0
 public PathFinder(ColliderContainer colliderContainer, ConfigurationSpace configurationSpace, Robot robot, LinearInterpolator linearInterpolator, DispatcherTimer timer)
 {
     this.colliderContainer  = colliderContainer;
     this.configurationSpace = configurationSpace;
     this.robot = robot;
     this.linearInterpolator = linearInterpolator;
     this.timer = timer;
 }
Exemplo n.º 2
0
 public PathFinder(ColliderContainer colliderContainer, ConfigurationSpace configurationSpace, Robot robot, LinearInterpolator linearInterpolator, DispatcherTimer timer)
 {
     this.colliderContainer = colliderContainer;
     this.configurationSpace = configurationSpace;
     this.robot = robot;
     this.linearInterpolator = linearInterpolator;
     this.timer = timer;
 }
Exemplo n.º 3
0
        private void PreInitialize()
        {
            EditorMode    = true;
            AnimationTime = 1500;
            L1            = 200;
            L2            = 100;

            segmentsIntersector      = new SegmentsIntersector();
            mouseSelector            = new MouseSelector();
            mouseSelector.EditorMode = EditorMode;
            linearInterpolator       = new LinearInterpolator();

            timer          = new DispatcherTimer();
            timer.Interval = TimeSpan.FromMilliseconds(10);
            timer.Tick    += TimerOnTick;
            timer.Stop();
        }
Exemplo n.º 4
0
        private void PreInitialize()
        {
            EditorMode = true;
            AnimationTime = 1500;
            L1 = 200;
            L2 = 100;

            segmentsIntersector = new SegmentsIntersector();
            mouseSelector = new MouseSelector();
            mouseSelector.EditorMode = EditorMode;
            linearInterpolator = new LinearInterpolator();

            timer = new DispatcherTimer();
            timer.Interval = TimeSpan.FromMilliseconds(10);
            timer.Tick += TimerOnTick;
            timer.Stop();
        }