This commit is contained in:
Antoine PerreaultE 2024-02-14 18:56:52 -05:00
parent 80b0197fe4
commit 0294b52c0f
6 changed files with 7 additions and 22 deletions

View File

@ -1,10 +1,5 @@
{ {
"HALProvider": { "HALProvider": {
"DIO": {
"window": {
"visible": true
}
},
"Other Devices": { "Other Devices": {
"SPARK MAX [10]": { "SPARK MAX [10]": {
"header": { "header": {
@ -52,16 +47,6 @@
} }
} }
}, },
"Solenoids": {
"0": {
"header": {
"open": true
}
},
"window": {
"visible": true
}
},
"Timing": { "Timing": {
"window": { "window": {
"visible": false "visible": false

View File

@ -3,7 +3,7 @@
"front": -12.375, "front": -12.375,
"left": 12.375 "left": 12.375
}, },
"absoluteEncoderOffset": 120.762, "absoluteEncoderOffset": 299.443,
"drive": { "drive": {
"type": "sparkmax", "type": "sparkmax",
"id": 8, "id": 8,
@ -24,7 +24,7 @@
}, },
"encoder": { "encoder": {
"type": "cancoder", "type": "cancoder",
"id": 7, "id": 6,
"canbus": null "canbus": null
} }
} }

View File

@ -3,7 +3,7 @@
"front": -12.375, "front": -12.375,
"left": -12.375 "left": -12.375
}, },
"absoluteEncoderOffset": 96.768, "absoluteEncoderOffset": 95.537,
"drive": { "drive": {
"type": "sparkmax", "type": "sparkmax",
"id": 11, "id": 11,
@ -24,7 +24,7 @@
}, },
"encoder": { "encoder": {
"type": "cancoder", "type": "cancoder",
"id": 6, "id": 7,
"canbus": null "canbus": null
} }
} }

View File

@ -3,7 +3,7 @@
"front": 12.375, "front": 12.375,
"left": 12.375 "left": 12.375
}, },
"absoluteEncoderOffset": 170.244, "absoluteEncoderOffset": 348.223 ,
"drive": { "drive": {
"type": "sparkmax", "type": "sparkmax",
"id": 2, "id": 2,

View File

@ -3,7 +3,7 @@
"front": 12.375, "front": 12.375,
"left": -12.375 "left": -12.375
}, },
"absoluteEncoderOffset": 198.105, "absoluteEncoderOffset": 200.215,
"drive": { "drive": {
"type": "sparkmax", "type": "sparkmax",
"id": 18, "id": 18,

View File

@ -87,7 +87,7 @@ public class RobotContainer {
// deplacement // deplacement
configureBindings(); configureBindings();
drive.setDefaultCommand(new RunCommand(()->{ drive.setDefaultCommand(new RunCommand(()->{
drive.drive(-MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(-joystick.getX(),0.2), MathUtil.applyDeadband(-joystick.getZ(), 0.2)); drive.drive(MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(joystick.getX(),0.2), MathUtil.applyDeadband(joystick.getZ(), 0.2));
},drive)); },drive));
// grimpeur manuel // grimpeur manuel