From 08c46b0aa2c1791ca404a60ca0f75e4687553076 Mon Sep 17 00:00:00 2001 From: dufourj Date: Wed, 24 May 2006 20:13:50 +0000 Subject: Ai : - rajout de parametres ; - rajout de fonctions. Es : - fonctions de gettage de jack/couleur de sélection. --- i/marvin/src/es/es.hh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'i/marvin/src/es/es.hh') 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... -- cgit v1.2.3