Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FunctionsParametersReturn ValueDescription
neckRotatfloat _pos: a float between 0 and 100voidset the rotation of the Reeti's neck to the desired value
neckPanfloat _pos: a float between 0 and 100voidset the pan of the Reeti's neck to the desired value
neckTiltfloat _pos: a float between 0 and 100voidset the tilt of the Reeti's neck to the desired value
rightLCfloat _pos: a float between 0 and 100voidset the position of the right lips corner of the Reeti to the desired value
leftLCfloat _pos: a float between 0 and 100voidset the position of the left lips corner of the Reeti to the desired value
topLipfloat _pos: a float between 0 and 100voidset the position of the top lip of the Reeti to the desired value
bottomLipfloat _pos: a float between 0 and 100voidset the position of the bottom lip of the Reeti to the desired value
rightEyePanfloat _pos: a float between 0 and 100voidset the pan of the Reeti's right eye to the desired value
rightEyeTiltfloat _pos: a float between 0 and 100voidset the tilt of the Reeti's right eye to the desired value
leftEyePanfloat _pos: a float between 0 and 100voidset the pan of the Reeti's left eye to the desired value
leftEyeTiltfloat _pos: a float between 0 and 100voidset the tilt of the Reeti's left eye to the desired value
rightEyeLidfloat _pos: a float between 0 and 100voidset the position of the Reeti's right eye lid to the desired value
leftEyeLidfloat _pos: a float between 0 and 100voidset the position of the Reeti's left eye lid to the desired value
rightEarfloat _pos: a float between 0 and 100voidset the position of the Reeti's right ear to the desired value
leftEarfloat _pos: a float between 0 and 100voidset the position of the Reeti's left ear to the desired value
setLedColor

Led _led: the led to set between LEFTLED, RIGHTLED and BOTHLED

string _color: the desired color between red, green, light green, blue, dark blue, turquoise, yellow, violet, white, stop

voidset the color of the desired led
setLedRGB

Led _led: the led to set between LEFTLED, RIGHTLED and BOTHLED

float _r: red intensity (between 0 and 1023)

float _g: green intensity (between 0 and 1023)

float _b: blue intensity (between 0 and 1023)

voidset the color of the desired led
isConnectedvoid

returns true if connected

returns false if not connected

check if the connection is still available
getLastPositionvoidreturns a ReetiPosition object containing the 15 positionsreturns the last known positions of the 15 actuators
getColorvoidreturns a string with the current color of the ledreturns the current color of the reeti's led
getLastBookmarkvoidreturns a string with the last bookmark foundreturns the last bookmark encountered in a reeti's speech
isSpeakingvoid

returns true if the reeti is speaking

returns false if not

returns if the reeti is speaking or not
isPlayingvoid

returns true if the reeti isplaying a sequence

returns false if not

returns if the reeti is playing a sequence or not

 

See the Samples in order to get more information about using the C++ API.