Joint Calibrator
Robots can be precisely calibrated using the Petoi Desktop App.
Last updated
Was this helpful?
Robots can be precisely calibrated using the Petoi Desktop App.
Last updated
Was this helpful?
Please follow the instructions in the subpages to prepare according to the robot's mainboard.
After the robot is powered on by a battery, there are two methods to enter the calibration state:
It will enter the calibration state automatically when you click the Joint Calibrator button.
Click the Calibrate button in the calibrator interface. Take Bittle for example:
After typing ‘c’ in the serial monitor, with all servos rotated to their zero angles, attach the head, tail, and legs prepared in the previous section to the body. They are generally perpendicular to their linked body frames. The calibration pose is shown below:
Note: Insert the servo-related components directly into the servo output shaft; do not turn the output shaft during this process.
Rotating the limbs counter-clockwise from their zero states will be positive (same as in polar coordinates). Viewed from the left side of the robot's body, the counter-clockwise rotation of the joint is defined as the positive direction.
If we look closer at the servo shaft, we can see it has a certain number of teeth. That’s for attaching the servo arms and avoiding sliding in the rotational direction. In our servo sample, the gears divide 360 degrees into 25 sectors, each taking 14.4 degrees(offset of -7.2~7.2 degrees). That means we cannot always get a perfect perpendicular installation.
The joint calibration interface of different products is shown in the following subpages.
There are two kinds of kit: the construction kit and the pre-assembled kit.
For the construction kit, you must install the components (such as the head, legs, and tail) after the robot enters the calibration state. For more details, please follow the suppage instructions.
The pre-assembled kit already has the components adequately installed. You can do the joint calibration for fine-tuning.
The included L-shaped tool can be used as a reference during calibration. For more details, please follow the instructions on the subpages.
You can switch between "Rest", "Stand up" and "Walk" to test the calibration effect.
If you want to continue calibrating, please click the Calibration button, and the robot will be in the calibration state again (all servos will move to the calibration position immediately). take Bittle for example:
After calibration, remember to click the "Save" button to save the calibration offset. Otherwise, click the "Abort" button to abandon the calibration data. You can save the calibration in the middle in case your connection is interrupted.
After completing the joint calibration, install the center screws to fix the components and servo gears.