I’m looking at the new WPILib for the first time but I don’t see where you set the CPR of the encoder connected to the talon.
CPR is not in the Talon SRXs. The Talon SRXs use the raw ticks for PID gain calculations.
I think it would ultimately be nice to be able to set this in the library, but since the device didn’t support this setting directly we didn’t add it to the library this season to limit the chances for bugs in the library.