Skip to content

Commit

Permalink
update 320m5/pi
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Mar 5, 2024
1 parent c3e2cae commit 28e6ecf
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 28e6ecf

Please sign in to comment.