Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Revisions of main.h

Revision Date Message Actions
46:b156ef445742 21 months ago Final code for internal battlebot competition. File  Diff  Annotate
44:85bf2c0cd518 21 months ago rngesus File  Diff  Annotate
43:f22168a05c3e 22 months ago Changed some values around File  Diff  Annotate
41:56a34315dd75 22 months ago fixed floodfill File  Diff  Annotate
40:465d2b565977 22 months ago RIP Harambe File  Diff  Annotate
39:058fb32c24e0 22 months ago calibration n shit File  Diff  Annotate
38:fe05f93009a2 22 months ago Playing around with constants File  Diff  Annotate
37:3dcc95e9321c 22 months ago Need to get centered more before turns (so after moving forward). Also fix when both walls are missing! File  Diff  Annotate
36:9c4cc9944b69 22 months ago Fixed Right turn, left turn inconsistent File  Diff  Annotate
35:a5bd9ef82210 22 months ago 4th Dip switch down to move File  Diff  Annotate
33:68ce1f74ab5f 22 months ago PID working with the new IRs now ... need to tune it a bit though. File  Diff  Annotate
32:69acb14778ea 22 months ago PID values still wonky. IR PID vs Encoder PID also wonky File  Diff  Annotate
31:9b71b44e0867 22 months ago newly modified floodfill, need to get PID with new values now! File  Diff  Annotate
30:11f4316a5ba7 22 months ago flipped the IRs; File  Diff  Annotate
29:ec2c5a69acd6 22 months ago Need to change ir2-ir3 to now be ir1 - ir4 File  Diff  Annotate
26:d20f1adac2d3 22 months ago Added floodfill to the code ... need to tune it now to get the wall array properly fixed!; File  Diff  Annotate
20:82836745332e 22 months ago 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 22 months ago Added mbed-dev and still working on dynamically deciding to turn; File  Diff  Annotate
15:b80555a4a8b9 22 months ago Created PID for encoder based on difference of speed rotations. File  Diff  Annotate
11:8fc2b703086b 22 months ago Counting cells somewhat properly now File  Diff  Annotate
10:810d1849da9d 22 months ago Added interrupts for dip switch.; Added stm324xxx.h header; Began configuration for Tim2 and Tim5 File  Diff  Annotate
9:1d8e4da058cd 22 months ago IR PID is now implemented File  Diff  Annotate
8:a0760acdc59e 22 months ago Created Motor class File  Diff  Annotate
7:6f5cb6377bd4 22 months ago Added some stuff for motor + encoders File  Diff  Annotate
6:3d68fedd6fd9 22 months ago Fixed stuff File  Diff  Annotate
4:b5b7836ca2b0 23 months ago Added Modularity, Motors File  Diff  Annotate