The fabled PID

Very Nice

@technik3k
Spreadsheets rock. PID calcs all in there. Enter the critical kp, the period, and you get all your answers.

From-to combinations tuned for each height. There is some re-calibrating but not starting from scratch when you see one versus the next. It also gives a nice data log of all your experiments. (reason number 1000 for loose leaf notebooks to accompany bound ones but apparently that is quite a dead horse to be beating)

Ok, so how important is this to implement? What situations would it be worth it, and what situations would it be better not too?

Precise drive control in autonomous is where PID shines. Also having push button controls for lift heights where you use one joystick only. The button sets a value for the desired height and the PID takes it from there.

PID is a function helping get your arm precisely where you want it to be. It does not need to be a static value but dynamic based upon the position of your lift and number of cones you already stacked.

If you have an independently controlled mechanism for you cone stacker versus a bolted on chain bar, you can make a function to say where you want that second arm in your program. If you have stacked three already, you may need a different motion profile for your cone stacker. So the PID helps manage your arm position relative to the function of the desired arm position. As you move the main arm up or down, the cone arm is in the correct position relative to the number of cones already on the mobile goal.

This is where 6430(A) had a lot of help last year in Starstruck. Their second driver was really the software and only required one driver. The claw/lift would determine how much load (how many stars) were in the claw and determine the right place to release as it threw. PID helps a lot with these types of features.