Skip to content

Commit 41b1053

Browse files
committed
Add SmartDashboard output when wobble done
1 parent 4db94b4 commit 41b1053

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Robot2019/src/main/java/frc/robot/commands/WobbleDrive.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import edu.wpi.first.wpilibj.Timer;
1111
import edu.wpi.first.wpilibj.command.Command;
12+
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
1213
import frc.robot.subsystems.Drivetrain;
1314
import frc.robot.subsystems.Drivetrain.Side;
1415

@@ -39,6 +40,7 @@ protected void initialize() {
3940
dt.setWobbleDone(false);
4041
leftSideDone = false;
4142
rightSideDone = false;
43+
SmartDashboard.putBoolean("Wobble drive done", false);
4244
}
4345

4446
// Called repeatedly when this Command is scheduled to run
@@ -87,6 +89,7 @@ protected boolean isFinished() {
8789
@Override
8890
protected void end() {
8991
dt.stop();
92+
SmartDashboard.putBoolean("Wobble drive done", true);
9093
}
9194

9295
// Called when another command which requires one or more of the same

0 commit comments

Comments
 (0)