Go to Post it is actually more important to understand and be able to clearly state the question than it is to know the answers. - GeeTwo [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 13-09-2015, 15:23
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,224
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
Re: PID functionality on the Talon SRX?

Quote:
Originally Posted by Chris_Elston View Post
You write all your State Logic in the RIO.

Basically something like this...Let's use the video as reference:

State 1
Grip CAN

State 2
Send Position to Talon SRX = 10,000 counts or "30 inches".

State 3
Retract Drawer

State 4
Send Position to Talon SRX = 9,000 counts or "28 inches".

State 5
Ungrip CAN

etc...

Basically, at those states, you use the Talon SRX library to send position values to the Talon SRX over CAN BUS. It's really easy. Prior to sending commands, you need to TUNE your mechanical system until it's stable, then you can just issue commands or presets to the Talon SRX after that.

The manual referenced above already, is the bible to the Talon SRX library.
Oh wow, so all you're doing is just executing one command after another. All the smoothness comes form the Talon. Definitely trying this! Thank you.
__________________
<Now accepting CAD requests and commissions>

 


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:27.

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