Skip to content

Commit

Permalink
auto.
Browse files Browse the repository at this point in the history
  • Loading branch information
richpant committed Nov 8, 2024
1 parent 42ae559 commit 7ba156f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public enum RobotStart {
public static final Pose blueObservationElement3Pose = new Pose(20, 96, Math.toRadians(180));
public static final Pose blueObservationElement3ControlPose = new Pose(20, 110);
public static final Pose blueObservationSpecimenSetPose = new Pose(16, 25.5, Math.toRadians(180));
public static final Pose blueObservationSpecimenPickupPose = new Pose(7.75, 26, Math.toRadians(180));
public static final Pose blueObservationSpecimenPickup2Pose = new Pose(7.75, 26, Math.toRadians(180));
public static final Pose blueObservationSpecimenPickupPose = new Pose(7.75, 27, Math.toRadians(180));
public static final Pose blueObservationSpecimenPickup2Pose = new Pose(7.75, 27, Math.toRadians(180));
public static final Pose blueObservationSpecimen1Pose = new Pose(34, 72.625, Math.toRadians(180));
public static final Pose blueObservationSpecimen2Pose = new Pose(34, 74.625, Math.toRadians(180));
public static final Pose blueObservationSpecimen3Pose = new Pose(30.25, 76.625, Math.toRadians(180));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class RobotConstants {
public static double armSpecimen = 0.875;
public static double armChamber = 0.625;
public static double armInit = 0.15;
public static double armSpecimenGrab = 0.1175;
public static double armSpecimenGrab = 0.1225;
public static double armSpecimenScore = 0.6;

public static int liftToZero = 100;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ public void pathUpdate() {
}
break;
case 11:
if(pathTimer.getElapsedTimeSeconds() > 3) {
if(pathTimer.getElapsedTimeSeconds() > 3.5) {
auto.claw.close();
setPathState(12);
}
break;
case 12: //Waits 0.25 seconds and puts robot in neutral position
if(pathTimer.getElapsedTimeSeconds() > 0.5) {
if(pathTimer.getElapsedTimeSeconds() > 0.25) {
auto.init();
setPathState(13); }
break;
Expand All @@ -131,7 +131,7 @@ public void pathUpdate() {
setPathState(14);
break;
case 14: //Starts the Chamber State Machine
if(pathTimer.getElapsedTimeSeconds() > 1.5) {
if(pathTimer.getElapsedTimeSeconds() > 1.25) {
auto.startChamber2();
setPathState(15);
}
Expand Down

0 comments on commit 7ba156f

Please sign in to comment.