2015/08/14
Dependencies: VNH5019
Fork of cansat by
Revision 11:e82a5e1154a1, committed 2015-08-14
- 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);