public static void DeinitializeApp() { TheRobot = null; TheCognition = null; TheDriver = null; //MovementPatternsManager = null; Ready = false; }
public static void InitializeApp(ref NxtRobot robotObj, int cartesianGridAbsMax, double robotWheelRadius) { TheCognition = new Cognition(); TheDriver = new CartesianVehicleDriver(cartesianGridAbsMax, robotWheelRadius); TheRobot = robotObj; //connect & set status Ready = true; }