update 更新IO面板

This commit is contained in:
FrankCV2048
2024-10-30 23:19:05 +08:00
parent 24e7bea71a
commit da0863308c
9 changed files with 1307 additions and 9 deletions

View File

@ -208,9 +208,9 @@ class Feeding :
self.sendTargPosition(self.feedConfig.feedLine.drop_bag_position)
pass
if self.feedConfig.feedLine.drop_bag_position.compare(real_position):
self.sendIOControl(self.robotClient.con_ios[0],0)
self.sendIOControl(self.robotClient.con_ios[1],0)
self.sendIOControl(self.robotClient.con_ios[2],0)
self.sendIOControl(self.robotClient.con_ios[0], 0)
self.sendIOControl(self.robotClient.con_ios[1], 0)
self.sendIOControl(self.robotClient.con_ios[2], 0)
# TODO 检测是否断 不然报警
time.sleep(2)
self.feedConfig.num = self.feedConfig.num - 1