Table of Contents

Function Definition: roboticArm.movexyzonebyone(XPOS, YPOS = 150, ZPOS = 70, TIME = 1000)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
XPOSintThe X coordinate of the destination position of the Gripper.-100 to 1000
YPOSintThe Y coordinate of the destination position of the Gripper.100 to 250150
ZPOSintThe Z coordinate of the destination position of the Gripper.0 to 12070
TIMEintTime in miliseconds.100 to 100001000

Description

This function is used to move a robotic arm from its current position to a specific X, Y, and Z coordinate position over a specified period of time. It takes in multiple parameters, such as the current position of the arm, the coordinates to move to, and the interval in which to move.

The function then determines how many steps must be taken in each axis to reach the destination point, and moves in the X axis first, then the Y axis, and lastly the Z axis before returning the successful result.

Example

There are no examples documented for this article.