Added get_ir_offset to eeprom and changed program_eeprom.c so that it can read and modify them.
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.
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
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 atomic.h
Added missing inttypes header
make dist
Added usb_puth* to serial.c/serial.h
Merged new orbs codeAdded atomic.hFixed whitespace in eeprom.h
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 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.
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. ...
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....
minor code movement
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.
Updated libdragonfly documentation.
Updated robot_slave code; reformatted a lot of stuff
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.
Added wireless library.