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.
Table of Contents
roboticArm.setservoangleto()
Function Definition: roboticArm.setservoangleto(SERVO = "link1", ANGLE = 90, TIME = 1000)
- Python Library: Quarky Robotic Arm
- Library Import: roboticArm = RoboticArm(1, 2, 3, 4)
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
SERVO | string | The servo that needs to be controlled. | "link1", "link2", "base", "gripper" | "link1" |
ANGLE | int | The angle at which the servo motor needs to move. | 0 to 180 | 90 |
TIME | int | Time in miliseconds. | 100 to 10000 | 1000 |
Description
Example
There are no examples documented for this article.