Change default par1YTicks

This avoids populating `NaN` in odometry-derived values.
This commit is contained in:
Ryan Brott
2023-10-01 15:54:38 -07:00
parent 219e07813d
commit dd6d43d9c0

View File

@ -17,7 +17,7 @@ import com.qualcomm.robotcore.hardware.HardwareMap;
public final class ThreeDeadWheelLocalizer implements Localizer {
public static class Params {
public double par0YTicks = 0.0; // y position of the first parallel encoder (in tick units)
public double par1YTicks = 0.0; // y position of the second parallel encoder (in tick units)
public double par1YTicks = 1.0; // y position of the second parallel encoder (in tick units)
public double perpXTicks = 0.0; // x position of the perpendicular encoder (in tick units)
}