When delivered Reeti includes basics modules to access to all its resources.
Those modules are loaded in Urbi server just after Reeti boot :
Note : To add your own module in the automatic launcher refer to Run your module at Reeti Launch.
Module Name | Description | Module prefix | Examples (refer to API below for full list of functions, parameters and data) |
---|---|---|---|
UReetiHead | Interface with all head functions (15 motors and 2 LED) | Global.servo.xxx | Global.servo.neutralPosition() ; Global.servo.leftEyePan = 20; Global.servo.color = "red"; |
UTTS | Interface with Loquendo Text To Speech (refer also to Loquendo doc) | Global.tts.xxx | Global.tts.say("hello"); Global.tts.sayWithSynchro("hello"); Global.tts.stopSpeech(); |
UCamera | Interface with Reeti Cameras (see also Use Reeti Video) | Global.camera.xxx | Global.camera.takePicture(0, "myPicture.jpg"); – 0 for left camera Global.camera.recordVideo(1, "myVideo.avi"); – 1 for right camera Global.camera.stopRecord(1); |
UPlayer | Module to play Poses or Sequences created with Reeti Graphical Interface | Global.player.xxx | Global.playSequence("mySequenceName"); Global.playPose("myPoseName"); |
Urbi server
| Urbi server functions (refer to Urbi sdk) | Global.server.xxx | Global.server.systemLaunch("mkdir myDir"); – execute system code Global.server.loadScript("/home/reeti/reetiDocuments/Moves/myScript.u"); |
Browse the online Reeti Modules API (doxygen doc) :
How to update API pages (robopec restricted page)
Download the Reeti Modules API doxygen archive :