View Single Post
  #53   Spotlight this post!  
Unread 21-10-2016, 17:45
wesleyac's Avatar
wesleyac wesleyac is offline
Registered User
AKA: Wesley Aptekar-Cassels
FRC #1678
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Davis, CA
Posts: 45
wesleyac is a glorious beacon of lightwesleyac is a glorious beacon of lightwesleyac is a glorious beacon of lightwesleyac is a glorious beacon of lightwesleyac is a glorious beacon of light
Re: Tuning PID Constants Over a Range

Quote:
Originally Posted by Ether View Post
Let's say at some time ti your setpoint changes to xs, and your present position, velocity, and acceleration are xi, vi, and ai.

What formulas are you using to compute the new motion profile given these non-zero initial conditions?
As I mentioned, we didn't have changing setpoints last year, so this wasn't a problem that we ran into - we basically solved it by ignoring it

When I said calculating motion profiles, I was simply referring to generating a trapezoidal acceleration profile based on a given distance, acceleration, and velocity. We found that it was unnecessary to precalculate the profiles, as they were fairly simple to calculate.
__________________
Quote:
Originally Posted by The programming team
Define "works."
Reply With Quote