This commit is contained in:
琉璃月光
2025-08-15 12:08:30 +08:00
parent dca51db4eb
commit eaa1cee17f
82 changed files with 3398316 additions and 554437 deletions

View File

@ -36,8 +36,9 @@ class Catch:
if not self.is_send_take_command:
# 本身IO
#self.robotClient.sendIOControl(self.robotClient.con_ios[0],1)
print('抓料成功真实抓料')
# 网络继电器
close(1, 0, 0) #逻辑关闭电磁阀1
open(1, 0, 0) #逻辑关闭电磁阀1
self.is_send_take_command = True
if self.catch_status == CatchStatus.CDrop:
@ -45,7 +46,7 @@ class Catch:
# 本身IO
# self.robotClient.sendIOControl(self.robotClient.con_ios[0], 0)
# 网络继电器
open(1, 0, 0)#逻辑
close(1, 0, 0)#逻辑
#time.sleep(1)
#for _ in range(self.drop_count):
# self.robotClient.sendIOControl(self.robotClient.con_ios[1], 1, delay=self.robotClient.time_delay_put)
@ -81,7 +82,7 @@ class Catch:
if self.catch_status == CatchStatus.COk:
self.shake_continue.SetReset()
# self.robotClient.sendIOControl(self.robotClient.con_ios[1], 0,emptyList='1')
open(1,0,0)#逻辑
close(1,0,0)#逻辑
#close(0, 1, 0)
#close(0, 0, 1)
self.is_send_take_command = False