|
Re: Position and velocity PIDControllers using same encoder
I haven't tested this, and haven't read the implementation, but you may also be able to create two encoder objects, one for position and one for rate.
Clarify: with the same port numbers.
Second edit: out of curiosity, what's your use case for this?
__________________
I have approximate knowledge of many things.
FRC 3184: 2014-, FTC 10648: 2015-
Last edited by nickbrickmaster : 14-10-2016 at 21:44.
|