From 244e2d8e9a330105b4bdbde81ee68a71556d6e36 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Mon, 13 Feb 2023 19:30:10 -0500 Subject: [PATCH] jehdtysy --- bin/main/frc/robot/commands/BrakeFerme.class | Bin 0 -> 635 bytes bin/main/frc/robot/commands/BrakeOuvre.class | Bin 0 -> 635 bytes .../java/frc/robot/commands/BrakeFerme.java | 42 ++++++++++++++++++ .../java/frc/robot/commands/BrakeOuvre.java | 32 +++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 bin/main/frc/robot/commands/BrakeFerme.class create mode 100644 bin/main/frc/robot/commands/BrakeOuvre.class create mode 100644 src/main/java/frc/robot/commands/BrakeFerme.java create mode 100644 src/main/java/frc/robot/commands/BrakeOuvre.java diff --git a/bin/main/frc/robot/commands/BrakeFerme.class b/bin/main/frc/robot/commands/BrakeFerme.class new file mode 100644 index 0000000000000000000000000000000000000000..c0d81dfbf14f0b6d5b12b19c4c10469581e3b547 GIT binary patch literal 635 zcmah_yG{Z@6g>m0=mMfBsD&CkMB^qJW1+Etgo@Z`DClN)hcLJgGP|qBZ?ds6vG4=@ zDC3=71QLxl_i^T)bI+ZR&$o8~=h!MB$FMU{j-^67j4dbheIB@x)l&RUbcFIn0R}@; zxQX>JmexS3DAtuH?a|5iyw%QlEglJm#Y-8;_=+LlIOs7L?a&n_@>nim0gDWkt_;L= z;@d*qa@!+DwHrFz>v1J@KLL$+C?kfw?w|H97)-rRa!)>yR6#rnCyA-bi@>GrjlMQf zltC<%O2)Auko7ey>JTv+YJi+-=q5~*BRW!hs?5INc*O5H_Ca&>ZJ;ZdzJy|dx>L$b zqs><=y-<;ZNztSX6k(uD5h!Itl*`mHtV{(C)1I&yS!)Apb3`^JR{kf}ekHDwU}pJ@ w#I?I08@E$pJ$syN)Ml$#r^v8@+C<_g?MWv8oQmm_GuOLw%X3rL^>k|U3l@80N&o-= literal 0 HcmV?d00001 diff --git a/bin/main/frc/robot/commands/BrakeOuvre.class b/bin/main/frc/robot/commands/BrakeOuvre.class new file mode 100644 index 0000000000000000000000000000000000000000..fe20788d362a4eeadac4d305a312117cdd7fdc3d GIT binary patch literal 635 zcmah_O;5r=6r81%Y5`Fc)PovtipC}y<3ZyA5>7-98V=l+vV_Ibl5LB|-{i%Ui3fjx zKg#&FMIh1W<$cV)nKy4gKHuH}oMY2MhGDy>Tt@|+AadMbIOKjebZUy7^P<5a<9de)cpiBqrMCocAJ0NyI`>OI>|lxL{gS`6mA?*WeC4Z+xOer zL{9pVP%0ipfq;`U@deA2W3T`K literal 0 HcmV?d00001 diff --git a/src/main/java/frc/robot/commands/BrakeFerme.java b/src/main/java/frc/robot/commands/BrakeFerme.java new file mode 100644 index 0000000..d8dceff --- /dev/null +++ b/src/main/java/frc/robot/commands/BrakeFerme.java @@ -0,0 +1,42 @@ +-// 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 BrakeFerme extends CommandBase { + + private BasePilotable basePilotable; + + /** Creates a new BrakeFerme. */ + public BrakeFerme(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() { + .fermer(); + } + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() { + + } + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) {} + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +} diff --git a/src/main/java/frc/robot/commands/BrakeOuvre.java b/src/main/java/frc/robot/commands/BrakeOuvre.java new file mode 100644 index 0000000..f2a2389 --- /dev/null +++ b/src/main/java/frc/robot/commands/BrakeOuvre.java @@ -0,0 +1,32 @@ +// 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; + +public class BrakeOuvre extends CommandBase { + /** Creates a new BrakeOuvre. */ + public BrakeOuvre() { + // Use addRequirements() here to declare subsystem dependencies. + } + + // Called when the command is initially scheduled. + @Override + public void initialize() {} + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() {} + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) {} + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +}