...
Functions | Parameters | Return Value | Description |
---|---|---|---|
neckRotat | float _pos: a float between 0 and 100 | void | set the rotation of the Reeti's neck to the desired value |
neckPan | float _pos: a float between 0 and 100 | void | set the pan of the Reeti's neck to the desired value |
neckTilt | float _pos: a float between 0 and 100 | void | set the tilt of the Reeti's neck to the desired value |
rightLC | float _pos: a float between 0 and 100 | void | set the position of the right lips corner of the Reeti to the desired value |
leftLC | float _pos: a float between 0 and 100 | void | set the position of the left lips corner of the Reeti to the desired value |
topLip | float _pos: a float between 0 and 100 | void | set the position of the top lip of the Reeti to the desired value |
bottomLip | float _pos: a float between 0 and 100 | void | set the position of the bottom lip of the Reeti to the desired value |
rightEyePan | float _pos: a float between 0 and 100 | void | set the pan of the Reeti's right eye to the desired value |
rightEyeTilt | float _pos: a float between 0 and 100 | void | set the tilt of the Reeti's right eye to the desired value |
leftEyePan | float _pos: a float between 0 and 100 | void | set the pan of the Reeti's left eye to the desired value |
leftEyeTilt | float _pos: a float between 0 and 100 | void | set the tilt of the Reeti's left eye to the desired value |
rightEyeLid | float _pos: a float between 0 and 100 | void | set the position of the Reeti's right eye lid to the desired value |
leftEyeLid | float _pos: a float between 0 and 100 | void | set the position of the Reeti's left eye lid to the desired value |
rightEar | float _pos: a float between 0 and 100 | void | set the position of the Reeti's right ear to the desired value |
leftEar | float _pos: a float between 0 and 100 | void | set 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 | void | set 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) | void | set the color of the desired led |
isConnected | void | returns true if connected returns false if not connected | check if the connection is still available |
getLastPosition | void | returns a ReetiPosition object containing the 15 positions | returns the last known positions of the 15 actuators |
getColor | void | returns a string with the current color of the led | returns the current color of the reeti's led |
getLastBookmark | void | returns a string with the last bookmark found | returns the last bookmark encountered in a reeti's speech |
isSpeaking | void | returns true if the reeti is speaking returns false if not | returns if the reeti is speaking or not |
isPlaying | void | 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.