Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Revisions of main.h

Revision Date Message Actions
46:b156ef445742 2017-06-03 Final code for internal battlebot competition. File  Diff  Annotate
44:85bf2c0cd518 2017-06-02 rngesus File  Diff  Annotate
43:f22168a05c3e 2017-05-28 Changed some values around File  Diff  Annotate
41:56a34315dd75 2017-05-28 fixed floodfill File  Diff  Annotate
40:465d2b565977 2017-05-28 RIP Harambe File  Diff  Annotate
39:058fb32c24e0 2017-05-28 calibration n shit File  Diff  Annotate
38:fe05f93009a2 2017-05-27 Playing around with constants File  Diff  Annotate
37:3dcc95e9321c 2017-05-27 Need to get centered more before turns (so after moving forward). Also fix when both walls are missing! File  Diff  Annotate
36:9c4cc9944b69 2017-05-27 Fixed Right turn, left turn inconsistent File  Diff  Annotate
35:a5bd9ef82210 2017-05-27 4th Dip switch down to move File  Diff  Annotate
33:68ce1f74ab5f 2017-05-26 PID working with the new IRs now ... need to tune it a bit though. File  Diff  Annotate
32:69acb14778ea 2017-05-26 PID values still wonky. IR PID vs Encoder PID also wonky File  Diff  Annotate
31:9b71b44e0867 2017-05-24 newly modified floodfill, need to get PID with new values now! File  Diff  Annotate
30:11f4316a5ba7 2017-05-24 flipped the IRs; File  Diff  Annotate
29:ec2c5a69acd6 2017-05-24 Need to change ir2-ir3 to now be ir1 - ir4 File  Diff  Annotate
26:d20f1adac2d3 2017-05-21 Added floodfill to the code ... need to tune it now to get the wall array properly fixed!; File  Diff  Annotate
20:82836745332e 2017-05-17 added some init code to keep track of walls as moving. Turning works now (avg/4 gives good values so long as we are in the center)!; Also maybe we should start off facing back, and then turn 180 to get better average readings? File  Diff  Annotate
17:f713758f6238 2017-05-14 Added mbed-dev and still working on dynamically deciding to turn; File  Diff  Annotate
15:b80555a4a8b9 2017-05-14 Created PID for encoder based on difference of speed rotations. File  Diff  Annotate
11:8fc2b703086b 2017-05-07 Counting cells somewhat properly now File  Diff  Annotate
10:810d1849da9d 2017-05-06 Added interrupts for dip switch.; Added stm324xxx.h header; Began configuration for Tim2 and Tim5 File  Diff  Annotate
9:1d8e4da058cd 2017-05-06 IR PID is now implemented File  Diff  Annotate
8:a0760acdc59e 2017-05-05 Created Motor class File  Diff  Annotate
7:6f5cb6377bd4 2017-05-05 Added some stuff for motor + encoders File  Diff  Annotate
6:3d68fedd6fd9 2017-05-04 Fixed stuff File  Diff  Annotate
4:b5b7836ca2b0 2017-04-28 Added Modularity, Motors File  Diff  Annotate