Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Revisions of main.cpp

Revision Date Message Actions
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
34:69342782fb68 2017-05-26 Added small reverse turns before the break so that we can stop faster. 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
29:ec2c5a69acd6 2017-05-24 Need to change ir2-ir3 to now be ir1 - ir4 File  Diff  Annotate
28:8126a4d620e8 2017-05-21 Final commit before CAMM ... it is not looking so good with floodfill and detecting empty spots in the maze File  Diff  Annotate
27:02ce1040f331 2017-05-21 Modifying floodfill 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
25:f827a8b7880e 2017-05-21 180 in the beginning File  Diff  Annotate
24:e7063765d6f0 2017-05-21 front face start File  Diff  Annotate
23:690b0ca34ee9 2017-05-20 ncellencoderirwall function working for all walls (both, 1 side, no sides) need to tune detecting the sides though, there's a very precise threshold that we need to find File  Diff  Annotate
22:681190ff98f0 2017-05-19 updated nCellEncoderandIR function File  Diff  Annotate
21:9a6cb07bdcb6 2017-05-18 better PID constants for forwardWallIR and added no wall encoder pid moveForwardEncoder() function that is used in forwardWallIR() 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
19:7b66a518b6f8 2017-05-15 Got the PID to work on both encoder and IR at the same time ... BUT i still cannot get it to recognize it to turn the right direction. File  Diff  Annotate
18:6a4db94011d3 2017-05-14 Publishing again File  Diff  Annotate
17:f713758f6238 2017-05-14 Added mbed-dev and still working on dynamically deciding to turn; File  Diff  Annotate
16:d9252437bd92 2017-05-14 Moves forward exactly one cell now!; File  Diff  Annotate
15:b80555a4a8b9 2017-05-14 Created PID for encoder based on difference of speed rotations. File  Diff  Annotate
14:9e7bb03ddccb 2017-05-13 Turns work, but one cell count with encoder does not File  Diff  Annotate
13:2032db00f168 2017-05-13 turning sort of works File  Diff  Annotate
12:5790e56a056f 2017-05-12 Right Turn is wrong, need fix 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
3:880f15be8c72 2017-04-28 added some gyro stuff File  Diff  Annotate
2:771db996cee0 2017-04-27 changed the library File  Diff  Annotate
1:8a4b2f573923 2017-04-26 Some working code; File  Diff  Annotate
0:a03c771ab78e 2017-04-25 init MacroRat File  Diff  Annotate