修改钢针到达抓料点位后再收缩和在震动点不走的问题

This commit is contained in:
cdeyw
2025-02-26 12:29:23 +08:00
parent 0e69647b11
commit ef50aed6bb
7 changed files with 9567 additions and 3801 deletions

View File

@ -448,8 +448,13 @@ class Feeding(QObject):
#self.feedConfig.feedLine.set_take_position(None)
# time.sleep(self.robotClient.time_delay_take)
self.log_signal.emit(logging.INFO, Constant.str_feed_take_success)
self.next_position()
self.catch.catch_status = CatchStatus.COk
if self.catch.catch_status == CatchStatus.COk:
self.next_position()
self.catch.catch_status = CatchStatus.CNone
return
if self.catch.catch_status == CatchStatus.CTake:
self.catch.catch_status = CatchStatus.COk
else:
self.log_signal.emit(logging.ERROR, Constant.str_feed_takePhoto_fail)
@ -483,6 +488,7 @@ class Feeding(QObject):
if self.catch.catch_status == CatchStatus.COk:
self.catch.catch_status = CatchStatus.CNone
self.next_position()
return
if self.catch.catch_status == CatchStatus.CNone:
self.catch.catch_status = CatchStatus.CShake
return