Table of Contents

Function Definition: roboticArm.setservoangleto(SERVO = "link1", ANGLE = 90, TIME = 1000)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
SERVOstringThe servo that needs to be controlled."link1", "link2", "base", "gripper""link1"
ANGLEintThe angle at which the servo motor needs to move.0 to 18090
TIMEintTime in miliseconds.100 to 100001000

Description

This function takes in a servo type, an angle, and a time value as inputs and sets the servo to the given angle in the specified amount of time.

Example

There are no examples documented for this article.