View Single Post
  #8   Spotlight this post!  
Unread 27-02-2014, 17:51
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Issues with arm PID

Code:
//Limits arm speed for testing
if(Shooter.shooterTalon.get() >= 0.05)
{
    Shooter.shooterTalon.set(0.05);
}else if(Shooter.shooterTalon.get() <= -0.05)
{
    Shooter.shooterTalon.set(-0.05);
}
These limits keep your values barely outside of the Talon's deadbands, and your output could be getting deadbanded depending on calibration.

Also,
Code:
        previousP = processVariable;
should be
Code:
        previousP = PID_P;
although this won't have any effect while Kd = 0.

EDIT: saw OP's last post. Did you increase Kp?
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK

Last edited by connor.worley : 27-02-2014 at 17:56.