Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / traffic_navigation @ 1894

Name Size Revision Age Author Comment
Makefile 522 Bytes 1888 over 13 years Ben Wasserman Edited intersection behavior to break it into s...
collision_avoid.c 3.94 KB 1894 over 13 years Alexander Lam Fixed directions and array indexes to match.
collision_avoid.h 1.08 KB 1894 over 13 years Alexander Lam Fixed directions and array indexes to match.
highways.c 1.41 KB 1891 over 13 years Ben Wasserman Merged highway code into main to test switching...
highways.h 141 Bytes 1890 over 13 years Mark Williams Did stuff, but its not complete yet
intersectData.c 1.03 KB 1887 over 13 years Priyanka Deo forgot to add intersectData.c and .h
intersectData.h 1.65 KB 1887 over 13 years Priyanka Deo forgot to add intersectData.c and .h
main.c 6.61 KB 1891 over 13 years Ben Wasserman Merged highway code into main to test switching...
traffic_navigation.h 2.11 KB 1892 over 13 years Alexander Lam First commit of the Collision Avoid Code. It pr...
validTurns-test.c 502 Bytes 1886 over 13 years Priyanka Deo Tested and finished the database and the valid ...
validTurns.c 3.02 KB 1886 over 13 years Priyanka Deo Tested and finished the database and the valid ...
validTurns.h 1.1 KB 1886 over 13 years Priyanka Deo Tested and finished the database and the valid ...

Latest revisions

# Date Author Comment
1894 11/29/2010 07:28 PM Alexander Lam

Fixed directions and array indexes to match.

1893 11/22/2010 09:17 PM Alexander Lam

Added todo list to collision_avoid.c (i forgot to do this, sorry for the extra message!)
(HAI!)

1892 11/22/2010 09:10 PM Alexander Lam

First commit of the Collision Avoid Code. It probably doesn't work as-is.
This code is supposed to detect when multiple robots can cross an intersection at the same time.

Authors:
-Alexander Lam
-Willis Chang

How this works
First, a structure:
Dir0...
1891 11/22/2010 09:03 PM Ben Wasserman

Merged highway code into main to test switching states between intersection and highway. Highway code doesn't behave as it should, but I may be calling it wrong. Switching states is currently based on button1, until bar codes get integrated. State switches are weird, and don't aways go into the correct state or wait for the button.

1890 11/22/2010 08:15 PM Mark Williams

Did stuff, but its not complete yet

1889 11/22/2010 07:26 PM Mark Williams

Updated main to include a break and highways.h to prototype files

1888 11/22/2010 07:18 PM Ben Wasserman

Edited intersection behavior to break it into separate functions, and moved the #defines around.

1887 11/21/2010 10:09 PM Priyanka Deo

forgot to add intersectData.c and .h

1886 11/21/2010 10:09 PM Priyanka Deo

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...

1885 11/21/2010 06:24 PM Priyanka Deo

Changed index of INTERSECTION variables and got rid of getCrossPos and
getCrossType that are being implemented in the database.

View revisions

Also available in: Atom