Skip to content

Commit

Permalink
Update configs for first tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbko6 committed Feb 11, 2024
1 parent a5f2c73 commit e5c368a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions src/main/deploy/practiceswerve/modules/backleft.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"front": -12.5,
"left": 12.5
},
"absoluteEncoderOffset": 0,
"absoluteEncoderOffset": 176.30859375,
"drive": {
"type": "falcon",
"id": 7,
"canbus": null
"canbus": "Drivebase"
},
"angle": {
"type": "falcon",
"id": 8,
"canbus": null
"canbus": "Drivebase"
},
"encoder": {
"type": "cancoder",
"id": 9,
"canbus": null
"canbus": "Drivebase"
},
"inverted": {
"drive": false,
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/practiceswerve/modules/backright.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"front": -12.5,
"left": -12.5
},
"absoluteEncoderOffset": 0,
"absoluteEncoderOffset": 161.01562500000003,
"drive": {
"type": "falcon",
"id": 10,
"canbus": null
"canbus": "Drivebase"
},
"angle": {
"type": "falcon",
"id": 11,
"canbus": null
"canbus": "Drivebase"
},
"encoder": {
"type": "cancoder",
"id": 12,
"canbus": null
"canbus": "Drivebase"
},
"inverted": {
"drive": false,
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/practiceswerve/modules/frontleft.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"front": 12.5,
"left": 12.5
},
"absoluteEncoderOffset": 0,
"absoluteEncoderOffset": 314.47109375000002,
"drive": {
"type": "falcon",
"id": 1,
"canbus": null
"canbus": "Drivebase"
},
"angle": {
"type": "falcon",
"id": 2,
"canbus": null
"canbus": "Drivebase"
},
"encoder": {
"type": "cancoder",
"id": 3,
"canbus": null
"canbus": "Drivebase"
},
"inverted": {
"drive": false,
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/practiceswerve/modules/frontright.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"front": 12.5,
"left": -12.5
},
"absoluteEncoderOffset": 0,
"absoluteEncoderOffset": 208.47476562500003,
"drive": {
"type": "falcon",
"id": 4,
"canbus": null
"canbus": "Drivebase"
},
"angle": {
"type": "falcon",
"id": 5,
"canbus": null
"canbus": "Drivebase"
},
"encoder": {
"type": "cancoder",
"id": 6,
"canbus": null
"canbus": "Drivebase"
},
"inverted": {
"drive": false,
Expand Down
4 changes: 2 additions & 2 deletions src/main/deploy/practiceswerve/swervedrive.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"imu": {
"type": "pigeon2",
"id": 13,
"canbus": null
"canbus": "Drivebase"
},
"invertedIMU": true,
"invertedIMU": false,
"modules": [
"frontleft.json",
"frontright.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public DrivebaseSubsystem() {

// LOW verbosity only sends field position, HIGH sends full drive data, MACHINE sends data
// viewable by AdvantageScope
SwerveDriveTelemetry.verbosity = TelemetryVerbosity.LOW;
SwerveDriveTelemetry.verbosity = TelemetryVerbosity.MACHINE;
}

/**
Expand Down

0 comments on commit e5c368a

Please sign in to comment.