File tree Expand file tree Collapse file tree
src/main/java/frc/robot/subsystems Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments