moveleg()

Function Definition: moveleg(time = 1000, servo angles = [90,90,90,90])

Parameters

NameTypeDescriptionExpected ValuesDefault Value
timeintThe time in which the angles need to change to the target angle.500 - 100001000
servo angleslistThe target angles in the form of list - [Left Hip Angle, Right Hip Angle, Left Foot Angle, Right Foot Angle]List[90,90,90,90]

Description

The function sets the servo motors of the humanoid hip and leg to the specified angles at the specified speed.

Example

There are no examples documented for this article.
Table of Contents