Thread: Encoder trouble
View Single Post
  #9   Spotlight this post!  
Unread 15-02-2010, 17:41
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Encoder trouble

Here's the code, it is attached.

We have the kit chassis, with the kit encoders mounted to the output shaft of the Toughboxes. There is a 15 to 22 reduction beyond that to the 8" kit wheels.

Here is the wiring:
Browns: (-)
Oranges: power
yellows: 5 and 8
Blues: 4 and 7

I believe our programming/electronics mentor added in some of the display code for debugging.

The distance is increasing or decreasing at a seemingly constant rate (I may/may not be able to run some checks or watch it closer.) This rate is very high, on the order of 200 ft/sec.

Thank you for your help, I hope this gets resolved.
Attached Thumbnails
Click image for larger version

Name:	BeginEncoder.gif
Views:	64
Size:	11.9 KB
ID:	8690  Click image for larger version

Name:	NavEncoder.gif
Views:	59
Size:	9.4 KB
ID:	8691  

Last edited by flameout : 15-02-2010 at 17:44. Reason: Forgot some information