Add Lidar subsystem

This commit is contained in:
Michael Mikovsky
2025-01-18 15:08:23 -07:00
parent e4ed00b401
commit 88508ef9c4
4 changed files with 87 additions and 1 deletions
@@ -235,6 +235,10 @@ public final class Constants {
public static final Trim X_OFFSET_TRIM = new Trim("X Offset Trim", Double.MAX_VALUE, -Double.MAX_VALUE, 0.05, 0);
public static final int LIDAR_DETECT_DISTANCE = 100; // Min distance to detect pole
public static final int LIDAR_DIO_CHANNEL = 0;
public static final int LIDAR_MICROS_TO_CM = 10;
public static final int SECONDS_TO_MICROS = 1000000;
public static final double XY_TOLERANCE = 0.05;
public static final double ROT_TOLERANCE = 1;