2015_robocon_bteam / Mbed 2 deprecated 2015robot_main_zenkoku

Dependencies:   PID QEI mbed

Revision:
4:09f684eac572
Parent:
3:8d8c25c556ae
Child:
5:0e6dd1ff3ff2
--- a/main_ps3.cpp	Sat Oct 31 00:30:52 2015 +0000
+++ b/main_ps3.cpp	Sat Oct 31 05:08:25 2015 +0000
@@ -210,7 +210,6 @@
                 targ_velocity=0.0;
                 direction_controller.reset();
                 direction_controller.setBias(0.0);
-                direction_controller.reset();
                 step=2;
             }
             if((step==2)&&((velocity<500.0)&&(velocity>-500.0))){
@@ -363,4 +362,4 @@
 
 //        pc.printf("%f\r\n",(float)((((2.0 * PI) / swingRadVelocity) / 4.0)));
     }
-}
+}
\ No newline at end of file