Change default par1YTicks
This avoids populating `NaN` in odometry-derived values.
This commit is contained in:
@ -17,7 +17,7 @@ import com.qualcomm.robotcore.hardware.HardwareMap;
|
|||||||
public final class ThreeDeadWheelLocalizer implements Localizer {
|
public final class ThreeDeadWheelLocalizer implements Localizer {
|
||||||
public static class Params {
|
public static class Params {
|
||||||
public double par0YTicks = 0.0; // y position of the first parallel encoder (in tick units)
|
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)
|
public double perpXTicks = 0.0; // x position of the perpendicular encoder (in tick units)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user