From f6832827758ee2e9f6d68632066076bc7f75619d Mon Sep 17 00:00:00 2001 From: EdwardFaucher Date: Mon, 21 Nov 2022 18:57:23 -0500 Subject: [PATCH] afdg --- simgui.json | 5 ++++- src/main/java/frc/robot/subsystems/Poussoir.java | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/simgui.json b/simgui.json index 3eb1897..3405fd2 100644 --- a/simgui.json +++ b/simgui.json @@ -2,7 +2,10 @@ "NTProvider": { "types": { "/FMSInfo": "FMSInfo", - "/LiveWindow/Ungrouped/Scheduler": "Scheduler" + "/LiveWindow/BasePilotable": "Subsystem", + "/LiveWindow/Ungrouped/MecanumDrive[1]": "MecanumDrive", + "/LiveWindow/Ungrouped/Scheduler": "Scheduler", + "/LiveWindow/Ungrouped/navX-Sensor[4]": "Gyro" } } } diff --git a/src/main/java/frc/robot/subsystems/Poussoir.java b/src/main/java/frc/robot/subsystems/Poussoir.java index f0b0056..aff34a9 100644 --- a/src/main/java/frc/robot/subsystems/Poussoir.java +++ b/src/main/java/frc/robot/subsystems/Poussoir.java @@ -6,6 +6,7 @@ package frc.robot.subsystems; import edu.wpi.first.wpilibj.DoubleSolenoid; import edu.wpi.first.wpilibj.PneumaticsModuleType; +import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants; @@ -19,16 +20,16 @@ public class Poussoir extends SubsystemBase { } public void pousser(){ - + pousser.set(Value.kForward); } public void bloquer(){ - + bloqueur.set(Value.kForward); } public void debloque(){ - + bloqueur.set(Value.kReverse); } public void tirer(){ - + pousser.set(Value.kReverse); }