dth
This commit is contained in:
		@@ -7,9 +7,6 @@ package frc.robot.commands;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import java.util.function.DoubleSupplier;
 | 
					import java.util.function.DoubleSupplier;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
 | 
					 | 
				
			||||||
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardLayout;
 | 
					 | 
				
			||||||
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
 | 
					 | 
				
			||||||
import edu.wpi.first.wpilibj2.command.CommandBase;
 | 
					import edu.wpi.first.wpilibj2.command.CommandBase;
 | 
				
			||||||
import frc.robot.subsystems.BasePilotable;
 | 
					import frc.robot.subsystems.BasePilotable;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -38,7 +35,9 @@ public class Avancer extends CommandBase {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // Called once the command ends or is interrupted.
 | 
					  // Called once the command ends or is interrupted.
 | 
				
			||||||
  @Override
 | 
					  @Override
 | 
				
			||||||
  public void end(boolean interrupted) {}
 | 
					  public void end(boolean interrupted) {
 | 
				
			||||||
 | 
					    basePilotable.drive(0,0);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Returns true when the command should end.
 | 
					  // Returns true when the command should end.
 | 
				
			||||||
  @Override
 | 
					  @Override
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,7 +35,9 @@ public class Reculer extends CommandBase {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // Called once the command ends or is interrupted.
 | 
					  // Called once the command ends or is interrupted.
 | 
				
			||||||
  @Override
 | 
					  @Override
 | 
				
			||||||
  public void end(boolean interrupted) {}
 | 
					  public void end(boolean interrupted) {
 | 
				
			||||||
 | 
					    basePilotable.drive(0,0);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Returns true when the command should end.
 | 
					  // Returns true when the command should end.
 | 
				
			||||||
  @Override
 | 
					  @Override
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user