To clarify I have absolutely 0 experience with PID. I know that P = how fast it gets to target and D = pretty much dampening.
We have an intake that is supposed to lift off the ground up and over and then feed a shooter, similar to Cranberry Alarm RI3D. The current code I have using a PID does not supply the motor with enough power to actually lift up the intake though, I can tell it is supplying some power because if I help it get up it starts oscillating at the target angle.
Ive considered multiplying the voltage that is retrieved by doing PID.calculate(); but the problem with that is I don’t want the motor speed to be multiplied while its going down as gravity is helping it (i actually tried this and didn’t just consider and it didn’t work anyways + the intake slammed into the ground)
Help or anything to point me in the right direction would be much appreciated
Thanks