Controlling Single-Joint Motion
Preparation
M5Stack series: Make sure robot is connected with PC (Go to 5.1 myBlockly for more information).
Other series: Make sure the robot is in normal status.
Purpose for this section
This section introduces instructions for controlling single-joint motion.
Introduction to API
- Set Joint Id
X
AngleX
SpeedX
Applicable to myCobot 280 series, myCobot 320 series, myCobot Pro 600 series and myPalletizer 260 series
Parameters:
Joint Id range: 1-6 (myCobot 280 series, myCobot 320 series and myCobot Pro 600 series)
1-4 (myPalletizer 260 series)
Angle: Refer to 2 Products Profile
Speed range: 1-100
- Function: controlling single-joint motion
Simple Demo
Program for display:
Motion:
Joint 1 move to 20 degree angle at the speed of 50,
Joint 2 move to 20 degree angle at the speed of 50 in 1 second,
Joint 3 move to 20 degree angle at the speed of 50 in 1 second,
Joint 4 move to 20 degree angle at the speed of 50 in 1 second,
all arms move to starting point in 1 second.