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

Teem::EnkiKhepera Class Reference
[World interfaces]

#include <Enki.h>

Inheritance diagram for Teem::EnkiKhepera:

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

Detailed Description

This is the implementation of a Khepera in the Enki simulator.


Public Member Functions

virtual ~EnkiKhepera ()
 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 void getEncoders (double &left, double &right)
 Return the encoder values in left and right.
virtual double getIRSensor (unsigned index)
 Return the value of IR sensor index.
virtual An::Color getCameraPixel (unsigned index)
 return the value of camera pixel index
virtual unsigned getCameraSize ()
 Return the number of pixel in the camera.
virtual void setPosition (const An::Point &pos)
 Set the position of the object.

Private Member Functions

 EnkiKhepera (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