2015/08/14

Dependencies:   VNH5019

Dependents:   Cansat_program4_1

Fork of cansat by Mami Yokokawa

Revision:
11:e82a5e1154a1
Parent:
10:e40f6ad7dab3
--- 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);