Control single joint motion
Please confirm before starting:
1.Python environment has been installed and pymycobot package has been downloaded;
2.Firmware has been burned;
3.ultraArm switch (next to the power cord) has been turned on.
Learning contents of this chapter
Use myBlockly to control ultraArm single joint motion.
API Module Introduction
- Method module:
Set Single Joint Angle
- Objective: To control the single joint movement of the mechanical arm
- Parameters:
- Joint parameters: ultraArm has three joints, and you can set 1, 2, and 3 parameters
- Angle parameter: please refer to the ultraArm parameter to set the angle of each joint (you can set which joint you want)</br>
Joint | Range |
---|---|
J1 | -150° ~ +170° |
J2 | -20° ~ +90° |
J3 | -5° ~ +70° |
J4(accessory) | unlimited |
- Speed parameter: range 0-100
Simple demonstration
Realize action: each joint of the mechanical arm returns to zero, and joint 1 moves to 50 degrees at a speed of 10 after a delay of 1 second,
Joint 2 moves at a speed of 10 to 50 degrees,
Joint 3 moves at a speed of 10 to 50 degrees,
End of operation.