あ
Diff: move4wheel.cpp
- Revision:
- 1:6a2b95e78d25
- Parent:
- 0:ac911845484d
- Child:
- 2:a07bc3e733ff
diff -r ac911845484d -r 6a2b95e78d25 move4wheel.cpp --- a/move4wheel.cpp Sat Oct 27 11:24:45 2018 +0000 +++ b/move4wheel.cpp Fri Nov 16 23:15:03 2018 +0000 @@ -12,7 +12,7 @@ { const double Pi = 3.1415926535897; //motorのついている角度 - const double kMotorRad[kMotorNum] = {(3.0/4.0)*Pi, (5.0/4.0)*Pi, (7.0/4.0)*Pi, (1.0/4.0)*Pi}; + const double kMotorRad[kMotorNum] = {(1.0/4.0)*Pi, (3.0/4.0)*Pi, (5.0/4.0)*Pi, (7.0/4.0)*Pi}; //motorの回転方向。機体が反時計回りに回る向きなら1,逆なら-1 const int rotation[kMotorNum] = {1, 1, 1, 1};