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.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
