History | View | Annotate | Download (7.99 KB)
Final spline code for master/slave
updated outdated libdragonfly and libwireless
move spline slave to sub-directory and update encoder_get_v function
Did a lot of cleaning up and commenting. Made the error codes returnedby encoder_read more explicit - so if you get weird values check the documentation.
A lot of stubs and incomplete code, I made these things explicit in the source and documentation.
Added some debug statements which SHOULD BE REMOVED UPON MOVING TO TRUNK
Fixed a quick bug.
Some more lines in the print function
Fixed an error with error detection, added a print array function.
Changed the code to KWoo's preference. Removed angry comment.
Minor style change - elseif's changed to a case :P
Commented some of the encoder functions.
control law for speed starting to work.WARNING: can't use delay_ms with encoders_init
fixed lost of bugs in the libraries for spi and encoder
added another function pointer to encoders which gets called after all bytes are recv'd.working on a behavior to drive in a straight line, but encoders are giving invalid on robot 5
encoder: added data array buffer and accumulators
Fixed a bug in encoders.
asdf
Wrote encoders.c and encoders.h Would GREATLY appreciate it if someone could check if I got the receive function correct. There was a lot of bit twiddling. Useful functions still need to be written, however receiving raw encoder readings should work (not tested... so don't bet on it)
Modified the spi module a bit. Didn't test it but this might be better. Need to talk to Ben about it.
Started the encoders file. Nothing in there because I don't have a stable SPI interface to work with yet.