Enki::EPuck Class Reference
[Robots classes]

#include <EPuck.h>

List of all members.


Detailed Description

A simple model of the E-puck robot.


Public Types

enum  Capabilities {
  CAPABILITY_NONE = 0, CAPABILITY_BASIC_SENSORS = 0x1, CAPABILITY_CAMERA = 0x2, CAPABILITY_SCANNER_TURRET = 0x3,
  CAPABILITY_BLUETOOTH = 0x4
}
 The bot's capabilities. You can simply select a predefined set of sensors. These correspond to the different extension modules that exist for the E-Puck. More...

Public Member Functions

 EPuck (unsigned capabilities=CAPABILITY_BASIC_SENSORS)
 Create a E-Puck with certain modules aka capabilities (basic).
 ~EPuck ()
 Destructor.
void setLedRing (bool status)
 Set ring color (true = red, false = black).

Public Attributes

IRSensor infraredSensor0
 The infrared sensor 0 (front-front-right).
IRSensor infraredSensor1
 The infrared sensor 1 (front-right).
IRSensor infraredSensor2
 The infrared sensor 2 (right).
IRSensor infraredSensor3
 The infrared sensor 3 (back-right).
IRSensor infraredSensor4
 The infrared sensor 4 (back-left).
IRSensor infraredSensor5
 The infrared sensor 5 (left).
IRSensor infraredSensor6
 The infrared sensor 6 (front-left).
IRSensor infraredSensor7
 The infrared sensor 7 (front-front-left).
CircularCam camera
 Linear camera.
EPuckScannerTurret scannerTurret
 The rotating, long range distance sensor turret.
Bluetoothbluetooth
 Bluetooth module.


Member Enumeration Documentation

enum Enki::EPuck::Capabilities

The bot's capabilities. You can simply select a predefined set of sensors. These correspond to the different extension modules that exist for the E-Puck.

Enumerator:
CAPABILITY_NONE  No sensor: not very useful.
CAPABILITY_BASIC_SENSORS  Basic_Sensors: Just the 8 IRSensors of the base module.
CAPABILITY_CAMERA  Camera: add a linear camera.
CAPABILITY_SCANNER_TURRET  The rotating, long range distance sensor turret.
CAPABILITY_BLUETOOTH  Bluetooth: activate the bluetooth module (Requires the use of Bluetooth master).


The documentation for this class was generated from the following files:
Generated on Sun Mar 1 03:10:09 2009 for Enki by  doxygen 1.5.1