History | View | Annotate | Download (1.41 KB)
Moving behaviors from the "Projects" directory into the appropriate "Behaviors" directory.
Fixes #622.
encoders.h is not included in dragonfly_lib.h and encoders_init() is called within dragonfly_init().
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.
Encoders unit test
removed dragonfly_init() from each unit test and renamed files to comply with new naming convention.
Added encoder test code to trunk. Addition of encoder code pending testing.