mirror of
https://github.com/Astatin3/Vision-Minibot.git
synced 2026-06-08 16:18:02 -06:00
Work on adding advantagekit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user