Project

General

Profile

Revision 1982

Update intersectData.{c,h} to reflect new demo map. Renumbered intersections.
Created macro UNUSED_INTER, an intersection number that signifies that a node is
not in use. Use it to initialize the arrray for indices that do not correspond
to meaningful barcodes.

View differences:

intersectData.h
22 22
 ********************************/
23 23
#define INTERSECTION_NODE   0
24 24
#define ROAD_NODE           1
25
//Used when mapping to signify return to previously visited intersection while driving on the wrong side of the road.
25 26
#define MAPPING_MARKER      NUM_FEATURES
26
//Used when mapping to signify return to previously visited intersection while driving on the wrong side of the road.
27
// intersection number for unused and meaningless barcodes
28
#define UNUSED_INTER        0
27 29
 
28 30
 /********************************
29 31
 *  Node TYPES:

Also available in: Unified diff