History | View | Annotate | Download (2.72 KB)
Update intersectData.{c,h} to reflect new demo map. Renumbered intersections.Created macro UNUSED_INTER, an intersection number that signifies that a node isnot in use. Use it to initialize the arrray for indices that do not correspondto meaningful barcodes.
Added test map data encoding to intersectData.c. Fixe a whole bunch of stuff sothat at least this traffic_navigation compiles without warnings. Symlinked toneeded files in linefollow. Changed function declaration style. Addeddelclaration of read_line to analog.h. You're welcome. Fixed several #includes....
Added more functionality to database for mapping things.
Made compatibility of lineDrive.h and validTurns.h.
Redefinitions.
reorganized stuff in intersectData. made new function getTurningIntersectthat can be used to input directly into dan's code. made new functions to getinformation about road nodes stored int he intersection database. eventually should convert it to the node database.
Added a function getTurnIntType(), which converts the intersection types into something usable by the turning code. Updated main to use it
populated the database for the demo.
Added a "feature id" field in bits 13,14,15,16 of the database ints, documented accordingly
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.
forgot to add intersectData.c and .h