View Single Post
  #1   Spotlight this post!  
Unread 11-01-2016, 19:35
mark219 mark219 is offline
Programmer/Driver
AKA: Mark Szewczuk
FRC #0219 (Team Impact)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: United States
Posts: 12
mark219 is an unknown quantity at this point
Application of PID in code/real world

I'm a little bit of a newbie at Java coding with FRC. I want to use PID as a part of my drive train and other precision parts of the robot, however I'm not sure of its application. I know that PID stands for proportion, integral, derivative, and have a basic understanding of integrals and derivatives (just started learning about integrals in calculus). Essentially, all I know about PID is that it is a way to minimize error, but the question I am asking is how does it work? Can you show an example of code? Is its only use for autonomous mode?
Reply With Quote