Do hand action – () with delay () ms block is a stack block available in Humanoid Robot extension for evive and other Arduino boards. This block is to assign pre-defined hand actions to our Humanoid Robot.
Input Parameters
- Drop to select the type of action.
- Time taken to complete the action. Smaller the delay, faster the action.
Note: This block is available in both Stage and Upload mode.
Predefined Actions
Hands Forward
Hands Down
Hands Up
Hands Straight
Fly
Hi
Hi-Five
Handshake
Dance 1
Dance 2
Dance 3
Dance 4
Example
Here, in the given script, the humanoid robot will throw its hands up in the air and then bring them down.
- Define PWM pins for the servos connected.
- The humanoid robot will continuously put its hands up in the air and then bring them down.
Note: Before working with the Humanoid Robot, we need to calibrate the hands such that they are straight and calibrate the legs in such a way that they are facing forward.