calibrate left leg () right leg () left foot () right foot ()

calibrate leg servos block

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 leg(2 servos of legs + 2 servos of feet) and saves the angles in the memory of evive.

evive Notes Icon
Note: Please make sure that all the servos are at 90° such that the legs are facing forward and the edges of feet are parallel to edges of the humanoid’s body.

Input Parameters

  1. Enter the error angle of the left leg servo.
  2. Enter the error angle of the right leg servo.
  3. Enter the error angle of the left foot servo.
  4. Enter the error angle of the right foot 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 legs of the humanoid robot i.e. two servos of legs and two servos 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 leg servos block example

Run the script every time you calibrate a part.

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart