Buat agip
Dependencies: Motor_1 encoderKRAI mbed millis
Fork of Robo_Taker_Nasional_2018 by
Diff: main.cpp
- Revision:
- 12:9f56ff893897
- Parent:
- 11:c682c965f781
diff -r c682c965f781 -r 9f56ff893897 main.cpp --- a/main.cpp Sat May 26 05:52:03 2018 +0000 +++ b/main.cpp Sat May 26 08:19:01 2018 +0000 @@ -25,7 +25,7 @@ #define RAD_TO_DEG 57.2957795131 #define MAX_W_SPEED 15000 //max angular speed of robot #define TOLERANCET 0.8 //theta tolerance -#define PULSE_TO_JARAK 0.58148148 //kll roda / pulses +#define PULSE_TO_JARAK 0.58148148 //0.73885605 //kll roda / pulses #define L 298.0 //roda to center of robot #define TS 2.0 //time sampling #define LIMITPWM 0.4 //limit pwm motor