summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ai/ai.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/ai/ai.hh')
-rw-r--r--2005/i/robert/src/ai/ai.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/2005/i/robert/src/ai/ai.hh b/2005/i/robert/src/ai/ai.hh
index 8454706..6867031 100644
--- a/2005/i/robert/src/ai/ai.hh
+++ b/2005/i/robert/src/ai/ai.hh
@@ -40,7 +40,7 @@ class Ai
// Modules de controle du robot
Motor motor_;
Es es_;
- OVision oVision_;
+// OVision oVision_;
// Scheduler du robot
scheduler::Scheduler scheduler_;
scheduler::SchedulableReadFd schedulableMotor_;
@@ -87,6 +87,12 @@ class Ai
bool sync (void);
/// Reset la PWM à zéro.
void resetPwm (void);
+ /// Renvoye l'état du bouton de sélection de couleur.
+ /// Bas - vert - faux
+ /// Haut - rouge - vrai
+ bool colorBouton (void);
+ /// Renvoye si l'objet devant nous est trop prêt.
+ bool objectInFront (void);
// Balistique non fiable.
void runBalNonFiable (void);