Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
auto-1253 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
totallysomeoneyoudontknow authored Aug 21, 2024
1 parent 7f6a04e commit d84dce2
Show file tree
Hide file tree
Showing 12 changed files with 19,298 additions and 2,490 deletions.
677 changes: 677 additions & 0 deletions src/main/deploy/choreo/Centre12_5_3.1.traj

Large diffs are not rendered by default.

446 changes: 446 additions & 0 deletions src/main/deploy/choreo/Centre12_5_3.2.traj

Large diffs are not rendered by default.

1,391 changes: 1,391 additions & 0 deletions src/main/deploy/choreo/Centre12_5_3.3.traj

Large diffs are not rendered by default.

677 changes: 677 additions & 0 deletions src/main/deploy/choreo/Centre12_5_3.4.traj

Large diffs are not rendered by default.

3,113 changes: 3,113 additions & 0 deletions src/main/deploy/choreo/Centre12_5_3.traj

Large diffs are not rendered by default.

3,386 changes: 3,386 additions & 0 deletions src/main/deploy/choreo/Centre1_423.1.traj

Large diffs are not rendered by default.

3,386 changes: 3,386 additions & 0 deletions src/main/deploy/choreo/Centre1_423.traj

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/autos/Centre1253.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.2383723258972168,
"y": 5.75889778137207
},
"rotation": -2.586146940140809e-26
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Arm"
}
},
{
"type": "path",
"data": {
"pathName": "Centre12_5_3.1"
}
},
{
"type": "path",
"data": {
"pathName": "Centre12_5_3.2"
}
},
{
"type": "path",
"data": {
"pathName": "Centre12_5_3.3"
}
},
{
"type": "path",
"data": {
"pathName": "Centre12_5_3.4"
}
}
]
}
},
"folder": null,
"choreoAuto": true
}
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public Robot() {
"Intake", Commands.deferredProxy(() -> m_superstructure.intake()));
NamedCommands.registerCommand("OTFArm", m_arm.moveToPosition(0.7528).andThen(m_arm.maintain()));

m_autoChooser.setDefaultOption("Centre1423", m_drivetrain.getAutoPath("Centre1423"));
m_autoChooser.setDefaultOption("Centre1253", m_drivetrain.getAutoPath("Centre1253"));
SmartDashboard.putData(m_autoChooser);
SmartDashboard.putNumber("Arm", armangle);

Expand Down
325 changes: 175 additions & 150 deletions src/main/java/frc/robot/generated/TunerConstants.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.ctre.phoenix6.Orchestra;
import com.ctre.phoenix6.Utils;
import com.ctre.phoenix6.configs.AudioConfigs;
import com.ctre.phoenix6.controls.MotionMagicTorqueCurrentFOC;
import com.ctre.phoenix6.hardware.TalonFX;
import com.ctre.phoenix6.mechanisms.swerve.SwerveDrivetrain;
import com.ctre.phoenix6.mechanisms.swerve.SwerveDrivetrainConstants;
Expand Down
Loading

0 comments on commit d84dce2

Please sign in to comment.