View Single Post
  #7   Spotlight this post!  
Unread 03-02-2012, 19:06
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 673
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: single lline encoder on Jags

Quote:
Originally Posted by Ether View Post
Did you connect both channels? Or just one (the OP's question).
I am not sure I understand your question. Are you asking if we connected both A and B? If so, yes.
Quote:
Originally Posted by Ether View Post
Am I understanding correctly: You connected the encoder to the Jag, then using CAN you read the speed from the Jag, then used that speed as the feedback to a PID on cRIO, then used the cRIO's PID output to command the Jag?
Yes, that's correct. We call the Jag to read the speed and use that as the Input to our PID controller on the cRIO. By doing so, we can change the PID algorithm to give us a stable speed control.
__________________