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.
Worked on highways and object avoidance and now uses doDrive and not lineFollow
adding traffic_navigation.h
Uploaded traffic_navigation.h
Added code for pinging in intersections, but it currently doesn't work so its commented out. Intersections should work. Unfortunately some of Alex's doxygen code might be gone. Sorry.
GARS, source files aren't supposed to be executable. (now my ls output has the right colors!)
fixed priya's bugs, left her questionable sytlistic choices
see comments for validTurns.h
this is the actual code for the function validateTurn that takes a barcodeand returns an integer that corresponds to a valid turn.
header file for the function called when entering an intersection thatdetermines whether or not a turn is valid based on the intersection typeand position of the robot. Currently uses random number generators (i.e. rangefinders) to determine intersection type, position, and turn type.
Added comments (doxygen style) to linefollow and linedrive.
Completed adding ping capabilities for intersections. Code compiles, but untested on robots. Bots will ping each other in an intersection, and adapt if a bot disappears from the queue. Can only accept 1 robot disappearing at a time, unless vanishing robots aren't adjacent in the queue.
Added function to reply to pings, and come calls to ping robots in the queue. Won't yet do anything to check if a bot disappeared, but it will compile.
removed old code
Added code to make it demo that the queue works. Mostly orbs and buttons, but some variables changed. Also started work on wireless reliability.
Updated line following code from line following project
Fixed the #include so it can find the linefollow header. This should be fixed so it can find the .h file in the proper directory. Also added lineFollow.c and lineFollow.h to this directory so main can find them. They will not be updated when the real copies update.
Added beginning of wireless protocol for traffic navigation, and added code for handling intersections, with the exception of that code that involves navigating the intersection (so just the code that deals with wireless, the intersection queue (as I see it), and deciding when to go).
Added the traffic_navigation directory to projects in trunk, and inserted my preliminary main function. As of now, it relies on the linefollowing code in the other project directory.
Updated all makefiles. You may need to update the port settings to get your project to program the robots again.
Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.
Added a folder for developing Target Practice Demo.
changed template main to use new basic wireless
fixed doxygen problems in wireless library, added new docs
Makefile OS autodetection
include path was fixed. AVRDUDEPORT was changed to com4 instead of the usb/tty thingy
now it will work
testing commit on new svn (just template directory)
Removed KWoo's crap from template.
Commented some of the encoder functions.
reverted projects/template/ directory to pre-demo state. moved run_around demo code into behaviors/smart_run_around_fsm/ directory.
recompiled library - orb_init was called twice by dragonfly init. template folder contains run around demo code (to be restored post-demo). the ords appear to work (at least for demo).
Updated robot_slave code; reformatted a lot of stuff
dos2unix on Makefile.
Moved port to front in template makefile.
Added two lines to the default Makefile that checks for a predefined COLONYROOT variable.I suggest everyone defines a global as the ../../.. is undependable.
Added template file.