Thread: Help with PID
View Single Post
  #1   Spotlight this post!  
Unread 02-16-2015, 06:08 PM
palyrobotics palyrobotics is offline
Registered User
None #0008
 
Join Date: Feb 2015
Location: Palo Alto
Posts: 1
palyrobotics is an unknown quantity at this point
Help with PID

So we wrote PID code for our robot and it is acting very strangely. Encoders seem to be working fine, but on one side the talons go far past the set point and on the other side they approach it then change direction. We printed out the error and confirmed that it is decreasing and is correct. Even when we only use the proportional value, and the error is positive, for some reason one side decelerates and switches direction. We tested code that worked on last years robot with slight modification like changing victors to talons and it acted the same way.
Reply With Quote