mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-14 17:11:09 +00:00
fix
This commit is contained in:
parent
dbdee86f60
commit
6c8f845aee
2 changed files with 5 additions and 3 deletions
|
|
@ -166,8 +166,8 @@ class Object_detect(Movement):
|
||||||
self.pub_marker(x/1000.0, y/1000.0, 140/1000.0)
|
self.pub_marker(x/1000.0, y/1000.0, 140/1000.0)
|
||||||
|
|
||||||
|
|
||||||
self.mc.send_coords([x, y, 95, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15
|
self.mc.send_coords([x, y, 95, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15 m5
|
||||||
# self.mc.send_coords([x, y, 90, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15
|
# self.mc.send_coords([x, y, 90, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15 pi
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
self.pub_marker(x/1000.0, y/1000.0, 90/1000.0)
|
self.pub_marker(x/1000.0, y/1000.0, 90/1000.0)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,9 @@ class Object_detect(Movement):
|
||||||
time.sleep(7)
|
time.sleep(7)
|
||||||
print("ntm")
|
print("ntm")
|
||||||
|
|
||||||
self.mc.send_coords([x, y, 92, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15
|
self.mc.send_coords([x, y, 95, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15 m5
|
||||||
|
# self.mc.send_coords([x, y, 90, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15 pi
|
||||||
|
# self.mc.send_coords([x, y, 92, 179.12, -0.18, 179.46], 30, 0) # -178.77, -2.69, 40.15
|
||||||
time.sleep(6)
|
time.sleep(6)
|
||||||
|
|
||||||
# open pump
|
# open pump
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue