From f6f38c1275541501f29852e28367f4292d88728b Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 6 Feb 2023 19:14:41 -0500 Subject: [PATCH] mthjgnfhgbcnh --- build.gradle | 2 +- .../frc/robot/commands/StablePlateform.java | 32 +++++++++++++++++++ .../frc/robot/commands/bras/FermePince.java | 32 +++++++++++++++++++ .../frc/robot/commands/bras/OuvrePince.java | 32 +++++++++++++++++++ .../robot/commands/bras/PivoteBrasBas.java | 32 +++++++++++++++++++ .../robot/commands/bras/PivoteBrasHaut.java | 32 +++++++++++++++++++ .../commands/bras/PivoteBrasMilieux.java | 32 +++++++++++++++++++ .../java/frc/robot/commands/limelight.java | 32 +++++++++++++++++++ 8 files changed, 225 insertions(+), 1 deletion(-) create mode 100644 src/main/java/frc/robot/commands/StablePlateform.java create mode 100644 src/main/java/frc/robot/commands/bras/FermePince.java create mode 100644 src/main/java/frc/robot/commands/bras/OuvrePince.java create mode 100644 src/main/java/frc/robot/commands/bras/PivoteBrasBas.java create mode 100644 src/main/java/frc/robot/commands/bras/PivoteBrasHaut.java create mode 100644 src/main/java/frc/robot/commands/bras/PivoteBrasMilieux.java create mode 100644 src/main/java/frc/robot/commands/limelight.java diff --git a/build.gradle b/build.gradle index 579528d..84108ad 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2023.2.1" + id "edu.wpi.first.GradleRIO" version "2023.3.2" } sourceCompatibility = JavaVersion.VERSION_11 diff --git a/src/main/java/frc/robot/commands/StablePlateform.java b/src/main/java/frc/robot/commands/StablePlateform.java new file mode 100644 index 0000000..f223510 --- /dev/null +++ b/src/main/java/frc/robot/commands/StablePlateform.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 StablePlateform extends CommandBase { + /** Creates a new StablePlateform. */ + public StablePlateform() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/bras/FermePince.java b/src/main/java/frc/robot/commands/bras/FermePince.java new file mode 100644 index 0000000..ad2addc --- /dev/null +++ b/src/main/java/frc/robot/commands/bras/FermePince.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.bras; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class FermePince extends CommandBase { + /** Creates a new FermePince. */ + public FermePince() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/bras/OuvrePince.java b/src/main/java/frc/robot/commands/bras/OuvrePince.java new file mode 100644 index 0000000..0072fb9 --- /dev/null +++ b/src/main/java/frc/robot/commands/bras/OuvrePince.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.bras; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class OuvrePince extends CommandBase { + /** Creates a new OuvrePince. */ + public OuvrePince() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/bras/PivoteBrasBas.java b/src/main/java/frc/robot/commands/bras/PivoteBrasBas.java new file mode 100644 index 0000000..03a1793 --- /dev/null +++ b/src/main/java/frc/robot/commands/bras/PivoteBrasBas.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.bras; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class PivoteBrasBas extends CommandBase { + /** Creates a new PivoteBrasBas. */ + public PivoteBrasBas() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/bras/PivoteBrasHaut.java b/src/main/java/frc/robot/commands/bras/PivoteBrasHaut.java new file mode 100644 index 0000000..4932ad2 --- /dev/null +++ b/src/main/java/frc/robot/commands/bras/PivoteBrasHaut.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.bras; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class PivoteBrasHaut extends CommandBase { + /** Creates a new PivoteBrasHaut. */ + public PivoteBrasHaut() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/bras/PivoteBrasMilieux.java b/src/main/java/frc/robot/commands/bras/PivoteBrasMilieux.java new file mode 100644 index 0000000..be7e44e --- /dev/null +++ b/src/main/java/frc/robot/commands/bras/PivoteBrasMilieux.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.bras; + +import edu.wpi.first.wpilibj2.command.CommandBase; + +public class PivoteBrasMilieux extends CommandBase { + /** Creates a new PivoteBrasMilieux. */ + public PivoteBrasMilieux() { + // 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; + } +} diff --git a/src/main/java/frc/robot/commands/limelight.java b/src/main/java/frc/robot/commands/limelight.java new file mode 100644 index 0000000..3853a09 --- /dev/null +++ b/src/main/java/frc/robot/commands/limelight.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 limelight extends CommandBase { + /** Creates a new limelight. */ + public limelight() { + // 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; + } +}