cansat

Dependencies:   VNH5019

Fork of cansat2 by CanSat2015aizu

Revision:
11:e82a5e1154a1
Parent:
10:e40f6ad7dab3
Child:
12:0b2d3e8a615b
diff -r e40f6ad7dab3 -r e82a5e1154a1 cansat.cpp
--- a/cansat.cpp	Thu Aug 13 07:10:53 2015 +0000
+++ b/cansat.cpp	Fri Aug 14 22:38:32 2015 +0000
@@ -19,10 +19,10 @@
             _agzSheild.changeSpeed(0, speed, 0, speed); 
         }
         if(flag == 2){
-             _agzSheild.changeSpeed(1, speed, 0, speed); //Turn Right
+             _agzSheild.changeSpeed(1, speed, 0, speed/2); //Turn Right
         }           
         if(flag == 3){
-             _agzSheild.changeSpeed(0, speed, 1, speed); //Turn Right
+             _agzSheild.changeSpeed(0, speed/2, 1, speed); //Turn Right
         }   
         if(flag == 4){
             _agzSheild.changeSpeed(2, speed, 2, speed);