#include <Enki.h>
Inheritance diagram for Teem::EnkiAlice:
Public Member Functions | |
virtual | ~EnkiAlice () |
Destructor, remove object from world and destroy Enki instance. | |
virtual void | setSpeed (double left, double right) |
Set the speed of the left and right wheels of the robot. | |
virtual double | getIRSensor (unsigned index) |
Return the value of IR sensor index. | |
virtual void | setTransmitValue (unsigned val) |
Broadcast value val using IR transmission. | |
virtual void | setTransmit (bool enabled) |
Enable/disable IR transmission. | |
virtual bool | wasCommunication (void) |
Return true if a value has been received by IR transmission. | |
virtual unsigned | getSensorId (void) |
Return the sensor on which the last value was received. | |
virtual unsigned | getSensorValue (void) |
Return the last value received. | |
virtual void | getSpeed (double &left, double &right) |
Return the speed of Alice wheels in left and right. | |
virtual An::Color | getCameraPixel (unsigned index) |
return the value of camera pixel index | |
virtual unsigned | getCameraSize () |
Return the number of pixel in the camera. | |
Private Member Functions | |
EnkiAlice (EnkiWorld *world, const std::string &root) | |
Private constructor, created from world. | |
Private Attributes | |
EnkiWorld * | world |
Pointer to world to be able to remove object in destructor. | |
Ishtar::VariablesPublisher | ishtarPublisher |
Ishtar publisher for accessible variables of the Enki object. | |
Friends | |
class | EnkiWorld |
class | Registrar< Entity, std::string, EnkiWorld *, std::string > |