getDeltaPosition

public double getDeltaPosition()

This returns the change in position from the previous position to the current position. One important thing to note is that this encoder does not track velocity, only change in position. This is because I am using a pose exponential method of localization, which doesn't need the velocity of the encoders. Velocity of the robot is calculated in the localizer using an elapsed time timer there.

Return

returns the change in position of the Encoder