private async void CheckForOreCallback(object info) { if (alreadyRunning) { await _misty.SendDebugMessageAsync("Already running, please wait."); return; } alreadyRunning = true; await _misty.ChangeLEDAsync(0, 255, 0); celebrationCount = 0; await LoadModelAsync(); if (tof.GetRearCenterDistance() < 0.25) { tof.SetFarEnoughThresholdDistance(0.25, true); tof.FarEnough += InitialDistanceCheck; await _misty.DriveAsync(15, 0); } else { RunCustomVision(); } }