View Full Version : PID Programming in RobotC for FTC.
JohnFogarty
24-02-2011, 12:50
So say I want to push a button and this button using PID was to move a encoder to a certain position and since you are using PID it would keep it there. How do you implement PID in robotC code.
colinwarren
27-02-2011, 20:04
The Wikipedia article (http://en.wikipedia.org/wiki/PID_controller) explains the math behind PID, and even gives pseudo code, and you can get an example of a very basic PIDController here (http://colinwyattwarren.com/PIDController.java).
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.