Esempio n. 1
0
 private async Task StopRealsensePipeline()
 {
     if (!IsRealsensePipelineOn)
     {
         RealsenseState = "Pipeline is not on";
         return;
     }
     RealsenseControl.StopRealsensePipeline();
     IsRealsensePipelineOn = false;
     await UpdateRGBPoseTask;
     await UpdateRealTimePointCloudTask;
 }
Esempio n. 2
0
 private void StopRealsensePipeline()
 {
     if (!IsRealsensePipelineOn)
     {
         RealsenseState = "Pipeline is not on";
         return;
     }
     RealsenseControl.StopRealsensePipeline();
     IsRealsensePipelineOn = false;
     UpdateRGBPoseTask.Wait();
     UpdateRealTimePointCloudTask.Wait();
 }