wl: clean up unit tests
wl: the library fully compiles with all functions written
added speed test behavior to wireless branch (this is where I'm testing the baud rate, which still doesn't work)
moved dragonfly definitions to separate header file
updated all the library code to have sensible _init behavior.Almost all of the library components have a global variable which gets set after init and the functions inside will fail with an error code if init has not been called. Also, the init functions themselves check this variable and will bail out without doing any damage if that init has already been called
update of includes in library, removed unnecessary calls to stdlib.h
updated wireless library
updated library binaries and included header files
updated wl_basic code, docs, and test. it's ready to go.
updated wireless basic library code and docs
Updated library binaries.
Changed BOM threshold to 120, seems to be helping for some robot and causing problems for othershunter-prey is done except the hunting part
recompiled libdragonfly to include new rangefinder doxygen comments
recompiled wireless library binary to include default packet handling in wl_basic
fixed doxygen problems in wireless library, added new docs
Remove some unused code in encoders
Also update binary and docs
Moved usb_puts_P from diagnostic station to library
Added missing inttypes header
Generated documentation for new orbs code
Added usb_puth* to serial.c/serial.h
Merged new orbs codeAdded atomic.hFixed whitespace in eeprom.h
Bugfix: BOM_S2 and BOM_S3 were switched, resulting in wrong addressing of the BOM detectors (0 1 2 3 8 9 10 11 4 5 6 7 12 13 14 15).
Updated with fixes to bom.c
only newline differences
Added newline at the end of the file. Take that, gcc.
added thing to program eeprom BOM ids and robot id over usb
Added symbolic links to the odometry in mapping to the library, and provided documentation.
extension of update to eeprom/bom/init. this is just the include files and the library archive.
Odometry will temporarily not work. Working code commented out. This commit is so the blight on the world that is colony math.h will be eradicated for all time.
added range_init() call to dragonfly_init(). you will no longer have to call range_init() separately in your programs
Added the header files for spi, encoders, and eeprom to the trunk library.Recompiled library :P
Delete src directory.
Recommitting the library so encoders work for other people as well.
Commited new wireless version.
Updated wireless library binaries and headers.
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).
Apparently there were changes to bom.c and bom.h since the last time the library was compiled.
delay_ms has been rewritten to use _delay_loop_2 which is a 4 cycle implementation of a delay written in assembly. This is questionably more accurate but does not use floating point to make delays anymore. ...
removed print statements from new BOM code, recompiled library.
recompiled library with new analog and bom code. still need to make updated documentation.
Cleaned up analog.c code. Recompiled library. Mostly commenting and documentation fixes. No changes made to actual code.
Oops, #define was wrong in last commit.
Added packet type for recharging to wireless.
The lib things were just because of a few recompilations.Data requests project works for IR, the problems with IR were almost definitely the problems with the others (encoder / BOM data).I'll fix the code for those next time, and then begin work on encoders....
added some TODO statements to lights.c
made part of the code more readable
added some TODO statements to bom.c
added some TODO to analog.c
minor code movement
Fixed analog bug again. Why does it keep coming back?
Copying Kevin's analog code over from the analog branch.
Updated wireless to use a circular buffer instead of a queue using malloc. Tested on both the computer and robots with a token ring, and was successful.
Got the data response to work, however analog8 reads are failing to get good data.
cleaned up library - dos2unix and delete-trailing-whitespace
Removed double orb initialization.
Wireless library licensed.
Updated libdragonfly documentation.
Updated wireless library for Eugene.
Updated token ring.
Fixed wireless network speed.
Updated wireless library.
Recharging now works, wireless has been updated.
Updated robot_slave code; reformatted a lot of stuff
recompiled libwireless in the trunk (works on robots now)
More progress on charging... Sometimes the token ring drops out.
Wireless library now uses the same code for timers on mac and linux.
Fixed several bugs in the token ring.
Forgot to add include and source files in lib directory on previous commit.
Updated build and documentation for libdragonfly, including reset.h, math.h and i2c.h.
Updated wireless library, fixing bug and now works for a firefly if FIREFLY is defined.
Updated wireless library to add different channels.
Updated libwireless to include new token ring functions.
Updated libwireless binary.
I'm having some commit woes... bare with me
Updated wireless library in lib directory.
Added wireless library to lib directory.
Added wireless library.
Created trunkand branches directories