View Single Post
  #3   Spotlight this post!  
Unread 16-05-2015, 19:42
MaGiC_PiKaChU's Avatar
MaGiC_PiKaChU MaGiC_PiKaChU is offline
Drive Coach
AKA: Antoine L.
FRC #3360 (Hyperion)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Sherbrooke
Posts: 608
MaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond repute
Re: Talon SRX and Analog Encoders

Quote:
Originally Posted by Ether View Post




Yes.




No. But you do need to do the following:

- connect the feedback sensor directly to the Talon (not the roboRIO)

- use CAN bus (not PWM) to control the Talon

- use the appropriate CAN commands to tell Talon what closed-loop mode you want (e.g. position or speed etc)

- use the appropriate CAN commands to set the gains in the Talon's PID controller.

- use the appropriate CAN commands to communicate the desired setpoint to the Talon's PID so it knows what value you want it to control to.



also you'll need one of those for each talon
http://www.vexrobotics.com/217-4401.html

We had 14 SRX this year, 12 of them with a sensor in the breakout... This is amazing
__________________
2012 - 3360 - Junior member
2013 - 3360 - Lead Programmer, Human player
2014 - 3360 - Lead Programmer, Human player
2015 - 3360 - Lead Programmer, Driver
2016 - 3360 - Mentor, Drive coach



Reply With Quote