Script voor aansturen motoren
Dependencies: Encoder HIDScope MODSERIAL mbed-dsp mbed
Revision 20:25e5916fe7b1, committed 2014-10-30
- Comitter:
- jessekaiser
- Date:
- Thu Oct 30 11:57:32 2014 +0000
- Parent:
- 19:3e46c457091c
- Commit message:
- werken aan PI regelaar;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 30 11:45:48 2014 +0000 +++ b/main.cpp Thu Oct 30 11:57:32 2014 +0000 @@ -5,7 +5,7 @@ #define TSAMP 0.005 #define K_P (0.8) -#define K_I (0.01 *TSAMP) +#define K_I (0.1 *TSAMP) #define I_LIMIT 1. #define pwm1_min 0.06 #define pwm2_min 0