Quote:
Originally Posted by therealman1
speed+=PIDshooter.get();
leftJag.set(speed);
|
I assume that PIDshooter.get() returns the output of your PID, correct ?
I assume leftJag.set() is the method which sets the output to your motor controller, correct ?
What is the range of the input that the motor controller is expecting ?
Do you need to clamp that to -/+1 ?
What is the speed of the device to which the encoder is attached ? (the FPGA has a counts/sec limit)