action()

Function Definition: action(action = "dance1", time period = 1000, cycle = 1)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
actionstringThe action that needs to be performed."dance1", "dance2", "dance3", "dance4", "dance5", "march in place", "creepy", "moonwalk", "bodyshake1", "bodyshake2", "bodyshake3", "bodyshake4", "bodyshake5", "right hand shake", "left hand shake", "updown1", "front back""dance1"
time periodintThe time in which 1 cycle of the motion gets completed. In miliseconds.0-100001000
cycleintThe number of cycles or times the motion gets executed.0-10001

Description

The function performs the selected action for the quadruped. The action runs for the specified times and at the specified speed.

Example

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