This commit is contained in:
Antoine PerreaultE 2024-02-20 17:51:18 -05:00
parent 7374e670f8
commit d81b5a6911
3 changed files with 7 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class Constants {
// Limit switch
public static int guideurhaut = 4;
public static int guideurbas = 5;
public static int guideurbas = 6;
public static int photocellacc = 2;
//piston

View File

@ -27,7 +27,7 @@ public class GuiderHaut extends Command {
guideur.guider(0);
}
else{
guideur.guider(-0.5);
guideur.guider(-0.4);
}
}

View File

@ -21,6 +21,11 @@ import swervelib.parser.SwerveParser;
public class Drive extends SubsystemBase {
/** Creates a new Drive. */
public static final boolean kFrontLeftDriveMotorReversed = false;
public static final boolean kBackLeftDriveMotorReversed = false;
public static final boolean kFrontRightDriveMotorReversed = true;
public static final boolean kBackRightDriveMotorReversed = true;
SwerveDrive swerveDrive;
File swerveJsonDirectory = new File(Filesystem.getDeployDirectory(),"swerve");