...
Functions | Parameters | Return Value | Description | |||
---|---|---|---|---|---|---|
subscribeToPosition | PositionCallback _callback : a callback function of PositionCallback type | void | register a callback in order to get the current position of the Reeti | |||
subscribeToLedColor | LedColorCallback _callback : a callback function of LedColorCallback type | void | register a callback in order to get the current led Color of the Reeti | |||
subscribeToIsSpeaking | SpeakingCallback _callback : a callback function of SpeakingCallback type | void | register a callback in order to allow to know if the Reeti is currently speaking | |||
subscribeToBookmark | BookmarkCallback _callback : a callback function of BookmarkCallback type | void | register a callback in order to allow to know when a bookmark is reached while the Reeti is talking | |||
subscribeToIsPlaying | PlayingCallback _callback : a callback function of PlayingCallback type | void | register a callback in order to allow to know if the Reeti is currently playing a sequence | |||
unsubscribeToPosition | void | void | unregister the position callback | |||
unsubscribeToLedColor | void | void | unregister the led color callback | |||
unsubscribeToIsSpeaking | void | void | unregister the callback used to know if the reeti is talking | |||
unsubscribeToBookmark | void | void | unregister the callback to know when a bookmark is reached | |||
unsubscribeToIsPlaying | void | void | unregister the callback used to know if the reeti is playing a sequence | |||
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 right 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 | |||
setPoseAsync | @param ReetiPosition _position : an instance of ReetiPosition containing the 15 positions * @param float _speed : movement speed (from 10 to 300) * @param ServicesCallback _callback : a callback of the ServicesCallback type | void | set the position of the 15 actuators of the Reeti
| |||
setPoseAsync | float _neckRotat_neckRotat : neck rotation position (from 0 to 100) * @param float _neckPan : neck pan position (from 0 to 100) * @param float _neckTilt : neck tilt position (from 0 to 100) * @param float _rightLC : right lips corner position (from 0 to 100) * @param float _leftLC : left lips corner position (from 0 to 100) * @param float _topLip : top lip position (from 0 to 100) * @param float _bottomLip : bottom lip position (from 0 to 100) * @param float _rightEyePan : right eye pan position (from 0 to 100) * @param float _rightEyeTilt : right eye tilt position (from 0 to 100) * @param float _leftEyePan : left eye pan position (from 0 to 100) * @param float _leftEyeTilt : left eye tilt position (from 0 to 100) * @param float _rightEyeLid : right eye lid position (from 0 to 100) * @param float _leftEyeLid : left eye lid position (from 0 to 100) * @param float _rightEar : right ear position (from 0 to 100) * @param float _leftEar : left ear position(from 0 to 100) * @param float _speed : movement speed (from 10 to 300) * @param ServicesCallback _callback : a callback function of ServicesCallback type | void | set the position of the 15 actuators of the Reeti
| |||
takePictureAsync | * @param Camera _cam: the camera to use , RIGHTCAM or LEFTCAM * @param String _filename : the output filename * @param ServicesCallback _callback : a callback function of ServicesCallback type | void | take a picture with one of the reeti's camera and save it under /home/reeti/Pictures | |||
recordVideoAsync | * @param Camera _cam : the camera to use , RIGHTCAM or LEFTCAM * @param String _filename : the output filename * @param ServicesCallback _callback : a callback function of ServicesCallback type | void | record a video with one of the reeti's camera and save it under /home/reeti/Videos | |||
stopRecordAsync | * @param _cam : the camera to use , RIGHTCAM or LEFTCAM * @param _callback : a callback function of ServicesCallback type | void | stop the recording of the vidéo | |||
sayAsync | _speech : the text to say * @param _callback : a callback function of ServicesCallback type | void | make the reeti talk | |||
sayWithSynchroAsync | _speech : the text to say * @param _callback : a callback function of ServicesCallback type | void | make the reeti talk and move its lips | |||
stopSpeechAsync | _callback : a callback function of ServicesCallback type | void | make the reeti stop talking | |||
playSequenceAsync | _sequence : the sequence file to play * @param _callback : a callback function of ServicesCallback type | void | make the reeti play the chosen sequence | |||
playPoseAsync | _pose : the pose file to play * @param _callback : a callback function of ServicesCallback type | void | make the reeti play the chosen pose | |||
isConnected | void | returns true if connected returns false if not | check if the connection is still available |
See the Samples in order to get more information about using the C++ API.