2026-01-29 18:27:18 -08:00
|
|
|
package frc4388.robot.subsystems.climber;
|
|
|
|
|
|
|
|
|
|
import static edu.wpi.first.units.Units.Amps;
|
|
|
|
|
import static edu.wpi.first.units.Units.Inches;
|
|
|
|
|
|
|
|
|
|
import org.littletonrobotics.junction.AutoLog;
|
|
|
|
|
|
|
|
|
|
import edu.wpi.first.units.measure.Current;
|
|
|
|
|
import edu.wpi.first.units.measure.Distance;
|
|
|
|
|
|
|
|
|
|
public interface ClimberIO {
|
|
|
|
|
@AutoLog
|
|
|
|
|
public class ClimberState {
|
|
|
|
|
Distance climberDistance = Inches.of(0);
|
|
|
|
|
Distance climberTargetDistance = Inches.of(0);
|
|
|
|
|
Current climberMotorCurrent = Amps.of(0);
|
2026-02-22 14:02:31 -07:00
|
|
|
boolean climberLimit = false;
|
2026-01-29 18:27:18 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public default void setClimberDistance(ClimberState state, Distance distance) {}
|
2026-02-22 14:02:31 -07:00
|
|
|
public default void setPercentOutput(ClimberState state, double percent) {}
|
2026-01-29 18:27:18 -08:00
|
|
|
|
|
|
|
|
public default void updateInputs(ClimberState state) {}
|
2026-02-22 14:02:31 -07:00
|
|
|
|
|
|
|
|
public default void updateGains() {}
|
2026-01-29 18:27:18 -08:00
|
|
|
}
|