Quote:
Originally Posted by John_1102
As far as I know PID Control is normally applied to move a motor, ei. an arm or wheel to a set target/position/distance.
What I NEED to implement is a speed based PID method.
I input a rate.
In my java encoder.java class it lists a method getRate();
I suspect this works by returning......a rate which I could use to set my speed.
from the rate/speed I input... I need to implement a PID method so when voltage drops or a ball passes through the shooter I am using, the POWER % will increase to compensate to allow the shooter to hold a constant SPEED.
|
Not a consensus, but teams have reported success using a controller using feedforward and the "I" term of a PID.
Here are some links which may be of interest:
http://www.chiefdelphi.com/forums/sh...80&postcount=7
http://www.chiefdelphi.com/forums/sh...5&postcount=15
http://www.chiefdelphi.com/forums/sh...28&postcount=6
http://www.chiefdelphi.com/forums/sh...04&postcount=3
http://www.chiefdelphi.com/forums/sh...7&postcount=34
http://www.chiefdelphi.com/forums/sh...7&postcount=29