补交raw参数更改
This commit is contained in:
14
subtask.py
14
subtask.py
@@ -666,7 +666,7 @@ class get_bball():
|
||||
time.sleep(0.5)
|
||||
by_cmd.send_distance_axis_z(30, -40)
|
||||
time.sleep(0.5)
|
||||
by_cmd.send_angle_claw_arm(80)
|
||||
by_cmd.send_angle_claw_arm(90)
|
||||
time.sleep(0.5)
|
||||
by_cmd.send_angle_claw(54)
|
||||
time.sleep(0.5)
|
||||
@@ -1018,7 +1018,7 @@ class put_hanoi2():
|
||||
time.sleep(0.5)
|
||||
logger.info("抓大平台")
|
||||
if utils.direction is tlabel.RMARK:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 150)
|
||||
by_cmd.send_angle_claw(63)
|
||||
time.sleep(2)
|
||||
@@ -1030,7 +1030,7 @@ class put_hanoi2():
|
||||
time.sleep(1)
|
||||
pass
|
||||
else:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 40)
|
||||
by_cmd.send_angle_claw(63)
|
||||
time.sleep(2)
|
||||
@@ -1078,7 +1078,7 @@ class put_hanoi2():
|
||||
time.sleep(0.5)
|
||||
logger.info("抓中平台")
|
||||
if utils.direction is tlabel.RMARK:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 150)
|
||||
by_cmd.send_angle_claw(55)
|
||||
time.sleep(2)
|
||||
@@ -1090,7 +1090,7 @@ class put_hanoi2():
|
||||
time.sleep(1)
|
||||
pass
|
||||
else:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 40)
|
||||
by_cmd.send_angle_claw(55)
|
||||
time.sleep(2)
|
||||
@@ -1139,7 +1139,7 @@ class put_hanoi2():
|
||||
time.sleep(0.5)
|
||||
logger.info("抓小平台")
|
||||
if utils.direction is tlabel.RMARK:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 150)
|
||||
by_cmd.send_angle_claw(50)
|
||||
time.sleep(2)
|
||||
@@ -1151,7 +1151,7 @@ class put_hanoi2():
|
||||
time.sleep(2)
|
||||
pass
|
||||
else:
|
||||
by_cmd.send_position_axis_z(30, 30)
|
||||
by_cmd.send_position_axis_z(30, 40)
|
||||
by_cmd.send_position_axis_x(1, 40)
|
||||
by_cmd.send_angle_claw(50)
|
||||
time.sleep(2)
|
||||
|
||||
Reference in New Issue
Block a user