--- /dev/null
+{
+ "version": "2025.0",
+ "waypoints": [
+ {
+ "anchor": {
+ "x": 3.381592574499267,
+ "y": 7.595268685881777
+ },
+ "prevControl": null,
+ "nextControl": {
+ "x": 4.216148283887304,
+ "y": 7.595268685881777
+ },
+ "isLocked": false,
+ "linkedName": null
+ },
+ {
+ "anchor": {
+ "x": 6.123556424035175,
+ "y": 6.764110893991207
+ },
+ "prevControl": {
+ "x": 6.055007327796776,
+ "y": 7.732366878358572
+ },
+ "nextControl": {
+ "x": 6.194176127540517,
+ "y": 5.766607581978255
+ },
+ "isLocked": false,
+ "linkedName": null
+ },
+ {
+ "anchor": {
+ "x": 6.123556424035175,
+ "y": 1.5543795798729834
+ },
+ "prevControl": {
+ "x": 6.123556424035175,
+ "y": 2.5954249007095656
+ },
+ "nextControl": {
+ "x": 6.123556424035175,
+ "y": 0.5857824267034357
+ },
+ "isLocked": false,
+ "linkedName": null
+ },
+ {
+ "anchor": {
+ "x": 4.5469272105520275,
+ "y": 0.5775549584758164
+ },
+ "prevControl": {
+ "x": 5.560347414214745,
+ "y": 0.5775549584758162
+ },
+ "nextControl": {
+ "x": 3.5335070068893097,
+ "y": 0.5775549584758165
+ },
+ "isLocked": false,
+ "linkedName": null
+ },
+ {
+ "anchor": {
+ "x": 2.6532584269662918,
+ "y": 0.5775549584758164
+ },
+ "prevControl": {
+ "x": 2.9032584269662918,
+ "y": 0.5775549584758164
+ },
+ "nextControl": null,
+ "isLocked": false,
+ "linkedName": null
+ }
+ ],
+ "rotationTargets": [],
+ "constraintZones": [],
+ "pointTowardsZones": [],
+ "eventMarkers": [
+ {
+ "name": "Hood Down",
+ "waypointRelativePos": 0,
+ "endWaypointRelativePos": null,
+ "command": {
+ "type": "named",
+ "data": {
+ "name": "Hood Down"
+ }
+ }
+ }
+ ],
+ "globalConstraints": {
+ "maxVelocity": 4.0,
+ "maxAcceleration": 2.5,
+ "maxAngularVelocity": 200.0,
+ "maxAngularAcceleration": 300.0,
+ "nominalVoltage": 12.0,
+ "unlimited": false
+ },
+ "goalEndState": {
+ "velocity": 0,
+ "rotation": -0.4151795411448859
+ },
+ "reversed": false,
+ "folder": null,
+ "idealStartingState": {
+ "velocity": 0,
+ "rotation": 0.0
+ },
+ "useDefaultConstraints": false
+}
\ No newline at end of file
"waypoints": [
{
"anchor": {
- "x": 0.48539325842696646,
- "y": 7.458170493404982
+ "x": 0.4682559843673668,
+ "y": 7.603837322911579
},
"prevControl": null,
"nextControl": {
- "x": 2.6532584269662918,
- "y": 7.629543234000977
+ "x": 2.6361211529066964,
+ "y": 7.775210063507574
},
"isLocked": false,
"linkedName": null
"minWaypointRelativePos": 0.1427297056199817,
"maxWaypointRelativePos": 1.0,
"constraints": {
- "maxVelocity": 3.5,
- "maxAcceleration": 2.0,
+ "maxVelocity": 5.2,
+ "maxAcceleration": 3.5,
"maxAngularVelocity": 200.0,
"maxAngularAcceleration": 300.0,
"nominalVoltage": 12.0,
String rightSideAuto = "Right Week V1";
String shootOnlyAuto = "Shoot Only Left Week V1";
String velocityTest = "Velocity TEST";
+ String jame = "Jame's Square path";
autoChooser.setDefaultOption("Default", new PathPlannerAuto(defaultAuto));
addAuto(leftSideAuto);
addAuto(rightSideAuto);
addAuto(shootOnlyAuto);
addAuto(velocityTest);
+ addAuto(jame);
// put the Chooser on the SmartDashboard
SmartDashboard.putData("Auto chooser", autoChooser);
public static RobotConfig CONFIG;
public static final PPHolonomicDriveController AUTO_CONTROLLER = new PPHolonomicDriveController(
- new PIDConstants(3.5, 0.0, 0), // Translation PID constants
+ new PIDConstants(6.0, 0.0, 0.5), // Translation PID constants
new PIDConstants(5.0, 0.0, 1.0) // Rotation PID constants
);