Merge branch 'main-v2' of ssh://120.27.199.238:222/Havoc420mac/mi-task into main-v2
8
main.py
@ -176,6 +176,7 @@ def main():
|
|||||||
print("\n程序被用户中断")
|
print("\n程序被用户中断")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
import traceback
|
import traceback
|
||||||
|
import sys
|
||||||
exc_type, exc_value, exc_tb = sys.exc_info()
|
exc_type, exc_value, exc_tb = sys.exc_info()
|
||||||
tb = traceback.extract_tb(exc_tb)
|
tb = traceback.extract_tb(exc_tb)
|
||||||
if tb:
|
if tb:
|
||||||
@ -310,14 +311,7 @@ class Robot_Ctrl(object):
|
|||||||
self.runing = 0
|
self.runing = 0
|
||||||
self.rec_thread.join()
|
self.rec_thread.join()
|
||||||
self.send_thread.join()
|
self.send_thread.join()
|
||||||
<<<<<<< HEAD
|
|
||||||
self.image_processor.destroy()
|
self.image_processor.destroy()
|
||||||
=======
|
|
||||||
try:
|
|
||||||
self.image_processor.destroy()
|
|
||||||
except Exception as e:
|
|
||||||
print(f"销毁图像处理器失败: {e}")
|
|
||||||
>>>>>>> 4449dc62d19438a10391a305f4362fec92eb56ad
|
|
||||||
# 销毁 MarkerRunner
|
# 销毁 MarkerRunner
|
||||||
if hasattr(self, 'marker_runner') and self.marker_runner is not None:
|
if hasattr(self, 'marker_runner') and self.marker_runner is not None:
|
||||||
try:
|
try:
|
||||||
|
BIN
saved_images/first0.jpg
Normal file
After Width: | Height: | Size: 71 KiB |
BIN
saved_images/first1.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
saved_images/first2.jpg
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
saved_images/first3.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
saved_images/first4.jpg
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
saved_images/first5.jpg
Normal file
After Width: | Height: | Size: 71 KiB |
BIN
saved_images/first6.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
saved_images/first7.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
saved_images/first8.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
saved_images/first9.jpg
Normal file
After Width: | Height: | Size: 56 KiB |