Skip to content

Commit

Permalink
return funny
Browse files Browse the repository at this point in the history
  • Loading branch information
JayK445 committed Oct 26, 2023
1 parent 7e2f3ff commit 744fbb5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/main/java/frc/robot/subsystems/ElevatorIO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package frc.robot.subsystems;

import org.littletonrobotics.junction.AutoLog;

public interface ElevatorIO {
@AutoLog
public static class FlywheelIOInputs {
public double positionRad = 0.0;
public double velocityRadPerSec = 0.0;
public double appliedVolts = 0.0;
public double[] currentAmps = new double[] {};
}

/** Updates the set of loggable inputs. */
public default void updateInputs(FlywheelIOInputs inputs) {
}

/** Run closed loop at the specified velocity. */
public default void setVelocity(double velocityRadPerSec, double ffVolts) {
}

/** Stop in open loop. */
public default void stop() {
}

/** Set velocity PID constants. */
public default void configurePID(double kP, double kI, double kD) {
}
}

0 comments on commit 744fbb5

Please sign in to comment.