Example #1
0
        protected static void Start(RobotApplication ra)
        {
            Instance = ra;
            /*first repeat call init until true */
            bool flag = false;

            while (!flag)
            {
                flag = Instance.RobotInit();
                System.Threading.Thread.Sleep(20);
            }
            /* now run loops */
            Instance.RunForever();
            Reporting.ConsolePrint("RunForever returned, this should not be allowed.");
        }
Example #2
0
 /**
  * Called by the framework to run the robot.
  */
 public virtual void RunForever()
 {
     Reporting.ConsolePrint("RunForever needs to be implemented.");
 }