Skip to content

Commit

Permalink
Merge branch 'noetic' of github.com:elephantrobotics/mycobot_ros into…
Browse files Browse the repository at this point in the history
… pro630
  • Loading branch information
wangWking committed Mar 5, 2024
2 parents 14c38b9 + 28e6ecf commit df7a68e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ def teleop_keyboard():
exit(1)

init_pose = [0, 0, 0, 0, 0, 0, speed]
home_pose = [0, 8, -127, 40, 0, 0, speed]
home_pose = [0, 8, -127, 40, 90, 0, speed]

# rsp = set_angles(*init_pose)

while True:
res = get_coords()
# print(res)
if res.x > 1:
if res:
break
time.sleep(0.1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,13 @@ def teleop_keyboard():
exit(1)

init_pose = [0, 0, 0, 0, 0, 0, speed]
home_pose = [0, 8, -127, 40, 0, 0, speed]
home_pose = [0, 8, -127, 40, 90, 0, speed]

# rsp = set_angles(*init_pose)

while True:
res = get_coords()
if res.x > 1:
print("joint1's angle : "+str(res.x)+"is not > 1,please calibrate the joint1's angle")
if res:
break
time.sleep(0.1)

Expand Down

0 comments on commit df7a68e

Please sign in to comment.