MOtor control Pololu
Dependencies: Encoder HIDScope mbed-dsp mbed
Diff: main.cpp
- Revision:
- 10:6f8af13cc3f4
- Parent:
- 9:e09d81850a05
- Child:
- 11:afe2140e469e
diff -r e09d81850a05 -r 6f8af13cc3f4 main.cpp --- a/main.cpp Wed Oct 01 09:34:40 2014 +0000 +++ b/main.cpp Wed Oct 01 09:58:52 2014 +0000 @@ -3,8 +3,8 @@ #include "HIDScope.h" #define TSAMP 0.01 -#define K_P (3) -#define K_I (0.02 *TSAMP) +#define K_P (0.01) +#define K_I (0 *TSAMP) #define K_D (0 /TSAMP) #define I_LIMIT 1.