View Single Post
  #6   Spotlight this post!  
Unread 11-02-2012, 20:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Encoder Glitchy Issue, Help Needed

Quote:
Originally Posted by seg9585 View Post
FYI, Issue resolved by moving the encoder processing code from Teleop.vi to Routine Task VI, where it should have been all along. I suppose lag associated with receiving DS packets knocked the timing off the encoder's calculations.
Did you try reading the encoder count in TeleOP, and computing

(change in encoder count)/(elapsed time since previous encoder count was read) ?

That should be reasonably insensitive to variations in the timing of receipt of DS packets, no?

Reply With Quote