Skip to content

Commit

Permalink
added pose reset to autons
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Mar 16, 2024
1 parent 495d42c commit 78c57c9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/main/deploy/pathplanner/autos/Pose Reset.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8093860062363999,
"y": 7.074963437676163
},
"rotation": 179.3839400916008
},
"command": {
"type": "sequential",
"data": {
"commands": []
}
},
"folder": null,
"choreoAuto": false
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/get mid c.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 0.7,
"minWaypointRelativePos": 0.9,
"maxWaypointRelativePos": 1.0,
"constraints": {
"maxVelocity": 1.0,
Expand Down
1 change: 1 addition & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public RobotContainer() {
UtilFuncs.ShootFast(_swerveSubsystem::speakerDistance);

_autonChooser = AutoBuilder.buildAutoChooser();

SmartDashboard.putData("AUTON CHOOSER", _autonChooser);
}

Expand Down

0 comments on commit 78c57c9

Please sign in to comment.