Skip to content

Commit d2dac77

Browse files
created shooting and preptrench empty commands (#24)
Co-authored-by: jayden mendoza <244560677+jaymendo670-png@users.noreply.github.com> Co-authored-by: Tej shah <187054380+Tejshah88@users.noreply.github.com>
1 parent d5b374b commit d2dac77

2 files changed

Lines changed: 64 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Copyright (c) FIRST and other WPILib contributors.
2+
// Open Source Software; you can modify and/or share it under the terms of
3+
// the WPILib BSD license file in the root directory of this project.
4+
5+
package frc.robot.commands.states;
6+
7+
import edu.wpi.first.wpilibj2.command.Command;
8+
9+
public class PrepTrench extends Command {
10+
/** Creates a new PrepTrench. */
11+
public PrepTrench() {
12+
// Use addRequirements() here to declare subsystem dependencies.
13+
}
14+
15+
// Called when the command is initially scheduled.
16+
@Override
17+
public void initialize() {}
18+
19+
// Called every time the scheduler runs while the command is scheduled.
20+
@Override
21+
public void execute() {}
22+
23+
// Called once the command ends or is interrupted.
24+
@Override
25+
public void end(boolean interrupted) {}
26+
27+
// Returns true when the command should end.
28+
@Override
29+
public boolean isFinished() {
30+
return false;
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Copyright (c) FIRST and other WPILib contributors.
2+
// Open Source Software; you can modify and/or share it under the terms of
3+
// the WPILib BSD license file in the root directory of this project.
4+
5+
package frc.robot.commands.states;
6+
7+
import edu.wpi.first.wpilibj2.command.Command;
8+
9+
public class ReversingShooter extends Command {
10+
/** Creates a new ReversingShooter. */
11+
public ReversingShooter() {
12+
// Use addRequirements() here to declare subsystem dependencies.
13+
}
14+
15+
// Called when the command is initially scheduled.
16+
@Override
17+
public void initialize() {}
18+
19+
// Called every time the scheduler runs while the command is scheduled.
20+
@Override
21+
public void execute() {}
22+
23+
// Called once the command ends or is interrupted.
24+
@Override
25+
public void end(boolean interrupted) {}
26+
27+
// Returns true when the command should end.
28+
@Override
29+
public boolean isFinished() {
30+
return false;
31+
}
32+
}

0 commit comments

Comments
 (0)