History | View | Annotate | Download (2.11 KB)
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
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.
added highways.h to the traffic_navigation.h file, made highways.c/h actually work for merging left. changed main.c to run the new highways.c code.
adding traffic_navigation.h