Line following bot using MAXREFDES89, MAX32600MBED, and Pololu QTR-RC sensor
Dependencies: MAX14871_Shield mbed
Diff: main.cpp
- Revision:
- 2:2c35ad38bf00
- Parent:
- 1:b928ca54cd1a
- Child:
- 3:d268f6e06b7a
--- a/main.cpp Thu Dec 17 02:29:28 2015 +0000 +++ b/main.cpp Thu Dec 17 02:46:09 2015 +0000 @@ -55,7 +55,7 @@ const int32_t MIN_DUTY_CYCLE = -100; //set PID terms to 0 if not used/needed - const int32_t KP = 7; + const int32_t KP = 16; const int32_t KI = 0; const int32_t KD = 0; const int32_t TARGET_DUTY_CYCLE = 50; //starts bot off at 80% duty cycle