The block sets the oscillator parameters for the selected servo motor.
- Quarky Humanoid - Getting Started
- Quarky Humanoid PictoBlox Extension
- Humanoid Block Examples
- Wirelessly Controlled Humanoid
- Creating Humanoid Dance Sequences
- Face Detection with Humanoid Robots
- Face Tracking Controlled Humanoid Robot
- Sign Detection With Humanoid
- Hand Controlled Motion
- Gesture Controlled Humanoid With Machine Learning
- Pose Mimicking Humanoid with Machine Learning
- Sound Based Humanoid with Machine Learning
- Humanoid Python Examples
- Home
- Python Functions
- setoscillationparameters()
setoscillationparameters()
Function Definition: setoscillationparameters(servo name = "RHip", amplitude = 30, offset = 90, time period = 1000, phase difference)
- Python Library: Humanoid (Quarky)
- Library Import: Not Applicable
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
servo name | string | The servo motor which needs to be moved. | "RHip", "LHip", "RFoot", "LFoot", "RHand", "LHand" | "RHip" |
amplitude | int | The amplitude of the oscillator in degrees. | 0-90 | 30 |
offset | int | The offset angle for the ocillator in degrees. | -90 to 90 | 90 |
time period | int | The time in which 1 cycle of the motion gets completed. In miliseconds. | 500 - 10000 | 1000 |
phase difference | int | The phase difference of the oscillator. | 0-360 | 0 |
Description
Example
There are no examples documented for this article.