View Single Post
  #6   Spotlight this post!  
Unread 27-01-2009, 10:13
jbbjjbt jbbjjbt is offline
VRC Coach
AKA: Jon T
VRC #0177 (Twisted Botz)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Gloucester, VA
Posts: 110
jbbjjbt is an unknown quantity at this point
Re: [FTC]: Tips page on using FTC Encoders with LabVIEW

Quote:
Originally Posted by PhilBot View Post

Once such strategy is NOT to reset the encoders. If you never reset them, that problem goes away.
Phil,

We have been trying code that uses this strategy based on the examples in your paper. We read the encoder, add the number to it that we want to go to, run the constant speed vi until the encode reads the new number and stop.

Most of the time this is working really well. It definitely has gotten rid of the jerky motion that won't die without killing the power.

But sometimes either the encoders don't read or the loop processes to slowly and the robot goes way past where it is supposed to stop. It is somewhat random as it will work one run and not the next. It is frustrating and time consuming.

Have you seen this? Do you have any ideas how to fix it?
Thanks,
__________________
Jon Thompson
Coach
VRC 177 Twisted Botz
Sponsored by FRC 122
NASA Knights
Reply With Quote