あ
Revision 2:a07bc3e733ff, committed 2018-11-17
- Comitter:
- yuki0701
- Date:
- Sat Nov 17 06:56:30 2018 +0000
- Parent:
- 1:6a2b95e78d25
- Commit message:
- a
Changed in this revision
move4wheel.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/move4wheel.cpp Fri Nov 16 23:15:03 2018 +0000 +++ b/move4wheel.cpp Sat Nov 17 06:56:30 2018 +0000 @@ -12,7 +12,7 @@ { const double Pi = 3.1415926535897; //motorのついている角度 - const double kMotorRad[kMotorNum] = {(1.0/4.0)*Pi, (3.0/4.0)*Pi, (5.0/4.0)*Pi, (7.0/4.0)*Pi}; + const double kMotorRad[kMotorNum] = {(5.0/4.0)*Pi, (7.0/4.0)*Pi, (1.0/4.0)*Pi, (3.0/4.0)*Pi}; //motorの回転方向。機体が反時計回りに回る向きなら1,逆なら-1 const int rotation[kMotorNum] = {1, 1, 1, 1};