History | View | Annotate | Download (504 Bytes)
Changed main and validTurns to get the test going. Should theoretically drive through the cloverleaf, switching between road and intersection mode, but has trouble following the line and keeps reading phantom barcodes.
Tested and finished the database and the valid turns and everything!
database: files: intersectData.c and intersectData.h database is an array defined in .h that stores all intersections right now it is defined for our demo map. it has an intialize function that is unique for each map and all...
Separated the intersection constants from the turning constants, updated fuctions accordingly.
added code that makes the makefile work again
random character in one of those files...and the other needed a 7 instead of a 3...=D
Merged the types of doubles into the crossing type. Also fixed commentsthat were never updated and implements things of type DOUBLE as DOUBLE_T'sif you dont specify because DOUBLE_T is more safe.
testing file for validTurns.c. Also documents how "barcode" (eventuallywill be the value from the table look up) is implemented/used.