Very good, cool and amazing commit
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -21,7 +21,7 @@ public class BrakeFerme extends CommandBase { | ||||
|   // Called when the command is initially scheduled. | ||||
|   @Override | ||||
|   public void initialize() { | ||||
|     .fermer(); | ||||
|     basePilotable.BrakeFerme(); | ||||
|   } | ||||
|  | ||||
|   // Called every time the scheduler runs while the command is scheduled. | ||||
|   | ||||
| @@ -1,24 +1,34 @@ | ||||
| // Copyright (c) FIRST and other WPILib contributors. | ||||
| -// Copyright (c) FIRST and other WPILib contributors. | ||||
| // Open Source Software; you can modify and/or share it under the terms of | ||||
| // the WPILib BSD license file in the root directory of this project. | ||||
|  | ||||
| package frc.robot.commands; | ||||
|  | ||||
| import edu.wpi.first.wpilibj2.command.CommandBase; | ||||
| import frc.robot.subsystems.BasePilotable; | ||||
|  | ||||
| public class BrakeOuvre extends CommandBase { | ||||
|   /** Creates a new BrakeOuvre. */ | ||||
|   public BrakeOuvre() { | ||||
|  | ||||
|   private BasePilotable basePilotable; | ||||
|  | ||||
|   /** Creates a new BrakeFerme. */ | ||||
|   public BrakeOuvre(BasePilotable basePilotable) { | ||||
|     this.basePilotable = basePilotable; | ||||
|     // Use addRequirements() here to declare subsystem dependencies. | ||||
|     addRequirements(basePilotable); | ||||
|   } | ||||
|  | ||||
|   // Called when the command is initially scheduled. | ||||
|   @Override | ||||
|   public void initialize() {} | ||||
|   public void initialize() { | ||||
|     basePilotable.BrakeOuvre(); | ||||
|   } | ||||
|  | ||||
|   // Called every time the scheduler runs while the command is scheduled. | ||||
|   @Override | ||||
|   public void execute() {} | ||||
|   public void execute() { | ||||
|      | ||||
|   } | ||||
|  | ||||
|   // Called once the command ends or is interrupted. | ||||
|   @Override | ||||
| @@ -30,3 +40,5 @@ public class BrakeOuvre extends CommandBase { | ||||
|     return false; | ||||
|   } | ||||
| } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user