This commit is contained in:
Antoine PerreaultE 2024-02-20 18:26:35 -05:00
parent 1dadb3cb77
commit aa4aee45d0
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ public class LancerAmp extends Command {
// Called every time the scheduler runs while the command is scheduled. // Called every time the scheduler runs while the command is scheduled.
@Override @Override
public void execute() { public void execute() {
double vitesse = 0.1; double vitesse = 0.15;
lancer.lanceramp(); lancer.lanceramp();
if(lancer.vitesse(vitesse)>vitesse){ if(lancer.vitesse(vitesse)>vitesse){
accumulateur.Accumuler(); accumulateur.Accumuler();

View File

@ -21,9 +21,9 @@ import swervelib.parser.SwerveParser;
public class Drive extends SubsystemBase { public class Drive extends SubsystemBase {
/** Creates a new Drive. */ /** Creates a new Drive. */
public static final boolean kFrontLeftDriveMotorReversed = false; public static final boolean kFrontLeftDriveMotorReversed = true;
public static final boolean kBackLeftDriveMotorReversed = false; public static final boolean kBackLeftDriveMotorReversed = true;
public static final boolean kFrontRightDriveMotorReversed = true; public static final boolean kFrontRightDriveMotorReversed = false;
public static final boolean kBackRightDriveMotorReversed = true; public static final boolean kBackRightDriveMotorReversed = true;
SwerveDrive swerveDrive; SwerveDrive swerveDrive;