Exemple #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;
 }
Exemple #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;
 }
Exemple #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();
        }
Exemple #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();
        }