summaryrefslogtreecommitdiff
path: root/i/chuck/src/es/es.hh
diff options
context:
space:
mode:
authorbecquet2007-05-11 12:47:52 +0000
committerbecquet2007-05-11 12:47:52 +0000
commitb95709754c870cbb793266ce8e605a81d01a4f75 (patch)
tree57cb6c9adbff2044c112d28b44f2488da6ff9c04 /i/chuck/src/es/es.hh
parent65e6a92b917c506516a952580015deee24ea358e (diff)
Diffstat (limited to 'i/chuck/src/es/es.hh')
-rw-r--r--i/chuck/src/es/es.hh23
1 files changed, 11 insertions, 12 deletions
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<int> Sharps;
-
+ enum ascen{UP,DOWN};
+ typedef std::vector<int> 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);