Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::EnkiAlice Class Reference
[World interfaces]

#include <Enki.h>

Inheritance diagram for Teem::EnkiAlice:

Teem::EnkiPositionable< Enki::Alice > Teem::Alice Teem::Positionable Teem::Entity Teem::Positionable Teem::DifferentialWheeled Teem::IRSensorEquipped Teem::Camera1DEquipped List of all members.

Detailed Description

This is the implementation of an Alice in the Enki simulator.


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

EnkiWorldworld
 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 >


The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:38:28 2005 for Teem by  doxygen 1.4.2