View Single Post
  #5   Spotlight this post!  
Unread 16-02-2015, 14:28
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Talon SRX Encoders

Quote:
but there is still some shakyness in the wheels.
Jlyon, I think you need to better explain that. I would put the RIO encoders into 4X mode and retest so you can compare apples to apples.

Quote:
or the input could be lagging behind by four ticks
4 Ticks? That sounds pretty accurate to me. Unless your encoders are very low resolution.

Please read section 16.9 if the observation is that the Talon encoders are "behind" the RIO encoders only when encoders are spinning. In which case do the math to see what 20ms of lag (at your RPM) should do in terms of encoder difference If that's a problem tweak the status frame rate to be faster (section 20.5).

If you problem is that there is error between Rio and Talon when the encoders are still then the root-cause has nothing to do with the frame rate.

If you're using LabVIEW (you didn't mention what language you were using) avoid calling Motor-Enable continuously since that will re-set the sensor position.