cansat

Dependencies:   VNH5019

Fork of cansat2 by CanSat2015aizu

Revision:
9:ea6a71ec9f9d
Parent:
8:bc3365988ee1
Child:
10:e40f6ad7dab3
diff -r bc3365988ee1 -r ea6a71ec9f9d cansat.cpp
--- a/cansat.cpp	Wed Aug 12 12:10:26 2015 +0000
+++ b/cansat.cpp	Wed Aug 12 12:49:17 2015 +0000
@@ -14,23 +14,18 @@
 
         if(flag == 0){
             _agzSheild.changeSpeed(1, speed, 1, speed); //straight
-            motor_command = 'f';
         }
         if(flag == 1){
             _agzSheild.changeSpeed(0, speed, 0, speed); 
-            motor_command = 's';
         }
         if(flag == 2){
              _agzSheild.changeSpeed(1, speed, 0, speed); //Turn Right
-            motor_command = 'r';
         }           
         if(flag == 3){
              _agzSheild.changeSpeed(0, speed, 1, speed); //Turn Right
-            motor_command = 'l';
         }   
         if(flag == 4){
             _agzSheild.changeSpeed(2, speed, 2, speed); 
-            motor_command = 'b';
         }
 }