File tree Expand file tree Collapse file tree
Robot2019/src/main/java/frc/robot/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010import edu .wpi .first .wpilibj .Timer ;
1111import edu .wpi .first .wpilibj .command .Command ;
12+ import edu .wpi .first .wpilibj .smartdashboard .SmartDashboard ;
1213import frc .robot .subsystems .Drivetrain ;
1314import 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
You can’t perform that action at this time.
0 commit comments