History | View | Annotate | Download (163 KB)
Added get_ir_offset to eeprom and changed program_eeprom.c so that it can read and modify them.
Final clean up of ir_branch folder. Now should Make correctly.
Cleaning up ir_branch to Make correctly.
Fixing tools to Make correctly in Trunk. Reorganizing ir_branch to Make correctly.
Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.
Merged new BOM vector functions into the trunk and did a "make dist" to recompile the library. Also brought over C file used to test new BOM function behavior.
Recompiled library to incorporate new BOM histogram print function. Push-Pull behavior currently prints the BOM intensity histogram and the resultant vector over USB.
Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine correctly.
Reverted to library before Init Function Checking to fix BOMs which did not 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 library binaries and included header files
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
Remove some unused code in encoders
Also update binary and docs
Moved usb_puts_P from diagnostic station to library
Added missing inttypes header
make dist
Generated documentation for new orbs code
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
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.