Table of Contents

calibrate left shoulder () right shoulder () left hand () right hand ()

calibrate arm servos bloxk

Description

Calibrate left leg () right leg () left foot () right foot () is a stack block available in Humanoid Robot extension for evive and other Arduino boards. This block should be included every time you work with the humanoid robot for the first time as it calibrates the angles of all the four servo motors of the arm(2 servos of shoulder + 2 servos of hands) and saves it in the memory of evive.

evive Notes Icon
Note: Please make sure that all the servos are at 90° such that both the arms are straight.

Input Parameters

  1. Enter the error angle of the left shoulder servo.
  2. Enter the error angle of the right shoulder servo.
  3. Enter the error angle of the left-hand servo.
  4. Enter the error angle of the right-hand servo.
evive Notes Icon
Note: This block is available in both Stage and Upload mode.

Example

Here, in the given script, we’ll be calibrating both the arms of the humanoid robot i.e. two servos of shoulders and two hands of feet before working it. Write the script given below to calibrate it. Run the script by clicking on the green flag. If the humanoid robot is straight, keep the angles as 0° in the calibrate angles blocks. If it is not straight, then change their respective values and run the script. Use the trial and error method to calibrate the servos.calibrate arm servos block examples

Run the script every time you calibrate a part.

Example

There are no examples documented for this article.