CSharpSlam.RobotControl.StopSimulation C# (CSharp) Метод

StopSimulation() приватный Метод

Stops the simulation in the V-REP EDU application and aborts the map drawing thread.
private StopSimulation ( ) : void
Результат void
        private void StopSimulation()
        {
            VREPWrapper.simxStopSimulation(_clientId, simx_opmode.oneshot_wait);
            SimulationIsRunning = false;
            _mapBuilderThread?.Abort();
            Localization.PoseChanged -= PoseChanged;
            MapBuilder.RequestLaserScannerDataRefresh -= RequestLaserScannerDataRefresh;
            MapBuilder.CalculatePose -= CalculatePose;
        }