summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ai/ai.hh
diff options
context:
space:
mode:
authordufourj2005-05-07 01:36:46 +0000
committerdufourj2005-05-07 01:36:46 +0000
commit3ece446c2a9198b4b50323cd1b3a5182114c26df (patch)
tree923e40413c7efe5570d30659245c24137ae7c55f /2005/i/robert/src/ai/ai.hh
parenta32c76bb0347d70c321957d26ca9b4df19778030 (diff)
M2ga commit bordelique du vendredi à 3h du matin avec un gars lourd
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);