History | View | Annotate | Download (1.11 KB)
Made compatibility of lineDrive.h and validTurns.h.
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...
Changed index of INTERSECTION variables and got rid of getCrossPos andgetCrossType that are being implemented in the database.
Separated the intersection constants from the turning constants, updated fuctions accordingly.
tested validTurns.c and made it more compatible with the upcoming database.
Worked on highways and object avoidance and now uses doDrive and not lineFollow
GARS, source files aren't supposed to be executable. (now my ls output has the right colors!)
header file for the function called when entering an intersection thatdetermines whether or not a turn is valid based on the intersection typeand position of the robot. Currently uses random number generators (i.e. rangefinders) to determine intersection type, position, and turn type.