From 2d907300cc465d48b5a0f9cdd2205690053fb874 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Mon, 12 Feb 2024 17:49:10 -0500 Subject: [PATCH 01/15] j --- src/main/java/frc/robot/RobotContainer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 9280c26..6253d2c 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -14,13 +14,13 @@ import edu.wpi.first.wpilibj.smartdashboard.SendableChooser; import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.RunCommand; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; -// Manette // Manettes import edu.wpi.first.wpilibj2.command.button.CommandJoystick; import edu.wpi.first.wpilibj2.command.button.CommandXboxController; -import frc.robot.command.AllumeLED; + // Commands +import frc.robot.command.AllumeLED; import frc.robot.command.Balayer; import frc.robot.command.GrimpeurDroit; import frc.robot.command.GrimpeurGauche; @@ -29,6 +29,7 @@ import frc.robot.command.GuiderHaut; import frc.robot.command.Lancer; import frc.robot.command.LancerNote; import frc.robot.command.Lancerampli; + // Subsystems import frc.robot.subsystem.Accumulateur; import frc.robot.subsystem.Balayeuse; From 9d9784565b9eb88ff06b1a22754b5154103e5a3b Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 17:55:21 -0500 Subject: [PATCH 02/15] grimpeur --- simgui.json | 8 ++++++++ src/main/java/frc/robot/command/GrimpeurDroit.java | 2 +- src/main/java/frc/robot/command/GrimpeurGauche.java | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/simgui.json b/simgui.json index 5febc02..9fdf162 100644 --- a/simgui.json +++ b/simgui.json @@ -4,6 +4,11 @@ "window": { "visible": true } + }, + "Solenoids": { + "window": { + "visible": true + } } }, "NTProvider": { @@ -37,6 +42,9 @@ } } }, + "NetworkTables Info": { + "visible": true + }, "NetworkTables View": { "visible": false }, diff --git a/src/main/java/frc/robot/command/GrimpeurDroit.java b/src/main/java/frc/robot/command/GrimpeurDroit.java index 20ff35e..718c3ce 100644 --- a/src/main/java/frc/robot/command/GrimpeurDroit.java +++ b/src/main/java/frc/robot/command/GrimpeurDroit.java @@ -45,7 +45,7 @@ public class GrimpeurDroit extends Command { else{ grimpeur.droit(0); } - if(grimpeur.encoderd()>0){ + if(grimpeur.encoderd()>1){ grimpeur.resetencodeurd(); grimpeur.droit(0); diff --git a/src/main/java/frc/robot/command/GrimpeurGauche.java b/src/main/java/frc/robot/command/GrimpeurGauche.java index 11a5685..3e7e46e 100644 --- a/src/main/java/frc/robot/command/GrimpeurGauche.java +++ b/src/main/java/frc/robot/command/GrimpeurGauche.java @@ -44,7 +44,7 @@ public class GrimpeurGauche extends Command { else{ grimpeur.gauche(0); } - if(grimpeur.encoderd()>0){ + if(grimpeur.encoderd()>1){ grimpeur.resetencodeurg(); grimpeur.gauche(0); From b58baae2ce1864e020cdc0ffca6e29b25a5d98b2 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 17:58:21 -0500 Subject: [PATCH 03/15] --- simgui.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/simgui.json b/simgui.json index 9fdf162..6676bf1 100644 --- a/simgui.json +++ b/simgui.json @@ -42,9 +42,6 @@ } } }, - "NetworkTables Info": { - "visible": true - }, "NetworkTables View": { "visible": false }, From 1087610e2660cd7842f860b6352c11f8fb278ba5 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:01:01 -0500 Subject: [PATCH 04/15] --- simgui.json | 3 +++ src/main/java/frc/robot/command/AllumeLED.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/simgui.json b/simgui.json index 6676bf1..9fdf162 100644 --- a/simgui.json +++ b/simgui.json @@ -42,6 +42,9 @@ } } }, + "NetworkTables Info": { + "visible": true + }, "NetworkTables View": { "visible": false }, diff --git a/src/main/java/frc/robot/command/AllumeLED.java b/src/main/java/frc/robot/command/AllumeLED.java index dd1d09e..f070ff3 100644 --- a/src/main/java/frc/robot/command/AllumeLED.java +++ b/src/main/java/frc/robot/command/AllumeLED.java @@ -12,7 +12,7 @@ public class AllumeLED extends Command { private LED led; private Accumulateur accumulateur; /** Creates a new AllumeLED. */ - public AllumeLED(LED led) { + public AllumeLED(LED led,Accumulateur accumulateur){ this.accumulateur = accumulateur; this.led = led; addRequirements(led); From 8cc51eada493a0b4c828b4767af4952ba226d80e Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:04:58 -0500 Subject: [PATCH 05/15] --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 51dfd61..80b52fe 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -72,7 +72,7 @@ public class RobotContainer { Lancerampli lancerampli = new Lancerampli(lanceur,limelight); GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX); GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY); - AllumeLED allumeLED = new AllumeLED(LED); + AllumeLED allumeLED = new AllumeLED(LED, accumulateur); Pistongrimpeur pistongrimpeur = new Pistongrimpeur(grimpeur, LED); public RobotContainer() { dashboard.addCamera("limelight", "limelight","limelight.local:5800"); From 6ce8cac6b11f036dbc96bd8e813f6bea170f8f12 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:06:35 -0500 Subject: [PATCH 06/15] --- simgui.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/simgui.json b/simgui.json index 9fdf162..de3467e 100644 --- a/simgui.json +++ b/simgui.json @@ -5,6 +5,18 @@ "visible": true } }, + "Other Devices": { + "SPARK MAX [26]": { + "header": { + "open": true + } + }, + "SPARK MAX [27]": { + "header": { + "open": true + } + } + }, "Solenoids": { "window": { "visible": true From d9e9c2af4d1cbfab003a23a95b8c531c14b8f2d0 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:06:49 -0500 Subject: [PATCH 07/15] --- src/main/java/frc/robot/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 80b52fe..3ea59f1 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -72,7 +72,7 @@ public class RobotContainer { Lancerampli lancerampli = new Lancerampli(lanceur,limelight); GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX); GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY); - AllumeLED allumeLED = new AllumeLED(LED, accumulateur); + AllumeLED allumeLED = new AllumeLED(LED, accumulateur); Pistongrimpeur pistongrimpeur = new Pistongrimpeur(grimpeur, LED); public RobotContainer() { dashboard.addCamera("limelight", "limelight","limelight.local:5800"); From f86be6301cf30216b63fb64bd17ec720afbc27fc Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Mon, 12 Feb 2024 18:11:55 -0500 Subject: [PATCH 08/15] s --- .../java/frc/robot/subsystem/Grimpeur.java | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 293bdec..c93b430 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -10,14 +10,12 @@ import com.revrobotics.CANSparkLowLevel.MotorType; import edu.wpi.first.networktables.GenericEntry; import edu.wpi.first.wpilibj.DigitalInput; -import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.PneumaticsModuleType; import edu.wpi.first.wpilibj.Solenoid; import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard; import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardLayout; import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab; import edu.wpi.first.wpilibj.shuffleboard.BuiltInLayouts; -import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants; @@ -33,14 +31,11 @@ public class Grimpeur extends SubsystemBase { final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless); final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); // limit switch - final DigitalInput limitdroite = new DigitalInput(Constants.limithaut); - final DigitalInput limitgauche = new DigitalInput(Constants.limitbas); final Solenoid pistondroite= new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondroiteouvre); final Solenoid pistondgauche = new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondgaucheouvre); //fonction public Grimpeur() { - layout.addBoolean("limitgrimpeurd", limitdroite::get); - layout.addBoolean("limitgrimpeurg", limitdroite::get); + layout.add("grimpeurencodeurd", encoderd()); layout.add("grimpeurencodeurg", encoderg()); layout.add("pitchgyrogrimpeur", getpitch()); @@ -51,12 +46,6 @@ public void droit(double vitesse){ public void gauche(double vitesse){ grimpeurg.set(vitesse); } -public boolean droite(){ - return limitdroite.get(); -} -public boolean gauche(){ - return limitgauche.get(); -} public void resetencodeurd(){ grimpeurd.getEncoder().setPosition(0); } @@ -84,14 +73,5 @@ public AHRS gyroscope = new AHRS(); public boolean piston(){ return pistondgauche.get(); } - @Override - public void periodic() { - // This method will be called once per scheduler run - if(droite()) { - resetencodeurd(); - } - if(gauche()) { - resetencodeurg(); - } - } } + From b2fefba67bdd50a75addcce8e8dea683817c4a7a Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Mon, 12 Feb 2024 18:13:13 -0500 Subject: [PATCH 09/15] s --- src/main/java/frc/robot/subsystem/Grimpeur.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index c93b430..ec94d21 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -73,5 +73,10 @@ public AHRS gyroscope = new AHRS(); public boolean piston(){ return pistondgauche.get(); } + + @Override + public void periodic() { + // This method will be called once per scheduler run + } } From b462661bbc7d39021f5a073c049890e19a58340c Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:14:24 -0500 Subject: [PATCH 10/15] --- simgui.json | 5 +++++ src/main/java/frc/robot/subsystem/Grimpeur.java | 1 + 2 files changed, 6 insertions(+) diff --git a/simgui.json b/simgui.json index de3467e..6615be0 100644 --- a/simgui.json +++ b/simgui.json @@ -18,6 +18,11 @@ } }, "Solenoids": { + "0": { + "header": { + "open": true + } + }, "window": { "visible": true } diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 293bdec..8099c2f 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -39,6 +39,7 @@ public class Grimpeur extends SubsystemBase { final Solenoid pistondgauche = new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondgaucheouvre); //fonction public Grimpeur() { + pistonferme(); layout.addBoolean("limitgrimpeurd", limitdroite::get); layout.addBoolean("limitgrimpeurg", limitdroite::get); layout.add("grimpeurencodeurd", encoderd()); From bdccdd104d87c41c3005998fb9554458de6f687c Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:16:07 -0500 Subject: [PATCH 11/15] --- src/main/java/frc/robot/RobotContainer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 3ea59f1..cfde281 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -71,7 +71,7 @@ public class RobotContainer { LancerNote lancernote = new LancerNote(lanceur, accumulateur); Lancerampli lancerampli = new Lancerampli(lanceur,limelight); GrimpeurDroit grimpeurDroit = new GrimpeurDroit(grimpeur, manette::getLeftX); - GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getLeftY); + GrimpeurGauche grimpeurGauche = new GrimpeurGauche(grimpeur, manette::getRightX); AllumeLED allumeLED = new AllumeLED(LED, accumulateur); Pistongrimpeur pistongrimpeur = new Pistongrimpeur(grimpeur, LED); public RobotContainer() { @@ -93,8 +93,10 @@ public class RobotContainer { drive.drive(-MathUtil.applyDeadband(joystick.getY(),0.2), MathUtil.applyDeadband(-joystick.getX(),0.2), MathUtil.applyDeadband(-joystick.getZ(), 0.2)); },drive)); grimpeur.setDefaultCommand(new RunCommand(()->{ - grimpeur.droit(manette.getLeftX());} + grimpeur.droit(manette.getLeftX()); + grimpeur.gauche(manette.getRightX());} ,grimpeur)); + LED.setDefaultCommand(allumeLED); dashboard.add("autochooser",autoChooser) .withSize(2,1) From 4a9f2e9b2b32a15e86a044d35023ded2d259209a Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:16:20 -0500 Subject: [PATCH 12/15] --- src/main/java/frc/robot/subsystem/Grimpeur.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystem/Grimpeur.java b/src/main/java/frc/robot/subsystem/Grimpeur.java index 8b5ea5f..6589c72 100644 --- a/src/main/java/frc/robot/subsystem/Grimpeur.java +++ b/src/main/java/frc/robot/subsystem/Grimpeur.java @@ -35,7 +35,7 @@ public class Grimpeur extends SubsystemBase { final Solenoid pistondgauche = new Solenoid(PneumaticsModuleType.CTREPCM, Constants.pistondgaucheouvre); //fonction public Grimpeur() { - pistonferme(); + pistonouvre(); layout.add("grimpeurencodeurd", encoderd()); layout.add("grimpeurencodeurg", encoderg()); layout.add("pitchgyrogrimpeur", getpitch()); From 68f95fb8fd6dc4f716273ad39b1c8a828b6d3aa1 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Mon, 12 Feb 2024 18:21:02 -0500 Subject: [PATCH 13/15] ta --- src/main/java/frc/robot/subsystem/Limelight.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/frc/robot/subsystem/Limelight.java b/src/main/java/frc/robot/subsystem/Limelight.java index ab2358f..944b8c0 100644 --- a/src/main/java/frc/robot/subsystem/Limelight.java +++ b/src/main/java/frc/robot/subsystem/Limelight.java @@ -16,7 +16,6 @@ public class Limelight extends SubsystemBase { NetworkTableEntry tx = table.getEntry("tx"); NetworkTableEntry ty = table.getEntry("ty"); - NetworkTableEntry ta = table.getEntry("ta"); NetworkTableEntry pipeline = table.getEntry("pipeline"); NetworkTableEntry tv = table.getEntry("tv"); NetworkTableEntry camMode = table.getEntry("camMode"); @@ -33,9 +32,6 @@ public class Limelight extends SubsystemBase { public double gety(){ return ty.getDouble(0); } - /* public double geta() { - return ta.getDouble(0); - }*/ public boolean getv(){ return tv.getBoolean(false); } From 900087c5ffbf76c3ca624739f0f62e13afbaf828 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:40:33 -0500 Subject: [PATCH 14/15] auto --- simgui.json | 17 +++------ src/main/deploy/pathplanner/autos/1.2.auto | 12 +++--- src/main/deploy/pathplanner/autos/1.3.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/1.4.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/1.5.auto | 36 +++++++++--------- src/main/deploy/pathplanner/autos/2.2.auto | 12 +++--- src/main/deploy/pathplanner/autos/2.3.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/2.4.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/2.5.auto | 36 +++++++++--------- src/main/deploy/pathplanner/autos/3.1.auto | 12 +++--- src/main/deploy/pathplanner/autos/3.2.auto | 12 +++--- src/main/deploy/pathplanner/autos/3.3.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/3.4.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/3.5.auto | 36 +++++++++--------- src/main/deploy/pathplanner/autos/4.1.auto | 12 +++--- src/main/deploy/pathplanner/autos/4.2.auto | 12 +++--- src/main/deploy/pathplanner/autos/4.3.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/4.4.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/4.5.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/5.1.auto | 19 +++------- src/main/deploy/pathplanner/autos/5.2.auto | 19 +++------- src/main/deploy/pathplanner/autos/5.3.auto | 31 ++++++---------- src/main/deploy/pathplanner/autos/5.5.auto | 43 +++++++++------------- src/main/deploy/pathplanner/autos/6.1.auto | 12 +++--- src/main/deploy/pathplanner/autos/6.2.auto | 12 +++--- src/main/deploy/pathplanner/autos/6.3.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/6.4.auto | 24 ++++++------ src/main/deploy/pathplanner/autos/6.5.auto | 36 +++++++++--------- 28 files changed, 299 insertions(+), 334 deletions(-) diff --git a/simgui.json b/simgui.json index 6615be0..047b6fb 100644 --- a/simgui.json +++ b/simgui.json @@ -5,18 +5,6 @@ "visible": true } }, - "Other Devices": { - "SPARK MAX [26]": { - "header": { - "open": true - } - }, - "SPARK MAX [27]": { - "header": { - "open": true - } - } - }, "Solenoids": { "0": { "header": { @@ -36,6 +24,11 @@ "/SmartDashboard/Pigeon IMU [0]": "Gyro" }, "windows": { + "/Shuffleboard/dashboard/autochooser": { + "window": { + "visible": true + } + }, "/SmartDashboard/Field": { "bottom": 1476, "height": 8.210550308227539, diff --git a/src/main/deploy/pathplanner/autos/1.2.auto b/src/main/deploy/pathplanner/autos/1.2.auto index a557e76..b2db2b5 100644 --- a/src/main/deploy/pathplanner/autos/1.2.auto +++ b/src/main/deploy/pathplanner/autos/1.2.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/1.3.auto b/src/main/deploy/pathplanner/autos/1.3.auto index f749089..e03567d 100644 --- a/src/main/deploy/pathplanner/autos/1.3.auto +++ b/src/main/deploy/pathplanner/autos/1.3.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/1.4.auto b/src/main/deploy/pathplanner/autos/1.4.auto index fa1607d..6e06e00 100644 --- a/src/main/deploy/pathplanner/autos/1.4.auto +++ b/src/main/deploy/pathplanner/autos/1.4.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/1.5.auto b/src/main/deploy/pathplanner/autos/1.5.auto index 8eb44dc..23f05cf 100644 --- a/src/main/deploy/pathplanner/autos/1.5.auto +++ b/src/main/deploy/pathplanner/autos/1.5.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } @@ -65,17 +65,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/2.2.auto b/src/main/deploy/pathplanner/autos/2.2.auto index 8cc5cf1..d225767 100644 --- a/src/main/deploy/pathplanner/autos/2.2.auto +++ b/src/main/deploy/pathplanner/autos/2.2.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/2.3.auto b/src/main/deploy/pathplanner/autos/2.3.auto index 9664be9..3cd5557 100644 --- a/src/main/deploy/pathplanner/autos/2.3.auto +++ b/src/main/deploy/pathplanner/autos/2.3.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/2.4.auto b/src/main/deploy/pathplanner/autos/2.4.auto index 4bd326d..b2a1901 100644 --- a/src/main/deploy/pathplanner/autos/2.4.auto +++ b/src/main/deploy/pathplanner/autos/2.4.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/2.5.auto b/src/main/deploy/pathplanner/autos/2.5.auto index 4db4968..9a1589f 100644 --- a/src/main/deploy/pathplanner/autos/2.5.auto +++ b/src/main/deploy/pathplanner/autos/2.5.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } @@ -65,17 +65,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/3.1.auto b/src/main/deploy/pathplanner/autos/3.1.auto index 60135e2..f52296d 100644 --- a/src/main/deploy/pathplanner/autos/3.1.auto +++ b/src/main/deploy/pathplanner/autos/3.1.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/3.2.auto b/src/main/deploy/pathplanner/autos/3.2.auto index fab233e..4719e02 100644 --- a/src/main/deploy/pathplanner/autos/3.2.auto +++ b/src/main/deploy/pathplanner/autos/3.2.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/3.3.auto b/src/main/deploy/pathplanner/autos/3.3.auto index e899dae..ce4eab5 100644 --- a/src/main/deploy/pathplanner/autos/3.3.auto +++ b/src/main/deploy/pathplanner/autos/3.3.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/3.4.auto b/src/main/deploy/pathplanner/autos/3.4.auto index ee52ad4..2485fff 100644 --- a/src/main/deploy/pathplanner/autos/3.4.auto +++ b/src/main/deploy/pathplanner/autos/3.4.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/3.5.auto b/src/main/deploy/pathplanner/autos/3.5.auto index a22e873..7a0dc5f 100644 --- a/src/main/deploy/pathplanner/autos/3.5.auto +++ b/src/main/deploy/pathplanner/autos/3.5.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -65,17 +65,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/4.1.auto b/src/main/deploy/pathplanner/autos/4.1.auto index c55e797..1d526a8 100644 --- a/src/main/deploy/pathplanner/autos/4.1.auto +++ b/src/main/deploy/pathplanner/autos/4.1.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/4.2.auto b/src/main/deploy/pathplanner/autos/4.2.auto index 873f45d..3e5df99 100644 --- a/src/main/deploy/pathplanner/autos/4.2.auto +++ b/src/main/deploy/pathplanner/autos/4.2.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/4.3.auto b/src/main/deploy/pathplanner/autos/4.3.auto index 309d666..fcca443 100644 --- a/src/main/deploy/pathplanner/autos/4.3.auto +++ b/src/main/deploy/pathplanner/autos/4.3.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/4.4.auto b/src/main/deploy/pathplanner/autos/4.4.auto index 1921381..3b8f377 100644 --- a/src/main/deploy/pathplanner/autos/4.4.auto +++ b/src/main/deploy/pathplanner/autos/4.4.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/4.5.auto b/src/main/deploy/pathplanner/autos/4.5.auto index 3e57efa..4e19546 100644 --- a/src/main/deploy/pathplanner/autos/4.5.auto +++ b/src/main/deploy/pathplanner/autos/4.5.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/5.1.auto b/src/main/deploy/pathplanner/autos/5.1.auto index bc613d0..ccf4f92 100644 --- a/src/main/deploy/pathplanner/autos/5.1.auto +++ b/src/main/deploy/pathplanner/autos/5.1.auto @@ -15,24 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "deadline", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - } - ] - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/5.2.auto b/src/main/deploy/pathplanner/autos/5.2.auto index 209d455..fbbd903 100644 --- a/src/main/deploy/pathplanner/autos/5.2.auto +++ b/src/main/deploy/pathplanner/autos/5.2.auto @@ -15,24 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "deadline", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - } - ] - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/5.3.auto b/src/main/deploy/pathplanner/autos/5.3.auto index 9cd6456..902d99a 100644 --- a/src/main/deploy/pathplanner/autos/5.3.auto +++ b/src/main/deploy/pathplanner/autos/5.3.auto @@ -15,24 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "deadline", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - } - ] - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -47,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/5.5.auto b/src/main/deploy/pathplanner/autos/5.5.auto index a1412af..e7c6626 100644 --- a/src/main/deploy/pathplanner/autos/5.5.auto +++ b/src/main/deploy/pathplanner/autos/5.5.auto @@ -15,24 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "deadline", - "data": { - "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - } - ] - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -47,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } @@ -72,17 +65,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/6.1.auto b/src/main/deploy/pathplanner/autos/6.1.auto index 1733bae..88b4194 100644 --- a/src/main/deploy/pathplanner/autos/6.1.auto +++ b/src/main/deploy/pathplanner/autos/6.1.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/6.2.auto b/src/main/deploy/pathplanner/autos/6.2.auto index adc3a77..b354106 100644 --- a/src/main/deploy/pathplanner/autos/6.2.auto +++ b/src/main/deploy/pathplanner/autos/6.2.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/6.3.auto b/src/main/deploy/pathplanner/autos/6.3.auto index ca3fe4a..ce14187 100644 --- a/src/main/deploy/pathplanner/autos/6.3.auto +++ b/src/main/deploy/pathplanner/autos/6.3.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/6.4.auto b/src/main/deploy/pathplanner/autos/6.4.auto index 8716b08..1cd567a 100644 --- a/src/main/deploy/pathplanner/autos/6.4.auto +++ b/src/main/deploy/pathplanner/autos/6.4.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } diff --git a/src/main/deploy/pathplanner/autos/6.5.auto b/src/main/deploy/pathplanner/autos/6.5.auto index 52cf9b4..2751b1b 100644 --- a/src/main/deploy/pathplanner/autos/6.5.auto +++ b/src/main/deploy/pathplanner/autos/6.5.auto @@ -15,17 +15,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } @@ -40,17 +40,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "balyer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "balyer" + } } ] } @@ -65,17 +65,17 @@ "type": "deadline", "data": { "commands": [ - { - "type": "named", - "data": { - "name": "lancer" - } - }, { "type": "wait", "data": { "waitTime": 3.0 } + }, + { + "type": "named", + "data": { + "name": "lancer" + } } ] } From 7a37782ca19fb71cb842174cd8fcd536eda825a9 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Mon, 12 Feb 2024 18:40:52 -0500 Subject: [PATCH 15/15] --- simgui-ds.json | 10 ++++++++++ simgui.json | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/simgui-ds.json b/simgui-ds.json index 1fa3b25..00ed9e6 100644 --- a/simgui-ds.json +++ b/simgui-ds.json @@ -1,4 +1,14 @@ { + "FMS": { + "window": { + "visible": false + } + }, + "System Joysticks": { + "window": { + "visible": false + } + }, "keyboardJoysticks": [ { "axisConfig": [ diff --git a/simgui.json b/simgui.json index 047b6fb..070af3e 100644 --- a/simgui.json +++ b/simgui.json @@ -14,6 +14,11 @@ "window": { "visible": true } + }, + "Timing": { + "window": { + "visible": false + } } }, "NTProvider": {