hbrobotics/ros_arduino_bridge — pull request #14 by KristofRobot (2014-12-29 19:32:51+00:00)
Title: Added direct support for wheel encoders (Arduino Uno)

Added support for wheel encoder counting directly on the main Arduino Uno board.
This allows connecting wheel encoders directly to the Arduino Uno board,
without the need for any additional wheel encoder counter equipment.

For speed, the code is directly addressing the specific Atmega328p ports and interrupts, making this implementation Atmega328p (Arduino Uno) dependent.
It should be easy to adapt for other boards/AVR chips though.