History | View | Annotate | Download (13 KB)
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.hI 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....
Fixed all compilation errors and warnings in traffic_navigation. If you committed theseabominations, I hope you're sorry. I only made things compile. If I fixed your code, itmight no longer do what you intended, but I can pretty much guarantee that it didn't do...
Fixed small bug in new main where if barcode was invalid, forgot to restartmotors for line following.
Traffic Navigation:Fixed some various issues with the new main (bad calls & added barcode errorhandling)It compiles by default now.
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 becausethey were interfering with each other. To turn some orb control statements on,...