/// <summary> /// Sends a request to home the robot and then sleeps while waiting for that /// request to take effect. /// </summary> public void OnHome() { Barrett.Logger.Debug(Barrett.Logger.WARNING, "Make sure robot is disabled and placed in the wing position." + " Then press enter to continue."); Console.ReadLine(); robot.SendIsHomed(false); Thread.Sleep(50); robot.SendIsHomed(true); Thread.Sleep(50); Barrett.Logger.Debug(Barrett.Logger.INFO, "Homing complete."); }