cansat
Dependencies: VNH5019
Fork of cansat2 by
Diff: cansat.cpp
- Revision:
- 12:0b2d3e8a615b
- Parent:
- 11:e82a5e1154a1
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;