History | View | Annotate | Download (863 Bytes)
control law for speed starting to work.WARNING: can't use delay_ms with encoders_init
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.
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)