View Single Post
  #3   Spotlight this post!  
Unread 12-02-2015, 08:07
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Re: Talon SRX position control

Quote:
Originally Posted by ozrien View Post
I don't understand your question.

Check out the Talon SRX Software Reference Manual to get an idea about what is necessary to leverage the closed-loop feature. It's more then calling the motor-set VI. You have to select your sensor (and may need to software-reverse it), select gains, select the control mode (position or velocity), and then you can set the target and watch it servo.
I have set up the pid settings and sensor settings in begin. If I understand what you are saying correctly this means that I need to set the desired pid values and set point in the vi that I wish to use to drive the motors instead of begin. I currently calling out the motors in periodic tasks so I can use a control loop to change the desired set point. This method will still work there right?