Project

General

Profile

Statistics
| Revision:

root / branches / analog / code / projects / libdragonfly / encoders.c @ 1634

History | View | Annotate | Download (8.45 KB)

# Date Author Comment
1450 10/14/2009 06:50 PM James Kong

branched analog

1418 09/18/2009 08:38 PM Rich Hong

Added encoder_get_x and encoder_get_v.

use get_v at your own risk
If 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.

1371 09/02/2009 11:37 PM Rich Hong

Remove some unused code in encoders

Also update binary and docs

890 10/28/2008 07:08 PM Justin Scheiner

Changed some odometry stuff. Interrupt is called now.
Still some problem that is not updating x and y data.

870 10/06/2008 03:49 PM Justin Scheiner

Reversed the left wheel. Encoders increment when the robot is moved forward.

868 10/06/2008 03:36 PM Justin Scheiner

Added spi and encoders to the trunk. Tested and worked.
Encoders still read out directions backwards - i.e. there isn't a defined 'direction' for
the encoders to go with the wheels yet. I'll fix this about now.