movelimb()

Function Definition: movelimb(servo name = "RHip", angle = 90, time = 1000)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
servo namestringThe servo motor which needs to be moved."RHip", "LHip", "RFoot", "LFoot", "RHand", "LHand""RHip"
angleintThe angle to which the servo needs to move.0 - 18090
timeintThe time in which the angles need to change to the target angle.500 - 100001000

Description

The function sets the selected servo motor angle to the specified angle in the specified time. This creates a smooth motion for the servo motor from the current angle to the specified angle.

Example

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