Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if command == 'L':
- MoveArm(0.15, [0,2,0]) # Rotate counter-clockwise
- if command == 'R':
- MoveArm(0.15, [0,1,0]) # Rotate clockwise
- if command == 'B':
- MoveArm(0.15, [128,0,0]) # Rotate Shoulder down
- if command == 'F':
- MoveArm(0.15, [64,0,0]) # Rotate Shoulder up
- if command == 'U':
- MoveArm(0.15, [16,0,0]) # Rotate Elbow up
- if command == 'D':
- MoveArm(0.15, [32,0,0]) # Rotate Elbow down
- if command == 'W':
- MoveArm(0.15, [4,0,0]) # Rotate Wrist Up
- if command == 'S':
- MoveArm(0.15, [8,0,0]) # Rotate Wrist Down
- if command == 'C':
- MoveArm(0.15, [2,0,0]) # Open Gripper
- if command == 'V':
- MoveArm(0.15, [1,0,0]) # Close Gripper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement