Skip to content

Commit

Permalink
Format entire repository
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeCoder1 committed May 23, 2024
1 parent f0c75b4 commit e3d92ef
Show file tree
Hide file tree
Showing 30 changed files with 1,624 additions and 1,709 deletions.
14 changes: 7 additions & 7 deletions src/main/deploy/swerve/controllerproperties.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"angleJoystickRadiusDeadband": 0.05,
"heading": {
"p": 0.8,
"i": 0,
"d": 0.01
}
}
"angleJoystickRadiusDeadband": 0.05,
"heading": {
"p": 0.8,
"i": 0,
"d": 0.01
}
}
53 changes: 26 additions & 27 deletions src/main/deploy/swerve/modules/backleft.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"drive": {
"type": "sparkmax",
"id": 13,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 3,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 12,
"canbus": null
},
"absoluteEncoderInverted": true,
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0.0,

"location": {
"front": -10.5,
"left": 10.5
}
}
"drive": {
"type": "sparkmax",
"id": 13,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 3,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 12,
"canbus": null
},
"absoluteEncoderInverted": true,
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0.0,
"location": {
"front": -10.5,
"left": 10.5
}
}
52 changes: 26 additions & 26 deletions src/main/deploy/swerve/modules/backright.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"drive": {
"type": "sparkmax",
"id": 12,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 2,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 11,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": -10.5,
"left": -10.5
}
}
"drive": {
"type": "sparkmax",
"id": 12,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 2,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 11,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": -10.5,
"left": -10.5
}
}
52 changes: 26 additions & 26 deletions src/main/deploy/swerve/modules/frontleft.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"drive": {
"type": "sparkmax",
"id": 14,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 4,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 9,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": 10.5,
"left": 10.5
}
}
"drive": {
"type": "sparkmax",
"id": 14,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 4,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 9,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": 10.5,
"left": 10.5
}
}
52 changes: 26 additions & 26 deletions src/main/deploy/swerve/modules/frontright.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"drive": {
"type": "sparkmax",
"id": 11,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 1,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 10,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": 10.5,
"left": -10.5
}
}
"drive": {
"type": "sparkmax",
"id": 11,
"canbus": null
},
"angle": {
"type": "sparkmax",
"id": 1,
"canbus": null
},
"encoder": {
"type": "canandcoder",
"id": 10,
"canbus": null
},
"inverted": {
"drive": true,
"angle": true
},
"absoluteEncoderOffset": 0,
"absoluteEncoderInverted": true,
"location": {
"front": 10.5,
"left": -10.5
}
}
30 changes: 15 additions & 15 deletions src/main/deploy/swerve/modules/physicalproperties.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"conversionFactor": {
"drive": 0.04808969374,
"angle": 360
},
"currentLimit": {
"drive": 40,
"angle": 20
},
"rampRate": {
"drive": 0.25,
"angle": 0.25
},
"wheelGripCoefficientOfFriction": 1.19,
"optimalVoltage": 12
}
"conversionFactor": {
"drive": 0.04808969374,
"angle": 360
},
"currentLimit": {
"drive": 40,
"angle": 20
},
"rampRate": {
"drive": 0.25,
"angle": 0.25
},
"wheelGripCoefficientOfFriction": 1.19,
"optimalVoltage": 12
}
30 changes: 15 additions & 15 deletions src/main/deploy/swerve/modules/pidfproperties.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"drive": {
"p": 0.0011261,
"i": 0,
"d": 0,
"f": 0,
"iz": 0
},
"angle": {
"p": 0.01,
"i": 0,
"d": 0,
"f": 0,
"iz": 0
}
}
"drive": {
"p": 0.0011261,
"i": 0,
"d": 0,
"f": 0,
"iz": 0
},
"angle": {
"p": 0.01,
"i": 0,
"d": 0,
"f": 0,
"iz": 0
}
}
26 changes: 13 additions & 13 deletions src/main/deploy/swerve/swervedrive.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"imu": {
"type": "pigeon2",
"id": 1,
"canbus": ""
},
"invertedIMU": false,
"modules": [
"frontleft.json",
"frontright.json",
"backleft.json",
"backright.json"
]
}
"imu": {
"type": "pigeon2",
"id": 1,
"canbus": ""
},
"invertedIMU": false,
"modules": [
"frontleft.json",
"frontright.json",
"backleft.json",
"backright.json"
]
}
Loading

0 comments on commit e3d92ef

Please sign in to comment.