This commit is contained in:
samuel desharnais
2025-02-27 18:06:32 -05:00
10 changed files with 19 additions and 24 deletions

View File

@ -28,9 +28,7 @@ public class ElevateurManuel extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
if(elevateur.limit2()==true){
elevateur.vitesse(0);
}
if (elevateur.limit2())
elevateur.vitesse(doubleSupplier.getAsDouble()/3.5);
}

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Bougie;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Bougie;

View File

@ -2,7 +2,7 @@
// 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;
package frc.robot.commands.Pince;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.Pince;