View Single Post
  #1   Spotlight this post!  
Unread 12-09-2016, 00:00
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,215
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
SRX Encoder and SRX header inconsistency

I was wondering if anybody knows how the Talon SRX processes data.
This is a picture of the SRX Encoder output on the 10-pin header:
https://i.gyazo.com/dbc09bf7eead22a3...8055b9918c.png

This is a picture of the Talon SRX 10-pin header input:
https://i.gyazo.com/38add2e69120fccc...616ace90d2.png

The SRX encoder clearly has a PWM output on pin 9, and no analog output (the Talon analog input pin remains floating). However, the Talon SRX has the quadrature index on pin 9.
Is it simply that when you set the SRX to read from the SRX encoder in code, it automatically sets the Index pin to read PWM instead of an index pulse? Or does it track the pulse width of the Index pin as well as have an interrupt to it to effectively have both Index and PWM reading set up at the same time? Or is the Index pin not meant to read Index at all, but PWM only?

On the same note, is it possible to have both Quadrature and Absolute positioning working at the same time on the SRX encoder? Does the Index pin get used as an actual Index, ever?
__________________
<Now accepting CAD requests and commissions>


Last edited by asid61 : 12-09-2016 at 00:02.
Reply With Quote