summaryrefslogtreecommitdiff
path: root/i/chuck/src
diff options
context:
space:
mode:
Diffstat (limited to 'i/chuck/src')
-rw-r--r--i/chuck/src/ai/ai.cc1
-rw-r--r--i/chuck/src/es/es.cc8
-rw-r--r--i/chuck/src/motor/motor.cc7
-rw-r--r--i/chuck/src/motor/motor.hh4
4 files changed, 20 insertions, 0 deletions
diff --git a/i/chuck/src/ai/ai.cc b/i/chuck/src/ai/ai.cc
index 93b7cac..6593f2d 100644
--- a/i/chuck/src/ai/ai.cc
+++ b/i/chuck/src/ai/ai.cc
@@ -151,6 +151,7 @@ Ai::prepare (void)
waitJack (true);
// Set actual position
motor_.getAsserv().setPos(0,0,0);
+
// Ok the match begin ! Go go go !
Timer::startRound ();
es_.setOthersStat (0);
diff --git a/i/chuck/src/es/es.cc b/i/chuck/src/es/es.cc
index a3ef05c..34ec579 100644
--- a/i/chuck/src/es/es.cc
+++ b/i/chuck/src/es/es.cc
@@ -259,3 +259,11 @@ Es::setcolorsens(void)
else {return -1;}
}
+/*
+//Le roulo tombe
+void
+Es::roulo_tombe(void)
+{
+ proto_.send('m',"bb",);
+}
+*/
diff --git a/i/chuck/src/motor/motor.cc b/i/chuck/src/motor/motor.cc
index c79d9a9..f6e23bd 100644
--- a/i/chuck/src/motor/motor.cc
+++ b/i/chuck/src/motor/motor.cc
@@ -157,6 +157,13 @@ Motor::receivePos (double x, double y, double a)
log_ ("Pos") << "x " << x << " y " << y << " a " << a / (2 * M_PI) * 360;
}
+///Do the super Crénaux
+bool
+docrenO(void)
+{
+
+}
+
void
Motor::receiveSpeedStat (int t, int a)
{
diff --git a/i/chuck/src/motor/motor.hh b/i/chuck/src/motor/motor.hh
index 548c7bd..9c4e4f9 100644
--- a/i/chuck/src/motor/motor.hh
+++ b/i/chuck/src/motor/motor.hh
@@ -69,6 +69,10 @@ class Motor : public Asserv::Receiver
void reset (void);
/// get the position of robal
void getPosition(double & x, double & y, double & a) const;
+ /* /// DO the super Crénaux
+ bool docrenO();
+ */
+
private:
/// Next seq number.
inline void nextSeq (void);