View Single Post
  #8   Spotlight this post!  
Unread 04-02-2015, 19:14
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Talon SRX "speed_control" mode? (Python)

So if you're trying to enable closed-loop (speed for example) and it's not working to your expectations, use the Self-Test in Section 2.4 of the Talon SRX Software Reference Manual to check the signals that reflect what the closed-loop is doing, what the sensor position is, which mode the talon is in, what the applied throttle is, etc... This is also mentioned in Section 11.2

The Web-based config also will confirm your gain values which could explain why the closed-loop wasn't meeting your expectations. Or it might not, it's too hard to guess what this means...
Quote:
"Once those were placed, I tried defining the set function and doing some stuff with that. A lot of that failed. "
What was the motor doing when you were in the speed control mode? Describing what it was doing might help us explain what's going on.

Before you start closed-looping, please select the correct sensor following the steps in section 7. I know you're using Py, but the functions are very similar. Please follow the instructions in Section 7.4 to sign your sensor in a fashion where positive motor drive causes the sensor to move in a positive direction.