aarav is stupid. that is all.

This commit is contained in:
aarav18
2022-03-22 00:18:49 -06:00
parent 24d72af2d9
commit 500f812bf5
2 changed files with 2 additions and 2 deletions
@@ -29,7 +29,7 @@ public class DriveWithInputForTime extends CommandBase {
this.swerve = swerve;
this.inputs = inputs;
this.duration = duration;
this.duration = duration * 1000; // ! convert seconds to milliseconds, duh
addRequirements(this.swerve);
}
@@ -31,7 +31,7 @@ public class RunCommandForTime extends CommandBase {
// Use addRequirements() here to declare subsystem dependencies.
this.command = command;
this.duration = duration;
this.duration = duration * 1000; // ! convert seconds to milliseconds, duh
this.override = override;
addRequirements(this.command.getRequirements().toArray(Subsystem[]::new));