cansat
Dependencies: VNH5019
Fork of cansat2 by
Revision 12:0b2d3e8a615b, committed 2015-08-25
- Comitter:
- s1210160
- Date:
- Tue Aug 25 04:50:09 2015 +0000
- Parent:
- 11:e82a5e1154a1
- Commit message:
- 2015/08/25
Changed in this revision
cansat.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e82a5e1154a1 -r 0b2d3e8a615b cansat.cpp --- a/cansat.cpp Fri Aug 14 22:38:32 2015 +0000 +++ b/cansat.cpp Tue Aug 25 04:50:09 2015 +0000 @@ -111,6 +111,7 @@ CanSat::compass_y = y; CanSat::compass_z = z; + // compassの向きの補正 setAngle = angle-270; if(setAngle < 0){ setAngle = setAngle + 360;