setoscillationparameters()

Function Definition: setoscillationparameters(servo motor number = 1, amplitude = 30, offset = 90, time period = 1000, phase difference)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
servo motor numberintThe servo motor number: Front Right Hip (1), Front Left Hip (2), Front Right Leg (3), Front Left Leg (4), Back Right Hip (5), Back Left Hip (6), Back Right Leg (7), Back Left leg (8)1-81
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.0-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