public void Initialize(string comPort) { Logger?.Log($"Initalizing Autodrive on port {comPort}"); _session = ServiceModeSession.Instance; if (Logger != null) { _session.Logger = Logger; } _session.Keyboard = new VetraKeyboard(comPort); _session.KeySpeedMs = 100; _session.ResetConsoleState(); }
public MotionManager(ServiceModeSession session) { _session = session; this.MotionWatch = new MotionWatch(); }