Robot's source code

Dependencies:   mbed

Revision:
119:c45efcd706d9
Parent:
117:f8c147141a0c
diff -r 09bfc62d4867 -r c45efcd706d9 Map/Objectifs/Obj_depot.cpp
--- a/Map/Objectifs/Obj_depot.cpp	Wed May 06 11:23:08 2015 +0000
+++ b/Map/Objectifs/Obj_depot.cpp	Wed May 06 15:17:16 2015 +0000
@@ -13,6 +13,8 @@
 void Obj_depot::run()
 {
     ax12_pince->setGoal(PINCE_OUVERTE);
+    wait(1.5);
+    ax12_pince->setMaxTorque(0);
     
     motorL.setSpeed(-0.3);
     motorR.setSpeed(-0.3);