2024-01-08 11:38:08 -07:00
|
|
|
package frc4388.utility;
|
|
|
|
|
|
|
|
|
|
public class UtilityStructs {
|
|
|
|
|
public static class TimedOutput {
|
|
|
|
|
public double leftX = 0.0;
|
|
|
|
|
public double leftY = 0.0;
|
|
|
|
|
public double rightX = 0.0;
|
|
|
|
|
public double rightY = 0.0;
|
2024-06-13 11:51:23 -06:00
|
|
|
|
|
|
|
|
public boolean OPLB;
|
|
|
|
|
public boolean OPRB;
|
|
|
|
|
|
2024-01-08 11:38:08 -07:00
|
|
|
|
|
|
|
|
public long timedOffset = 0;
|
|
|
|
|
}
|
2024-06-13 11:51:23 -06:00
|
|
|
public static class AutoRecordingControllerFrame {
|
|
|
|
|
public double[] axes = new double[6];
|
|
|
|
|
public short button = 0;
|
|
|
|
|
public short[] POV = new short[1];
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public static class AutoRecordingFrame {
|
|
|
|
|
public AutoRecordingControllerFrame[] controllerFrames = new AutoRecordingControllerFrame[2];
|
|
|
|
|
public int timeStamp;
|
|
|
|
|
}
|
2024-01-08 11:38:08 -07:00
|
|
|
}
|