Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: robot.h
- Revision:
- 23:55f8b1abbf99
- Parent:
- 21:18b585a44155
- Child:
- 25:c4577daa425a
--- a/robot.h Sun Aug 02 22:22:29 2015 +0000 +++ b/robot.h Wed Aug 05 05:21:41 2015 +0000 @@ -26,6 +26,7 @@ int mode; #define MANUAL_MODE 0 #define LINE_FOLLOW_MODE 1 +#define TURN_MODE 2 volatile double leftspeed; volatile double rightspeed; @@ -36,7 +37,7 @@ // GAINS ////////////////////////////// -float k_p = 0.1; +float k_p = 0.3; float k_i = 0.0; float k_d = 0.0; //////////////////////////////