View Single Post
  #5   Spotlight this post!  
Unread 27-08-2010, 17:41
QCEliteTeam648 QCEliteTeam648 is offline
Registered User
FRC #0648
 
Join Date: Aug 2010
Location: Quad Cities
Posts: 7
QCEliteTeam648 is an unknown quantity at this point
Re: Encoder v.s. Steering

We want to use the encoders as speed control and to see if the wheels are going the same speed. Right now we have no encoders attatched to the wheels, only code to read the encoder when we turn manually turn it with our fingers. We have four wheels set up with each pair being conected by a chain for crab steer. Now normally each pair of wheels is perfectly lined up with the other pair but when we add our encoder code they start turning randomly and become unaligned. Turning the wheel at the driver station has no effect on the wheels. When we remove the code everything returns back to normal. This is confusing because our encoder code is not hooked up at all to anything. It's just sitting in Periodic Tasks reading the distance and rate of the encoder.

I'll post pictures of the code in here shortly.
Reply With Quote