Changer ID swerve pour les bons
This commit is contained in:
parent
8b5842acbb
commit
83fda9aa61
@ -6,17 +6,17 @@
|
|||||||
"absoluteEncoderOffset": 0,
|
"absoluteEncoderOffset": 0,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 0,
|
"id": 8,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"angle": {
|
"angle": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 1,
|
"id": 9,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"encoder": {
|
"encoder": {
|
||||||
"type": "cancoder",
|
"type": "cancoder",
|
||||||
"id": 2,
|
"id": 22,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"inverted": {
|
"inverted": {
|
||||||
|
@ -6,17 +6,17 @@
|
|||||||
"absoluteEncoderOffset": 0,
|
"absoluteEncoderOffset": 0,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 3,
|
"id": 11,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"angle": {
|
"angle": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 4,
|
"id": 12,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"encoder": {
|
"encoder": {
|
||||||
"type": "cancoder",
|
"type": "cancoder",
|
||||||
"id": 5,
|
"id": 22,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"inverted": {
|
"inverted": {
|
||||||
|
@ -6,17 +6,17 @@
|
|||||||
"absoluteEncoderOffset": 0,
|
"absoluteEncoderOffset": 0,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 6,
|
"id": 0,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"angle": {
|
"angle": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 7,
|
"id": 1,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"encoder": {
|
"encoder": {
|
||||||
"type": "cancoder",
|
"type": "cancoder",
|
||||||
"id": 8,
|
"id": 22,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"inverted": {
|
"inverted": {
|
||||||
|
@ -6,17 +6,17 @@
|
|||||||
"absoluteEncoderOffset": 0,
|
"absoluteEncoderOffset": 0,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 9,
|
"id": 17,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"angle": {
|
"angle": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 10,
|
"id": 18,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"encoder": {
|
"encoder": {
|
||||||
"type": "cancoder",
|
"type": "cancoder",
|
||||||
"id": 11,
|
"id": 22,
|
||||||
"canbus": null
|
"canbus": null
|
||||||
},
|
},
|
||||||
"inverted": {
|
"inverted": {
|
||||||
|
@ -14,7 +14,7 @@ import frc.robot.subsystems.Lanceur;
|
|||||||
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
|
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
|
||||||
public class Accumuler extends SequentialCommandGroup {
|
public class Accumuler extends SequentialCommandGroup {
|
||||||
|
|
||||||
public Accumuler(Accumulateur accumulateur) {
|
public void Accumuler(Accumulateur accumulateur) {
|
||||||
// Add your commands in the addCommands() call, e.g.
|
// Add your commands in the addCommands() call, e.g.
|
||||||
// addCommands(new FooCommand(), new BarCommand());
|
// addCommands(new FooCommand(), new BarCommand());
|
||||||
addCommands(new Deaccumuler(accumulateur), new Reaccumuler(accumulateur));
|
addCommands(new Deaccumuler(accumulateur), new Reaccumuler(accumulateur));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user