34 #ifndef __ENKI_THYMIO2_H 35 #define __ENKI_THYMIO2_H 72 unsigned int textureID;
73 unsigned int* ledTexture;
74 bool ledTextureNeedUpdate;
79 BOTTOM_LEFT, BOTTOM_RIGHT,
81 BUTTON_UP, BUTTON_DOWN, BUTTON_LEFT, BUTTON_RIGHT,
83 RING_0, RING_1, RING_2, RING_3,
84 RING_4, RING_5, RING_6, RING_7,
86 IR_FRONT_0, IR_FRONT_1, IR_FRONT_2,
87 IR_FRONT_3, IR_FRONT_4, IR_FRONT_5,
91 LEFT_RED, LEFT_BLUE, RIGHT_BLUE, RIGHT_RED,
102 void setLedIntensity(LedIndex ledIndex,
double intensity = 1.f);
103 void setLedColor(LedIndex ledIndex,
const Color&
color =
Color(1.,1.,1.,1.));
104 Color getColorLed(LedIndex ledIndex)
const;
107 Color ledColor[LED_COUNT];
IRSensor infraredSensor2
The infrared sensor 2 (front-front)
Definition: Thymio2.h:57
Definition: DifferentialWheeled.h:45
A simple model of the Thymio robot.
Definition: Thymio2.h:49
IRSensor infraredSensor3
The infrared sensor 3 (front-right)
Definition: Thymio2.h:59
GroundSensor groundSensor1
The ground sensor 1 (right)
Definition: Thymio2.h:70
Enki is the namespace of the Enki simulator. All Enki functions and classes excepted the math one are...
Definition: BluetoothBase.cpp:44
Header of the generic infrared sensor.
IRSensor infraredSensor4
The infrared sensor 4 (front-right-right)
Definition: Thymio2.h:61
IRSensor infraredSensor5
The infrared sensor 5 (back-left)
Definition: Thymio2.h:63
Header of the features of differential wheeled robots.
~Thymio2()
Destructor.
Definition: Thymio2.cpp:123
A generic infrared sensor.
Definition: IRSensor.h:86
IRSensor infraredSensor1
The infrared sensor 1 (front-left)
Definition: Thymio2.h:55
A color in RGBA.
Definition: Types.h:55
IRSensor infraredSensor6
The infrared sensor 6 (back-right)
Definition: Thymio2.h:65
GroundSensor groundSensor0
The ground sensor 0 (left)
Definition: Thymio2.h:68
Color color
The overall color of this object, if hull is empty or if it does not contain any texture.
Definition: PhysicalEngine.h:285
Header of the ground infrared sensor.
Thymio2()
Create a Thymio II.
Definition: Thymio2.cpp:47
IRSensor infraredSensor0
The infrared sensor 0 (front-left-left)
Definition: Thymio2.h:53
A ground infrared sensor.
Definition: GroundSensor.h:56