View Single Post
  #8   Spotlight this post!  
Unread 30-01-2016, 17:36
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 531
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 Closed Loop

The selected Sensor Velocity (-439.57) is negative while the appliedThrottle is positive (100%).

This means the sensor and motor is NOT in-phase.

As a result, the ClosedLoopErr is moving away from zero the more the motor-drives.

Please look at Section 7.4 more closely, and use the reverseSensor() function to adjust the sensor direction so that positive drive moves the position in a positive direction. (Section 7.3).