5
1.6.11 Math.............................................................................................. 131
1.6.12 Text................................................................................................131
1.6.13 Variable......................................................................................... 132
1.6.14 Function.........................................................................................133
1.6.15 Set & Edit Motion Coordinates.....................................................134
1.6.16 Path Planning Guidelines.............................................................. 135
1.7 Python IDE.................................................................................................135
1.7.1 Create a New Project........................................................................136
1.8 Recording................................................................................................... 137
2. xArm Motion Analysis...........................................................................................140
2.1 Robotic Arm Motion Mode and State Analysis.......................................... 141
2.1.1 The Motion Mode of the Robotic Arm........................................... 141
2.1.2 Analysis of Robotic Arm Movement Mode...................................143
2.1.3 Analysis of the Motion Status of the Robotic Arm.........................144
2.2. Motion of the Robotic Arm.........................................................................145
2.2.1. Joint Motion..................................................................................... 145
2.2.2. Linear Motion and Arc Linear Motion.............................................149
2.2.3. Circular and Arc Motion.................................................................. 153
2.3. xArm5 Motion Characteristics...................................................................156
2.4. Singularity................................................................................................... 156
3. Typical Examples...................................................................................................159
3.1. The Use of xArm Vacuum Gripper.............................................................159
3.2. The Use of xArm Gripper........................................................................... 160
3.3. The Use of the Digital IO............................................................................160
3.4. Cyclic Motion Count...................................................................................161
Appendix.................................................................................................................... 163
Appendix1-Error Reporting and Handling.................................................................163
1.1 Joints Error Message and Error Handling................................................... 163
1.2 Control Box Error Code and Error Handling............................................. 165
1.2.1 Control Box Error Code.................................................................. 165
1.2.2 Control Box Error Code.................................................................. 166
1.3 Gripper Error Code & Error Handling....................................................... 166
1.4 Python SDK Error Code & Error Handling................................................. 168