Quote:
Originally Posted by Ether
Encoders and counters do not use interrupts. They are polled by the FPGA.
|
What he said.
... I've never tried doing WPILib interrupts in python. They certainly won't do anything in the simulator, and chances are they *mostly* work on the real robot, but there are probably edge cases where you'll get a weird exception (this is how I2C/SPI was until I actually had some hardware to do testing with).
I would recommend finding some Java code and translating it into python, and then file bug reports on github when you find it doesn't work.
