Fixing tools to Make correctly in Trunk. Reorganizing ir_branch to Make correctly.
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
Added encoder_get_x and encoder_get_v.
use get_v at your own riskIf encoder_read returns -1, this usually means battery is low.If encoder_read returns a value greater than ENCODER_MAX, this usually means there are physical problems with the encoder.
Remove some unused code in encoders
Also update binary and docs
Added spi and encoders to the trunk. Tested and worked. Encoders still read out directions backwards - i.e. there isn't a defined 'direction' forthe encoders to go with the wheels yet. I'll fix this about now.