Dan Argust
/
RenBuggyLineFollower
Basic Line Following Program
Revision 5:569a11ffee94, committed 2016-07-15
- Comitter:
- DanArgust
- Date:
- Fri Jul 15 10:36:00 2016 +0000
- Parent:
- 4:8f614e0b1cea
- Commit message:
- Line following robot; Current settings:; inputs = 2; lineToSpeedFactor = 10 / 3; speedModifier = -4
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 8f614e0b1cea -r 569a11ffee94 main.cpp --- a/main.cpp Thu Jul 14 15:10:49 2016 +0000 +++ b/main.cpp Fri Jul 15 10:36:00 2016 +0000 @@ -53,7 +53,7 @@ else isSearching = false; counter++; - if (counter > 300) { + if (counter > 600) { newLine = 3.0 - oldLine; counter = 0; }