this code is completely restructured, but should do the same thing. did not want to directly commit, since it may not work at all. compiles though.

Dependencies:   AVEncoder mbed-src-AV

Fork of Test by 2015-2016_Mouserat

Revisions of main.cpp

Revision Date Message Actions
13:5f08195456a4 2015-12-15 HUGE RESTRUCTURING OF THE CODE. File  Diff  Annotate
12:0849b16c2672 2015-12-05 gyro turn readded. more robust; File  Diff  Annotate
11:cde87eaf3f0f 2015-12-04 updated File  Diff  Annotate
10:d2907773f9a3 2015-12-04 changed code structure up a lot. (no need to account for systick other things, gave more clear definitions to mouse_state and turn_direction); removed i-controller because it created a large amount of drift. File  Diff  Annotate
9:ad6f60953086 2015-12-04 kla;sdjfal;sdkfjal;skdjfasdf fixed integral controller (aka it sucked so i removed it) plus i restructured the code.; File  Diff  Annotate
8:03e5c3aaa9c9 2015-12-04 Consolidated to one ticker, doesn't work as expected mouse is detecting walls but is doing a lot of left/right turns, it might be good to enumerate the right turn case instead of leaving it as an else statement without a TURN_STATE thing. File  Diff  Annotate
7:b866e3aae05f 2015-12-04 ir changes; File  Diff  Annotate
6:61b503990cd6 2015-12-03 Turning logic works (probably) File  Diff  Annotate
5:f704940c9c7e 2015-12-02 turning added - and logic for navigating from stopped mouse state; File  Diff  Annotate
4:112f3d35bd2d 2015-12-01 added ir pid File  Diff  Annotate
3:40333f38771d 2015-11-24 Mauser File  Diff  Annotate
2:82a11e992619 2015-11-24 yahello; ; File  Diff  Annotate
1:98efd8dd9077 2015-11-21 ir File  Diff  Annotate
0:13d8a77fb1d7 2015-11-21 pid test. File  Diff  Annotate