|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Quote:
1. It's a rotating cage that holds the ball. Video for reference 2. Rotates fairly slowly, it should take several seconds to go one rotation. 3. No, I've made sure that it doesn't cross 4. Yes |
|
#2
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Quote:
|
|
#3
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
The encoder is integrated right into the versaplanetary gearbox that rotates the cage.
RyanShoff: that could be a good idea, I'll try that if I can't figure out how to fix it directly. |
|
#4
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Quote:
If not, what is the max angular speed the encoder will see in this application? |
|
#5
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Yes, it should be rotating at the same speed.
|
|
#6
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
It sounds like you have a cabling issue between the magencoder and Talon.
You can confirm this by grabbing the self-test before and after reproducing the problem and observing that the absolute position (pulse width) and relative position (quadrature) disagree. That's one of the benefits of the CTRE magnetic encoder; you have two references that rely on different physical wires. Most likely the ribbon cable needs to be replaced, or if you are using a breakout inspect the solder contacts/wiring. Are you close or exceeding the peak rated RPM for CTREMagEnc_Absolute? If so then select CTREMagEnc_Relative and setposition() to what the absolute reading reports. See github examples/Talon SRX Software Reference manual for more info and peak RPM specs. |
|
#7
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Quote:
At some point, I switched to relative mode and the problem stopped. So perhaps you are correct. But we have two components robot using a mag encoder, and I've seen the same issue in both of them, so I figure it would be unlikely for them both to have the same cabling issue. |
|
#8
|
||||
|
||||
|
Re: Talon SRX magnetic encoder issues
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|