update 更新
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user