2015/08/11
Dependents: Cansat_program3 Cansat_program4
Fork of CanSat_aoki by
Diff: cansat.cpp
- Revision:
- 9:ea6a71ec9f9d
- Parent:
- 8:bc3365988ee1
- Child:
- 10:e40f6ad7dab3
--- 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'; } }