Project

General

Profile

Revision 1933

Vinay added data for the intersection and roads for the barcode table. Compiles.

View differences:

trunk/code/projects/traffic_navigation/intersectData.c
11 11
void initializeData(){
12 12
	//insert all intersections that are in the map.
13 13
	//THIS DATA FOR THE DEMO MAP
14
	
15 14
	insertNode(0, INTERSECTION_NODE, DOUBLE_C, TMIDDLE);
16
	insertNode(1, ROAD_NODE, ROAD, ROAD_DOUBLE);
17
	insertNode(2, ROAD_NODE, ROAD, ROAD_DOUBLE);
18
	insertNode(3, ROAD_NODE, ROAD, ROAD_DOUBLE);
19
	insertNode(4, ROAD_NODE, ROAD, ROAD_DOUBLE);
15
	insertNode(1, ROAD_NODE, ROAD, ROAD_SINGLE);
16
	insertNode(2, INTERSECTION_NODE, DOUBLE_C, TMIDDLE);
17
	insertNode(4,ROAD_NODE,ROAD,HIGHWAY);
18
	insertNode(5,INTERSECTION_NODE,DOUBLE_C,TMIDDLE);	
19
	insertNode(8,ROAD_NODE,ROAD,ROAD_SINGLE);
20
	insertNode(10,ROAD_NODE,ROAD,ROAD_SINGLE);
21
	insertNode(16,INTERSECTION_NODE,DOUBLE_C, TMIDDLE);
20 22
	return;
21 23
}
22 24

  

Also available in: Unified diff