From b95709754c870cbb793266ce8e605a81d01a4f75 Mon Sep 17 00:00:00 2001 From: becquet Date: Fri, 11 May 2007 12:47:52 +0000 Subject: --- i/chuck/src/es/es.hh | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'i/chuck/src/es/es.hh') diff --git a/i/chuck/src/es/es.hh b/i/chuck/src/es/es.hh index 1d5c13d..0de1264 100644 --- a/i/chuck/src/es/es.hh +++ b/i/chuck/src/es/es.hh @@ -36,8 +36,8 @@ class Config; class Es : public Proto::Receiver { public: - typedef std::vector Sharps; - + enum ascen{UP,DOWN}; + typedef std::vector Sharps; private: // Objet Proto de communication vers la carte es Proto proto_; @@ -93,14 +93,14 @@ class Es : public Proto::Receiver /// Get the color mode of the button bool isColorModeBlue (void); - /// Enable all the sensors or just the 4 and 1 near the ground - 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... - void setServoPos (int servo_mask, int servoPos); + + /// Set update frequency of sharps void setSharpUpdate (int sharp_mask, int freq); @@ -115,14 +115,13 @@ class Es : public Proto::Receiver /// Get the current pressed keys of the LCD void lcdGetKey (int freq); - /// Front sensor - bool frontSensor (void) { return front_sensor_; } - /// Clear sensor - void clearFrontSensor (void) { front_sensor_ = false; } + + + ///Activé l'assenceur - void bouge_ascenceur(int sensrot); - + void bouge_ascenceur(int sens,uint8_t vit,uint8_t tps); + //a faire private: /// Update system for one sensor void updateAnalysisSensor (int value, int index, int threshold); -- cgit v1.2.3