Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / traffic_navigation / main-new.c @ 2008

History | View | Annotate | Download (13.5 KB)

# Date Author Comment
1999 05/03/2011 07:53 PM Alexander Lam

Refactored main_new timings so that bots travel through intersections more
fluidly

1998 05/03/2011 07:27 PM Alexander Lam

Fixed issue where if bot had no other bot in front it would still wait the time
for the imaginary bot in front to drive out of intersection.

1992 04/28/2011 05:16 PM Alexander Lam

Temporary hack to make sure bot that announces it has exited is really clear of
intersection.

1991 04/28/2011 05:11 PM Alexander Lam

Updated some random number generators to have more entropy.

1988 04/27/2011 06:40 AM Ben Wasserman

This is a working version of the code for the demo. It works on Bot 7, and partially on Bot 14. Due to the number of changes here, I'll list them by file:

traffic_navigation.h
I added a #define for sendGraph, so its main won't be compiled unless defined. Uncomment the #define line at the top of this file to turn its main on. Make sure you also comment out the #define for main-new. Also, has the new #define for the node wireless packet type....

1980 04/21/2011 07:45 PM Abraham Levkoy

Fixed all compilation errors and warnings in traffic_navigation. If you committed these
abominations, I hope you're sorry. I only made things compile. If I fixed your code, it
might no longer do what you intended, but I can pretty much guarantee that it didn't do...

1977 04/18/2011 06:36 PM Alexander Lam

Fixed small bug in new main where if barcode was invalid, forgot to restart
motors for line following.

1972 04/18/2011 05:54 PM Alexander Lam

Traffic Navigation:
Fixed some various issues with the new main (bad calls & added barcode error
handling)
It compiles by default now.

1969 04/17/2011 03:32 AM Alexander Lam

Traffic Navigation:
Started integration of the new intersection queue code.
(main-intersectionDebug.c, main-new.c, & traffic_navigation.h).
The new code will not be compiled by default.
Additionally, I added #defines to all orb control statements because
they were interfering with each other. To turn some orb control statements on,...