c

Dependencies:   Servo ServoArm mbed

Fork of PES_PIXY_Official by zhaw_st16b_pes2_10

Revision:
1:fd3cef0f116d
Parent:
0:15a8480061e8
--- a/Sources/Greifer.cpp	Mon May 22 11:24:46 2017 +0000
+++ b/Sources/Greifer.cpp	Tue May 23 16:24:49 2017 +0000
@@ -26,9 +26,9 @@
 int Greifer::take()
 
 {
-    this->greifer->position(-70.0f);
+    this->greifer->position(-60.0f);
     static int time = 0;
-    if( time < 1000 ){
+    if( time < 30 ){
         time++;
         return 0;
     }
@@ -42,7 +42,7 @@
 {
     this->greifer->position(65.0f);
     static int time = 0;
-    if( time < 1000 ){
+    if( time < 10 ){
         time++;
         return 0;
     }