summaryrefslogtreecommitdiff
path: root/i/marvin/src/es/es.hh
diff options
context:
space:
mode:
authordufourj2006-05-24 20:13:50 +0000
committerdufourj2006-05-24 20:13:50 +0000
commit08c46b0aa2c1791ca404a60ca0f75e4687553076 (patch)
treed0b97fb8acc6da521a1be51de87c113090be0d91 /i/marvin/src/es/es.hh
parent78a8f07f655dc7ff426d87001f3ca4d6a8365ded (diff)
Ai :
- rajout de parametres ; - rajout de fonctions. Es : - fonctions de gettage de jack/couleur de sélection.
Diffstat (limited to 'i/marvin/src/es/es.hh')
-rw-r--r--i/marvin/src/es/es.hh11
1 files changed, 7 insertions, 4 deletions
diff --git a/i/marvin/src/es/es.hh b/i/marvin/src/es/es.hh
index dd9ac1c..cbf989e 100644
--- a/i/marvin/src/es/es.hh
+++ b/i/marvin/src/es/es.hh
@@ -59,8 +59,6 @@ class Es : public Proto::Receiver
int rvbSniffRefRatio_, rvbSniffGreenLimit_, rvbSniffClearLimit_;
/// RVB Sensors raw stats
int rvbSensorMaskStat_, rvbSensorStat_;
- /// Reference which sensor at boot time
- int rvbSniffRefMask_;
/// RVB Sniff stats
int rvbSniffMaskStat_, rvbSniffStat_;
/// RVB Sensors raw stats
@@ -70,7 +68,7 @@ class Es : public Proto::Receiver
/// Sharps
Sharps sharps_;
/// Others module, jack & colour
- bool jack_, colorModeBlue_;
+ bool jackIn_, colorModeBlue_;
int othersStat_;
/// Stat of front sensors
int rvbSniffFrontStat_;
@@ -97,6 +95,10 @@ class Es : public Proto::Receiver
void shutUp (void);
/// Set frequency of ack
void setAckStat (int freq);
+ /// Get the state of the jack
+ bool isJackOut (void);
+ /// Get the color mode of the button
+ bool isColorModeBlue (void);
/// Envoie de la config des sensors RVB
void setRVBSensorsConfig(int false_ic, int max_ov);
@@ -105,7 +107,7 @@ class Es : public Proto::Receiver
/// Règle les stats des sensors RVB
void setRVBSensorsStat(int mask_captor, int freq);
/// règle la couleur actuelle comme référente
- void setRefColor(int mask_captor, int mode = 0);
+ void refColor(int mask_captor, int mode = 0);
/// Règle les stats d'affichage de la couleur
void setRVBSniffStat (int mask_captor, int freq);
/// Configure statistic for the sensor of the ball
@@ -116,6 +118,7 @@ class Es : public Proto::Receiver
void enableAllSensors (bool enable);
/// Set frequency of jack, selectoul printed out function
+ /// Use this function with frequency 0 to disable this stat.
void setOthersStat (int freq);
/// Discute avec les servo...