View Single Post
  #2   Spotlight this post!  
Unread 16-02-2015, 09:38
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 258
Jefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond repute
Re: Talon SRX Encoders

Quote:
Originally Posted by JML View Post
Our team is using 8 Talon SRX Motor controllers to drive our robot with a swerve drive drive train. there are quadrature encoders on the wheels for rotation, which are wired into breakout boards on the Talon SRX Controllers. This created an inconsistency in the drive as compared to when they are plugged directly into the RoboRIO, as the encoder values are 4 times higher than we would expect them to be, so we divided them by four to simply test if the system would work, but there is still some shakyness in the wheels.

According to the Talon SRX software manual (Page 66):



It was brought up that the Talons could be summing together four values, or the input could be lagging behind by four ticks, which would cause the issue we are seeing. If anyone knows how this functionality is implemented or if we could "turn it off" that would be very helpful, I cant seem to find anything in the talon documentation about this, other than the section i posted, i will check the roboRIO web interface as soon as i get to our robot to see if it is something about it there
The Talons are always in 4X mode, and I don't believe there is a way to change that. I'm guessing the encoder objects on the roboRIO are in 1X mode. Is there an issue with simply multiplying your setpoint by 4?