Revision 1961
Added new linefollowing code for barcodes.
Debug statements are still included, but this is the latest version of the code.
Bot14 at least reads all barcodes consistently. Thresholds may have to be adjusted for other robots.
main.c | ||
---|---|---|
44 | 44 |
while(1) |
45 | 45 |
{ |
46 | 46 |
|
47 |
int barcode = lineFollow(130);
|
|
47 |
int barcode = lineFollow(190);
|
|
48 | 48 |
|
49 | 49 |
if(barcode != NOBARCODE && barcode != LINELOST) |
50 | 50 |
{ |
Also available in: Unified diff