예제 #1
0
 def _on_device_unplugged(self, title="", description=""):
     ciclop_scan.stop()
     scanner_autocheck.cancel()
     laser_triangulation.cancel()
     platform_extrinsics.cancel()
     self.toolbar.update_status(False)
     driver.disconnect()
     dlg = wx.MessageDialog(self, description, title, wx.OK | wx.ICON_ERROR)
     dlg.ShowModal()
     dlg.Destroy()
예제 #2
0
 def on_exit(self):
     platform_extrinsics.cancel()
     self._initialize()
     if self.exit_callback is not None:
         self.exit_callback()
예제 #3
0
 def on_reject(self):
     platform_extrinsics.cancel()
     if self.exit_callback is not None:
         self.exit_callback()
     self.plot_panel.clear()