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:
- 31:e36b7722df56
- Parent:
- 30:ea511cd81f43
- Child:
- 32:7e518320305f
--- a/robot.h Thu Aug 06 06:30:50 2015 +0000 +++ b/robot.h Fri Aug 07 05:34:13 2015 +0000 @@ -27,6 +27,7 @@ #define MANUAL_MODE 0 #define LINE_FOLLOW_MODE 1 #define TURN_MODE 2 +#define NUDGE_MODE 3 bool comm_time; @@ -42,8 +43,8 @@ ////////////////////////////// double k_p = 0.3; double k_i = 0.0; -double k_d = 0.0; -double speed = 0.35; +double k_d = 0.6; +double speed = 0.3; ////////////////////////////// Ticker communication;