2015/08/14

Dependencies:   VNH5019

Dependents:   Cansat_program4_1

Fork of cansat by Mami Yokokawa

Files at this revision

API Documentation at this revision

Comitter:
s1210160
Date:
Fri Aug 14 22:38:32 2015 +0000
Parent:
10:e40f6ad7dab3
Commit message:
2015/08/14;

Changed in this revision

cansat.cpp Show annotated file Show diff for this revision Revisions of this file
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);