mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
fix bug
This commit is contained in:
parent
2e8c8a71af
commit
8a85a2db7e
1 changed files with 2 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ class Object_detect(Movement):
|
||||||
self.pub_coords([x, y, 165, -178.9, -1.57, -66], 20, 1)
|
self.pub_coords([x, y, 165, -178.9, -1.57, -66], 20, 1)
|
||||||
time.sleep(1.5)
|
time.sleep(1.5)
|
||||||
# 根据不同底板机械臂,调整吸泵高度
|
# 根据不同底板机械臂,调整吸泵高度
|
||||||
if "dev" in self.robot_m5:
|
if "dev" in self.robot_m5 or "dev" in self.robot_raspi:
|
||||||
# m5 and jetson nano
|
# m5 and raspi
|
||||||
self.pub_coords([x, y, 90, -178.9, -1.57, -66], 25, 1)
|
self.pub_coords([x, y, 90, -178.9, -1.57, -66], 25, 1)
|
||||||
elif "dev" in self.robot_wio:
|
elif "dev" in self.robot_wio:
|
||||||
h = 0
|
h = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue