Table of Contents

roboticArm.moveincircleanticlockcise()

Function Definition: roboticArm.moveincircleanticlockcise(XPOS, YPOS, ZPOS, RADIUS = 50, TIME = 4000)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
XPOSintWhen X= 0, Y = 0, Z = 0 and Radius = 0 Then, Range of X will be X = 0 to 2120 to 2120
YPOSintWhen X= 0, Y = 0, Z = 0 and Radius = 0 Then, Range of Y will be Y = 1 to 131 to 130
ZPOSintWhen X= 0, Y = 0, Z = 0 and Radius = 0 Then, Range of Z will be Z = 0 to 1750 to 1750
RADIUSintThe radius of the circle to be created.10 to 5050
TIMEintTime in miliseconds.100 to 100004000

Description

This function creates a anti-clockwise circle trajectory in the Y plane for a robotic arm, given the center position in the X and Z axes, and the radius of the circle. The function calculates the points on the trajectory and sends instructions to the arm to travel to each point sequentially.

Note: The ranges of X, Y, and Z are interdependent, and modifying one value causes the ranges of the others to update accordingly.

Example

There are no examples documented for this article.