update 更新

This commit is contained in:
FrankCV2048
2024-12-19 20:21:00 +08:00
parent 1f22d45b75
commit 6b9fd12e12
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class Detect:
_, img, xyz, uvw, points = self.detection.get_position(Point_isVision=False, Box_isPoint=True, _, img, xyz, uvw, points = self.detection.get_position(Point_isVision=False, Box_isPoint=True,
First_Depth=True, Iter_Max_Pixel=30, First_Depth=True, Iter_Max_Pixel=30,
save_img_point=0, Height_reduce=30, width_reduce=30) save_img_point=0, Height_reduce=30, width_reduce=30)
self.detection_image = img.copy() self.detection_image = img.copy()
if xyz == None or uvw == None or points == None: if xyz == None or uvw == None or points == None:
self.detect_position = None self.detect_position = None

View File

@ -230,6 +230,7 @@ class Feeding(QObject):
if self.feedConfig !=None and self.feedConfig.num == 0 and self.is_reverse and self.robotClient.origin_position.compare(real_position): if self.feedConfig !=None and self.feedConfig.num == 0 and self.is_reverse and self.robotClient.origin_position.compare(real_position):
self.feedStatus = FeedStatus.FNone self.feedStatus = FeedStatus.FNone
self.is_reverse = False self.is_reverse = False
log.log_message(logging.INFO, Constant.str_feed_reverse)
if self.feedStatus == FeedStatus.FNone or self.pause: if self.feedStatus == FeedStatus.FNone or self.pause:
return return