yuto kawamura
/
George_Slave_BOTHMOVE
right and left move at the same time
Diff: main.cpp
- Revision:
- 8:43c31d2afb9e
- Parent:
- 7:c5c60192eb02
- Child:
- 9:ac95473a5d86
diff -r c5c60192eb02 -r 43c31d2afb9e main.cpp --- a/main.cpp Thu May 02 04:53:06 2019 +0000 +++ b/main.cpp Thu May 02 09:08:26 2019 +0000 @@ -261,7 +261,7 @@ ////////////変数 -bool hand_mode=NORMAL; +int hand_mode=NORMAL; ////////////関数 void setup(); @@ -329,7 +329,7 @@ } else if(hand_mode == GOAL) { - for(int i=0;i<5;++i) + for(int i=0;i<10;++i) servo.set_degree(0,(7200 - 3500) * 270.0/(11500 - 3500)); } bus_out = 0;