View Single Post
  #6   Spotlight this post!  
Unread 19-01-2009, 01:37
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Encoders — Noise

Quote:
Originally Posted by j_johnson View Post
We are using Windriver, but were able to set up a task (indirectly through the PIDController) that retrieved the encoder count every so often (about 20 ms for us), and dividing the difference in encoder counts by the time between checking. If you are using Labview, I believe it has a timed loop that you could use for something similar.
Doh, I was obsessing about the FPGA bug and didn't consider that distance was correct and I could get delta times to compute the speed in LV.
Thanks for reminding me.
Reply With Quote