...
Name | Type | Description |
---|---|---|
ReetiPosition | Class | A class containing an instance of the 15 positions of the actuators of the Reeti |
ReetiLedColor | Class | A class containing the color of the Reeti' Leds |
ReetiSpeaking | Class | A class containing if the reeti is speaking or not |
ReetiBookmark | Class | A class containing the last bookmark found |
ReetiPlaying | Class | A class containg if the reeti is playing a sequence or not |
ErrorCode | Enum | An enumeration of the different Error Codes : OK, TIMEOUT, ERROR |
Led | Enum | An enumeration of the different leds : BOTHLED, RIGHTLED, LEFTLED |
Camera | Enum | An enumeration of the different cameras : RIGHTCAM, LEFTCAM |
Constructors
FunctionFunctions | Parameters | Return Value | Description |
---|---|---|---|
Reeti | string _uri : IP adress of the reeti to connect to | none | the constructor used to instantiate a Reeti object |
Asynchronous specific functions
FunctionFunctions | Parameters | Return Value | Description |
---|---|---|---|
registerCallbackPosition | positionCallback _cb: a callback function of positionCallback type | void | register a callback in order to get the current position of the Reeti |
registerCallbackLedColor | ledColorCallback _cb: a callback function of ledColorCallback type | void | register a callback in order toget the current led Color of the Reeti |
registerCallbackIsSpeaking | isSpeakingCallback _cb: a callback function of isSpeakingCallback type | void | register a callback in order to allow to know if the Reeti is currently speaking |
registerCallbackBookMark | bookMarkCallback _cb: 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 |
registerCallbackIsPlaying | isPlayingCallback _cb :a callback function of isPlayingCallback type | void | register a callback in order to allow to know if the Reeti is currently playing a sequence |
unregisterPosition | void | void | unregister the position callback |
unregisterLedColor | void | void | unregister the led position callback |
unregisterIsSpeaking | void | void | unregister the callback used to know if the reeti is talking |
unregisterBookMark | void | void | unregister the callback to know when a bookmark is reached |
unregisterIsPlaying | void | void | unregister the callback used to know if the reeti is playing a sequence |
setPoseAsync | float _neckRotat : neck rotation position (from 0 to 100) float _neckPan : neck pan position (from 0 to 100) float _neckTilt : neck tilt position (from 0 to 100) float _rightLC : right lips corner position (from 0 to 100) float _leftLC : left lips corner position (from 0 to 100) float _topLip : top lip position (from 0 to 100) float _bottomLip : bottom lip position (from 0 to 100) float _rightEyePan : right eye pan position (from 0 to 100) float _rightEyeTilt : right eye tilt position (from 0 to 100) float _leftEyePan : left eye pan position (from 0 to 100) float _leftEyeTilt : left eye tilt position (from 0 to 100) float _rightEyeLid : right eye lid position (from 0 to 100) float _leftEyeLid : left eye lid position (from 0 to 100) float _rightEar : right ear position (from 0 to 100) float _leftEar : left ear position(from 0 to 100) float _speed : movement speed (from 10 to 300) servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | set the position of the 15 actuators of the Reeti asynchronously |
setPoseAsync | ReetiPosition _position : an instance of ReetiPosition containing the 15 positions float _speed : movement speed (from 10 to 300) servCallback _cb : a callback function of servCallback type int _timeout : delay before the function return false if no answer from the reeti (default 15000 ms) | void | set the position of the 15 actuators of the Reeti asynchronously |
takePictureAsync | Camera _cam: the camera to use , RIGHTCAM or LEFTCAM string _filename : the output filename servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | take a picture with one of the reeti's camera and save it under /home/reeti/Pictures asynchronously |
recordVideoAsync | Camera_cam : the camera to use , RIGHTCAM or LEFTCAM string _filename : the output filename servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | record a video with one of the reeti's camera and save it under /home/reeti/Videos asynchronously |
stopRecordAsync | Camera _cam : the camera to use , RIGHTCAM or LEFTCAM servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | stop the recording of the vidéo asynchronously |
sayAsync | string _speech : the text to say servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | make the reeti talk asynchronously |
sayWithSynchroAsync | string _speech : the text to say servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | make the reeti talk and move its lips asynchronously |
stopSpeechAsync | servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | make the reeti stop talking asynchronously |
playSequenceAsync | string _sequence : the sequence file to play servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | make the reeti play the chosen sequence asynchronously |
playPoseAsync | string _pose : the pose file to play servCallback _cb : a callback function of servCallback type int _timeout : delay before the callback function return a timeout error if no answer from the reeti (default 15000 ms) | void | make the reeti play the chosen pose asynchronously |
...