setEncoderResolution

If you're using goBILDA odometry pods, the ticks-per-mm values are stored here for easy access.

Parameters

pods

goBILDA_SWINGARM_POD or goBILDA_4_BAR_POD


public void setEncoderResolution(double ticks_per_mm)

Sets the encoder resolution in ticks per mm of the odometry pods. You can find this number by dividing the counts-per-revolution of your encoder by the circumference of the wheel.

Parameters

ticks_per_mm

should be somewhere between 10 ticks/mm and 100 ticks/mm a goBILDA Swingarm pod is ~13.26291192