public NavigationManager() { movement = Movement.stop; monitor = new object(); actualPosition = new Position(); //TODO //Waiting for the magnetometer... Thread.Sleep(1500); initialHeading = this.MAG_Heading; contingency = new Contingency(left, right, this); //integration = new Timer(new TimerCallback(this.Integrate), new object(), GlobalVal.integrationPeriod * 10, GlobalVal.integrationPeriod); }