Closed DavidEGrayson closed 9 years ago
PololuWheelEncoders does not work properly, causing it to miss half of all the encoder counts, as reported here:
http://forum.pololu.com/viewtopic.php?p=43553#p43553
The problem was introduced in commit 70f85f0.
We should be able to fix it by adding ? 1 : 0 after any call to isInputHigh. Also, it might be good to use "bool" for all variables that are supposed to represent booleans.
? 1 : 0
PololuWheelEncoders does not work properly, causing it to miss half of all the encoder counts, as reported here:
http://forum.pololu.com/viewtopic.php?p=43553#p43553
The problem was introduced in commit 70f85f0.
We should be able to fix it by adding
? 1 : 0
after any call to isInputHigh. Also, it might be good to use "bool" for all variables that are supposed to represent booleans.