Table of Contents

roboticArm.setoffset()

Function Definition: roboticArm.setoffset(length Offset, Z Offset)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
length OffsetintOffset in mm to be set along the Length.-50 to 500
Z OffsetintOffset in mm to be set along the Z.-50 to 500

Description

The function takes the current end–effector position and adds an offset value to it. It then updates the end–effector position in the length and Z directions according to the specified direction. The function also normalizes the end–effector position, ensuring that the calculated offset is applied consistently.

Example

There are no examples documented for this article.