Have you looked at the Turtlebot3 source? You can find it in the OpenCR code. The turtlebot3 uses encoders for odometry. It uses dynamixel's sdk, which you can definitely find the source for. --- [Visit Topic](https://discourse.ros.org/t/opencr-and-encoders/2335/2) or reply to this email to respond.