예제 #1
0
        public override void RunReplay(
            string teleop_file,
            string zip_utility,
            string record_path,
            string log_identifier)
        {
            usage.Update("Run Replay, SurveyorVisionStereo, RunReplay");

            // create a thread to send the master pulse
            SurveyorReplayThread replay_actions =
                new SurveyorReplayThread(
                    new WaitCallback(ReplayCallback),
                    this,
                    teleop_file,
                    zip_utility,
                    record_path,
                    log_identifier);
            Thread replay_thread = new Thread(new ThreadStart(replay_actions.Execute));

            replay_thread.Priority = ThreadPriority.Normal;
            replay_thread.Start();
            Console.WriteLine("Replaying actions started");
        }
예제 #2
0
 public override void RunReplay(
     string teleop_file,
     string zip_utility,
     string record_path,
     string log_identifier)
 {
     usage.Update("Run Replay, SurveyorVisionStereo, RunReplay");
     
     // create a thread to send the master pulse
     SurveyorReplayThread replay_actions = 
         new SurveyorReplayThread(
             new WaitCallback(ReplayCallback), 
             this,
             teleop_file,
             zip_utility,
             record_path,
             log_identifier);
     Thread replay_thread = new Thread(new ThreadStart(replay_actions.Execute));
     replay_thread.Priority = ThreadPriority.Normal;
     replay_thread.Start();
     Console.WriteLine("Replaying actions started");
 }