History | View | Annotate | Download (138 KB)
Added functions for printing hexadecimal numbers to USB, see serial.h
Prepared the library for refactoring- Added a library_test behavior (general testing playground)- Modified projects/libdragonfly/Makefile and behaviors/library_test/Makefile because there is no code directory in this branch
Branch for the library fixes
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
added thing to program eeprom BOM ids and robot id over usb
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
Recommitting the library so encoders work for other people as well.
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.
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....
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.
Removed double orb initialization.
Updated libdragonfly documentation.
Updated build and documentation for libdragonfly, including reset.h, math.h and i2c.h.
Added wireless library.