Skip to content

Commit

Permalink
Changed armMotorPort to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DriverStationComputer committed Oct 14, 2023
1 parent 90e880e commit 780bfeb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
27 changes: 26 additions & 1 deletion src/main/deploy/pathplanner/Side Basic 2.path
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@
"x": 1.6192012415153803,
"y": 0.94
},
"nextControl": null,
"nextControl": {
"x": 2.3007987584846195,
"y": 0.94
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
Expand All @@ -126,6 +129,28 @@
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.9145106861642298,
"y": 1.073605718640009
},
"prevControl": {
"x": 2.1076547223244244,
"y": 1.0068028593200045
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static final class Arm {
// PID
// Arm, Wrist
public static double[] kP = {4.2736, 4.8804}; // 4.2736 for arm from sysid was tested and it worked fine (V / rad)
public static double[] kI = {0.1, 0}; // (V / (rad * s) )
public static double[] kI = {0, 0}; // (V / (rad * s) )
public static double[] kD = {0.1, 0.90262}; // 0 for arm from sysid was tested and it worked fine (V / (rad / s) )

// Arm, Wrist
Expand Down Expand Up @@ -241,7 +241,7 @@ public static final class Arm {
public static final boolean[] encoderInverted = { true, true };
public static final double rotationToRad = 2 * Math.PI;

public static final int armMotorPort = 17;
public static final int armMotorPort = 2;
public static final int wristMotorPort = 19;

//#endregion
Expand Down

0 comments on commit 780bfeb

Please sign in to comment.