View Single Post
  #7   Spotlight this post!  
Unread 04-03-2016, 15:17
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,622
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: controlling the speed that a PID on the talon moves an arm

Quote:
Originally Posted by ozrien View Post
That's a good point. The OP asked for rate-limiting, and the Talon's Ramp rate or Closed-Loop ramp rate could be used to accomplish this.

Unrelated but... capping the throttle limits can be done using the peak and nominal output settings.

As always, see Talon software reference manual and git hub examples for more info.
That's output ramping, though. Restricting the output ramp rate can lead to instabilities and overshoot. What I'd really like in the next firmware for FRC is a setpoint ramp rate. You can do it using the motion profiling, but that's moderately complicated for most teams. A setpoint ramp would get 90% of users what they want here.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter