Skip to content

Commit 28d3714

Browse files
committed
removed zeroing commands
1 parent 6d54232 commit 28d3714

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

src/main/java/frc/robot/subsystems/ShooterSubsystem.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -263,28 +263,6 @@ public void moveHoodWithVoltage() {
263263
hood.setControl(m_voltageRequest.withOutput(Constants.Shooter.Hood.ZERO_VOLTAGE));
264264
}
265265

266-
public void resetHoodPositionToZero() {
267-
hood.setPosition(0);
268-
}
269-
270-
public void reduceHoodCurrentLimits() {
271-
hood.updateCurrentLimits(
272-
Constants.Shooter.Hood.ZERO_STATOR_CURRENT_LIMIT,
273-
Constants.Shooter.Hood.ZERO_SUPPLY_CURRENT_LIMIT);
274-
}
275-
276-
public void resetHoodCurrentLimits() {
277-
hood.updateCurrentLimits(
278-
Constants.Shooter.Hood.STATOR_CURRENT_LIMIT, Constants.Shooter.Hood.SUPPLY_CURRENT_LIMIT);
279-
}
280-
281-
public boolean checkHoodCurrent() {
282-
double supply = Math.abs(hood.getSupplyCurrent().getValue().magnitude());
283-
double stator = Math.abs(hood.getStatorCurrent().getValue().magnitude());
284-
return supply > Constants.Shooter.Hood.ZERO_MAX_SUPPLY
285-
&& stator > Constants.Shooter.Hood.ZERO_MAX_STATOR;
286-
}
287-
288266
@Override
289267
public void periodic() {
290268
// Shooter velocity information

0 commit comments

Comments
 (0)