Go to Post You know, I love the fact that FIRST has always got your back. :D - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 25 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 17-01-2015, 16:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,091
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Talon SRX QuadEncoder PID Loop


Pardon me if the following questions seem obvious but it's best not to assume.

Quote:
Originally Posted by E Dawg View Post
At this point we've wired up a quad encoder to the analog breakout
It sounds like you're saying you ran the quadrature outputs of the encoder through an analog breakout... that's not what you meant is it?

Are you wiring the encoder outputs to the SRX or to the roboRIO?

What is the model number of the encoder you are using.

Quote:
we're not sure where the PID loop is getting error from
The PID in the Talon uses the speed (or position) command it receives via CAN bus from your software as the setpoint for the PID, and uses the signal from the encoder (which must be attached directly to the SRX and not to the roboRIO) as the process variable for the PID. The error is computed by the PID in the SRX by (I assume) subtracting the process variable from the setpoint.

Quote:
or how to write that to the SRX from the encoder.
As explained above, you don't write the error to the SRX. Your software (in the roboRIO) writes the desired speed (or position) via CAN bus to the SRX.



 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi