Updated mapping code. Fixed some bugs.Usure about something - see the TODO. Will fix soon.
Rough Sketch of Poster for MoM for Traffic Navigation
Fixed barcodes first read problem.
Barcodes used to always read gray for the first bit, but this problem is now fixed by better initializiation in lineFollow init.
Created some mapping code that compiles!Lower level mapping functions finalized!
Higher level random mapping still needs some work.It is probably buggy.
Modified barcodes again - after reading the first barcode, should work like normal.
Update intersectData.{c,h} to reflect new demo map. Renumbered intersections.Created macro UNUSED_INTER, an intersection number that signifies that a node isnot in use. Use it to initialize the arrray for indices that do not correspondto meaningful barcodes.
Added new barcode reading to linefollowing project - first barcode is still wrong, however.
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...
Added old files that used to compile, new main in sendGraph that sends a graph packet - temporary
Added the map generation script
Fixed small bug in new main where if barcode was invalid, forgot to restartmotors for line following.
Added function that creates the edges used for mapping in mapping.c. Note: code does not yet compile.
Fixed location of pound define to enable wireless watcher
Back to most recent version of barcode reading.
Traffic Navigation:Fixed some various issues with the new main (bad calls & added barcode errorhandling)It compiles by default now.
Turned on orbs for linefollowing
Linefollowing:
added #defines around orb statements to keep them from interfering with otherorb control statements.
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,...
Added an alternate main that merely outputs the wirelesspackets that are being thrown across the air to usb.
It translates Traffic Navigation packet id's into names.
adding parser test script
Added test map data encoding to intersectData.c. Fixe a whole bunch of stuff sothat at least this traffic_navigation compiles without warnings. Symlinked toneeded files in linefollow. Changed function declaration style. Addeddelclaration of read_line to analog.h. You're welcome. Fixed several #includes....
Added readSerail.sh which reads from a robot on USB and prints to a file named graphData. I'll modify it soon to print to stdout instead, but for now this works.
Removed the 'x bytes:' from each line for easier parsing by the mapping programs.
Redoing grapher script...
Also available in: Atom