View Single Post
  #3   Spotlight this post!  
Unread 16-03-2015, 01:06
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,572
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Talon SRX Position PID Control Issue

  • Have you tried setting the new setpoint first?
  • Have you tried just setting the new set point, leaving the PID coefficients the same?
  • Have you tried just setting the new PID coefficients, leaving the set point the same?

The behavior in these three cases should give you a much better idea of what the problem is, and maybe how to solve or at least work around it.

Also, if you're driving to a position that requires some torque to hold, a P-only solution is destined to droop to the level where the output voltage is enough to hold the drooped position. Are you adjusting for this by making the set point higher than you really want?
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.