Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. if command == 'L':
  2. MoveArm(0.15, [0,2,0]) # Rotate counter-clockwise
  3. if command == 'R':
  4. MoveArm(0.15, [0,1,0]) # Rotate clockwise
  5. if command == 'B':
  6. MoveArm(0.15, [128,0,0]) # Rotate Shoulder down
  7. if command == 'F':
  8. MoveArm(0.15, [64,0,0]) # Rotate Shoulder up
  9. if command == 'U':
  10. MoveArm(0.15, [16,0,0]) # Rotate Elbow up
  11. if command == 'D':
  12. MoveArm(0.15, [32,0,0]) # Rotate Elbow down
  13. if command == 'W':
  14. MoveArm(0.15, [4,0,0]) # Rotate Wrist Up
  15. if command == 'S':
  16. MoveArm(0.15, [8,0,0]) # Rotate Wrist Down
  17. if command == 'C':
  18. MoveArm(0.15, [2,0,0]) # Open Gripper
  19. if command == 'V':
  20. MoveArm(0.15, [1,0,0]) # Close Gripper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement