View Single Post
  #11   Spotlight this post!  
Unread 24-11-2015, 10:59
riftware riftware is offline
Parent Mentor
AKA: Andrew Chandler
FRC #0031
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Tulsa
Posts: 27
riftware is an unknown quantity at this point
Re: Using encoder with talon SRX

Thanks - I'm rigging up a breaking system with a bungie cord to put a load on it. I guess what confused me (correct me if I'm wrong) is that I have a get encoder position before and after the call to set position and it has the same value before and after - I'd expect a difference. However I'm guessing thats because its an async call instead of a synchronous call to set position - another words it returns immediately instead of after the move is complete.

Also I've noticed that the command is getting called a minimum of 3 times for one button push - is this due to button bounce? I assumed the framework would have handled that. I think compensating for that may help
Reply With Quote