CustomEncoder now works, accurately detects RPS (revolutions per second) and automatically sends it to the dashboard. Tested only using drills, still must test with actual shooter to increase to thousands of RPM.