From 244e2d8e9a330105b4bdbde81ee68a71556d6e36 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Mon, 13 Feb 2023 19:30:10 -0500 Subject: [PATCH 1/2] 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; + } +} From 2ab93fc8c77d008673e1156ef275bf7eb412cb30 Mon Sep 17 00:00:00 2001 From: Olivier Demers Date: Tue, 14 Feb 2023 00:31:35 +0000 Subject: [PATCH 2/2] add gitignore --- .gitignore | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9535c83 --- /dev/null +++ b/.gitignore @@ -0,0 +1,162 @@ +# This gitignore has been specially created by the WPILib team. +# If you remove items from this file, intellisense might break. + +### C++ ### +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +### Java ### +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +### Gradle ### +.gradle +/build/ + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar + +# Cache of project +.gradletasknamecache + +# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 +# gradle/wrapper/gradle-wrapper.properties + +# # VS Code Specific Java Settings +# DO NOT REMOVE .classpath and .project +.classpath +.project +.settings/ +bin/ + +# Simulation GUI and other tools window save file +*-window.json