Table of Contents

Function Definition: roboticArm.calibrate(Link1 Offset, Link2 Offset, Base Offset)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
Link1 OffsetintThe offset angle for the servo motor connected to link 1.-50 to 500
Link2 OffsetintThe offset angle for the servo motor connected to link 2.-50 to 500
Base OffsetintThe offset angle for the servo motor connected to base.-50 to 500

Description

This function performs the calibration process for a robotic arm by taking in the error angles of each of its three servos (link 1, link 2, and base). It then stores the offset angle for each servo to the memory of the Quarky, ensuring that the robotic arm is functioning correctly at all times.

Example

There are no examples documented for this article.