setoscillationparameters()

Function Definition: setoscillationparameters(servo name = "RHip", amplitude = 30, offset = 90, time period = 1000, phase difference)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
servo namestringThe servo motor which needs to be moved."RHip", "LHip", "RFoot", "LFoot", "RHand", "LHand""RHip"
amplitudeintThe amplitude of the oscillator in degrees.0-9030
offsetintThe offset angle for the ocillator in degrees.-90 to 9090
time periodintThe time in which 1 cycle of the motion gets completed. In miliseconds.500 - 100001000
phase differenceintThe phase difference of the oscillator.0-3600

Description

The block sets the oscillator parameters for the selected servo motor.

Example

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