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.
Table of Contents
roboticArm.calibrate()
Function Definition: roboticArm.calibrate(Link1 Offset, Link2 Offset, Base Offset)
- Python Library: Quarky Robotic Arm
- Library Import: roboticArm = RoboticArm(1, 2, 3, 4)
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
Link1 Offset | int | The offset angle for the servo motor connected to link 1. | -50 to 50 | 0 |
Link2 Offset | int | The offset angle for the servo motor connected to link 2. | -50 to 50 | 0 |
Base Offset | int | The offset angle for the servo motor connected to base. | -50 to 50 | 0 |
Description
Example
There are no examples documented for this article.