Skip to content

Commit

Permalink
remove intake suicide from speaker auto
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacThoman committed Feb 25, 2024
1 parent 19096b2 commit 58f3481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
32 changes: 0 additions & 32 deletions src/main/deploy/pathplanner/autos/four-speaker.auto
Original file line number Diff line number Diff line change
Expand Up @@ -154,38 +154,6 @@
"data": {
"name": "ejectMode"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "speaker6"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
}
]
}
}
]
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static class OperatorConstants {
public static final double turnMaxSpeed = 11; //11


public static final double maxDrivePower = 0.2;
public static final double maxDrivePower = 0.6;

public static final double controllerDeadband = 0.06;

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/subsystems/drive/SwerveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ public void periodic() {

SmartDashboard.putNumber("frontLeftDrivePos",frontLeft.getPosition().distanceMeters);

SmartDashboard.putNumberArray("modulePositions",new double[]{frontLeft.getPosition().distanceMeters,frontRight.getPosition().distanceMeters,rearLeft.getPosition().distanceMeters,rearRight.getPosition().distanceMeters});
SmartDashboard.putNumberArray("moduleHeadings",new double[]{frontLeft.getAngle(),frontRight.getAngle(),rearLeft.getAngle(),rearRight.getAngle()});



Expand Down

0 comments on commit 58f3481

Please sign in to comment.