summaryrefslogtreecommitdiff
path: root/i/chuck/src/es
diff options
context:
space:
mode:
authorbecquet2007-05-17 00:11:10 +0000
committerbecquet2007-05-17 00:11:10 +0000
commit81aac69fa570445c588197346efb3fdc61021309 (patch)
tree5f6394bb40d7fbfbc8c95a2c24f5f0bc02c9e0d7 /i/chuck/src/es
parentd909156f9c876d37b2905206371aa424edf64646 (diff)
Diffstat (limited to 'i/chuck/src/es')
-rw-r--r--i/chuck/src/es/es.cc8
-rw-r--r--i/chuck/src/es/es.hh5
2 files changed, 7 insertions, 6 deletions
diff --git a/i/chuck/src/es/es.cc b/i/chuck/src/es/es.cc
index b88d6eb..237b7db 100644
--- a/i/chuck/src/es/es.cc
+++ b/i/chuck/src/es/es.cc
@@ -265,11 +265,11 @@ Es::setcolorsens(void)
}
}
-/*
-//Le roulo tombe
+
+//Le roulo tombe grace au servo
void
Es::roulo_tombe(void)
{
- proto_.send('m',"bb",);
+ proto_.send('m',"bb",0x00,0x7b);
}
-*/
+
diff --git a/i/chuck/src/es/es.hh b/i/chuck/src/es/es.hh
index 9096dec..7acde3e 100644
--- a/i/chuck/src/es/es.hh
+++ b/i/chuck/src/es/es.hh
@@ -117,9 +117,10 @@ class Es : public Proto::Receiver
void bouge_ascenceur(int sens,uint8_t vit,uint8_t tps);
///rotate Left or Right
int setcolorsens(void);
- //a faire
+ //a finir pour def le vit
void roulo_roule(int vit);
-
+ //le roulo tombe
+ void roulo_tombe(void);
private:
/// Update system for one sensor
void updateAnalysisSensor (int value, int index, int threshold);