mirror of
https://github.com/Astatin3/Vision-Minibot.git
synced 2026-06-08 16:18:02 -06:00
21 lines
608 B
Java
21 lines
608 B
Java
|
|
package frc4388.robot.subsystems.differential;
|
||
|
|
|
||
|
|
import org.littletonrobotics.junction.AutoLog;
|
||
|
|
|
||
|
|
public interface DiffIO {
|
||
|
|
@AutoLog
|
||
|
|
public class DiffState {
|
||
|
|
public double leftOutputPosition = 0;
|
||
|
|
public double leftOutputVelocity = 0;
|
||
|
|
public double[] leftCurrent = new double[] {};
|
||
|
|
|
||
|
|
public double rightOutputPosition = 0;
|
||
|
|
public double rightOutputVelocity = 0;
|
||
|
|
public double[] rightCurrent = new double[] {};
|
||
|
|
}
|
||
|
|
|
||
|
|
public default void driveWithInput(double leftInput, double rightInput) {}
|
||
|
|
|
||
|
|
public default void updateInputs(DiffState state) {}
|
||
|
|
}
|