Differential drive encoder interpretation
I'm trying to use the differential_drive package to convert my encoder counts to odometry messages, but the docs are a little ambiguous.
My encoders are non-quadrature, so I can either provide an absolute pulse count, which will only increment, or take into account the active motor speed and provide a relative count, which may increment or decrement depending on motor direction. However, the package's docs just say:
The hardware is expected to count pulses from the wheel encoders, and provide the total number of pulses since the start of tracking.
Does this mean it expects an absolute pulse count or a relative pulse count? The phrasing makes me think the former, but since the package calculates odometry, I don't see how it could do that without knowing the direction that the pulses imply.