Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   PID Programming in RobotC for FTC. (http://www.chiefdelphi.com/forums/showthread.php?t=92860)

JohnFogarty 24-02-2011 12:50

PID Programming in RobotC for FTC.
 
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

Re: PID Programming in RobotC for FTC.
 
The Wikipedia article explains the math behind PID, and even gives pseudo code, and you can get an example of a very basic PIDController here.


All times are GMT -5. The time now is 03:45.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi