Log in

View Full Version : PID


shadowops06
11-06-2006, 14:39
Hello, I am trying to find a PID code for the vex system and not having any luck. Does anyone have a code that will work or a resource I could use to find it.

DonRotolo
11-06-2006, 22:47
Hi, this (http://www.embedded.com/2000/0010/0010feat3.htm) is a good place to start.

Note that PID is just a mathematical formula that calculates what the real-time output value (e.g., for a motor output) should be. You just write a formula and the Vex controller does the math. Yes, as easy as it sounds.

Don

Ryan M.
12-06-2006, 06:34
There's also a white paper (http://www.chiefdelphi.com/media/papers/1823) here which will help you get started.

John Gutmann
12-06-2006, 11:33
Can you take a piece of code from this website and modify it to suit the vex controller.

http://kevin.org/frc/

EricS-Team180
13-06-2006, 08:32
You may also find this article from embedded.com to be useful:

PID Without a PHD (http://www.embedded.com/2000/0010/0010feat3.htm)

This year we controlled our shooter wheel speed and turret position with code adapted from it.

Eric

EricS-Team180
16-06-2006, 22:48
ooops.....my apologies to Don Rotolo. Somehow I missed that he already posted the same link I did. ....now where did I put that reminder for that eye exam?