![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Buat agip
Dependencies: Motor_1 encoderKRAI mbed millis
Fork of Robo_Taker_Nasional_2018 by
Revision 12:9f56ff893897, committed 2018-05-26
- Comitter:
- MarchioKevin
- Date:
- Sat May 26 08:19:01 2018 +0000
- Parent:
- 11:c682c965f781
- Commit message:
- Waini;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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