summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/test_motor.cc
diff options
context:
space:
mode:
authorhaller2005-05-04 02:32:11 +0000
committerhaller2005-05-04 02:32:11 +0000
commit1c34d302ede3696d9df925195d358185d4504fc5 (patch)
tree4cd08a484d86b569c4606d2b0e03d3e5eb34f096 /2005/i/robert/src/motor/test_motor.cc
parent626e59a6ab3e8efc91ac4808dd21ad69f4411366 (diff)
Les F c'est mal
Diffstat (limited to '2005/i/robert/src/motor/test_motor.cc')
-rw-r--r--2005/i/robert/src/motor/test_motor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/2005/i/robert/src/motor/test_motor.cc b/2005/i/robert/src/motor/test_motor.cc
index c3f5aa9..e57ff53 100644
--- a/2005/i/robert/src/motor/test_motor.cc
+++ b/2005/i/robert/src/motor/test_motor.cc
@@ -111,9 +111,11 @@ main (int argc, char **argv)
while(!motor.idle())
{
motor.wait(-1);
+ motor.sync();
}
break;
}
+ motor.sync();
break;
}
@@ -128,6 +130,7 @@ main (int argc, char **argv)
{
motor.wait (stop - t);
t = Timer::getProgramTime ();
+ motor.sync();
}
break;
}