From ec69c8fff355ac9dd5fb8f1ecce4bfc1c42738f7 Mon Sep 17 00:00:00 2001 From: penguin212 Date: Thu, 9 Nov 2023 15:39:03 -0800 Subject: [PATCH] re0ing --- FRC_TBD_2e1222392fcc8c02.wpilog | Bin 12 -> 0 bytes FRC_TBD_f5fa01df8b142e71.wpilog | Bin 0 -> 23835 bytes networktables.json | 1 + simgui-ds.json | 92 ++++++++++++++++++++ simgui.json | 7 ++ src/main/java/frc/robot/Constants.java | 2 +- src/main/java/frc/robot/RobotContainer.java | 4 +- 7 files changed, 103 insertions(+), 3 deletions(-) delete mode 100644 FRC_TBD_2e1222392fcc8c02.wpilog create mode 100644 FRC_TBD_f5fa01df8b142e71.wpilog create mode 100644 networktables.json create mode 100644 simgui-ds.json create mode 100644 simgui.json diff --git a/FRC_TBD_2e1222392fcc8c02.wpilog b/FRC_TBD_2e1222392fcc8c02.wpilog deleted file mode 100644 index c8524049c83dac0c2cbb03fc425570a022e6c755..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12 RcmWF!@bvL_XJBLi0ss+&0n`8h diff --git a/FRC_TBD_f5fa01df8b142e71.wpilog b/FRC_TBD_f5fa01df8b142e71.wpilog new file mode 100644 index 0000000000000000000000000000000000000000..75642de8b1cc240599166456890c1a02f9e9c7af GIT binary patch literal 23835 zcmb_kYj7OZmF_Vf+yR6xV1i=^wB=w70m(AP1}E5K*_JR!vLXpTFvg5DEoto0jF=h8 zl8w#VJc7f+0>UE+CL|CN9s$B`9$N)$!NO*ps;%AHtqr^0WJ4-yTTG^s#bisLn{fw=ZffTD z7vTp7o5u3FF*jdKyM?B;2M=A|RLG6z2i>N%P2K%Xha77+o&FSjbD8q=d3P|EPXSCz zFMrwuQw#9Tfm|-*CbN-D+)5_q<42d(FwvgQxZTN7w>_61O%^o=vYo8NVSzAJ;i*44 zP$0fb9Pip4WeD-fHJ{9sII-@qdyF|D?o0v=ES@2aytzsYDBfwal9oiAj#L0L)#p61RDzNrM1h?m zm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zgUy5TY0)p~fO&3os{vQ#&!F3kqo#ArfK~@#9lcv`?B3+vF!U^bze#1a zvTsQHbvwti;$g{#bPi&J_r#wACgnbG&^dx=^t|Ia```WE!T08T3#K=lQG)y4yti|i zUMKjL_%q3gOxwf>?~Q*Opp^IKRN|xzM~{?m+yCJwg^RrJz_wn;3Tm?46J>eI``6sPil0;j^piR_Mjk-wr5LB=7ki;LuZKMvx4J`JVV`P?&Nh_RNf-}lhS>1xX)bL*?gI80yI)536G^=wT zDnm_P7JrnQEJ^?XH^)knkNg0gNY!~6hNdV#i2XN@DQ7bh+{&{+RnXi#H}CWl;;Ib+m*x%-nz#}2i$y_^eAwDY(IxH zdd;!Aeu& zjkC*re(5k<3cYS>Lnf0Z|J4lYw_|_tMm*+N-S6S#KT({#uXHDi0XaXh-^ZzON@}=F g@c}HngO7`G`28KjK%mlXhZH$l483E2IK$BY0}tF_761SM literal 0 HcmV?d00001 diff --git a/networktables.json b/networktables.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/networktables.json @@ -0,0 +1 @@ +[] diff --git a/simgui-ds.json b/simgui-ds.json new file mode 100644 index 00000000..73cc713c --- /dev/null +++ b/simgui-ds.json @@ -0,0 +1,92 @@ +{ + "keyboardJoysticks": [ + { + "axisConfig": [ + { + "decKey": 65, + "incKey": 68 + }, + { + "decKey": 87, + "incKey": 83 + }, + { + "decKey": 69, + "decayRate": 0.0, + "incKey": 82, + "keyRate": 0.009999999776482582 + } + ], + "axisCount": 3, + "buttonCount": 4, + "buttonKeys": [ + 90, + 88, + 67, + 86 + ], + "povConfig": [ + { + "key0": 328, + "key135": 323, + "key180": 322, + "key225": 321, + "key270": 324, + "key315": 327, + "key45": 329, + "key90": 326 + } + ], + "povCount": 1 + }, + { + "axisConfig": [ + { + "decKey": 74, + "incKey": 76 + }, + { + "decKey": 73, + "incKey": 75 + } + ], + "axisCount": 2, + "buttonCount": 4, + "buttonKeys": [ + 77, + 44, + 46, + 47 + ], + "povCount": 0 + }, + { + "axisConfig": [ + { + "decKey": 263, + "incKey": 262 + }, + { + "decKey": 265, + "incKey": 264 + } + ], + "axisCount": 2, + "buttonCount": 6, + "buttonKeys": [ + 260, + 268, + 266, + 261, + 269, + 267 + ], + "povCount": 0 + }, + { + "axisCount": 0, + "buttonCount": 0, + "povCount": 0 + } + ] +} diff --git a/simgui.json b/simgui.json new file mode 100644 index 00000000..449f4b1d --- /dev/null +++ b/simgui.json @@ -0,0 +1,7 @@ +{ + "NTProvider": { + "types": { + "/FMSInfo": "FMSInfo" + } + } +} diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 822ef67f..dae238a6 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -41,7 +41,7 @@ public static final class SwerveConstants { : 1.382026108103343; public static final double TR_OFFSET_RADS = IS_R1 ? -1.1199431538621365 // 2.0216494997276566 - : 2.771561729904038; + : -0.37003092686; // 2.771561729904038 public static final double BL_OFFSET_RADS = IS_R1 ? -2.374440566697393 : -0.0563106973979135 ; //3.0852819561918796 diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 5bae3052..f5435590 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -127,8 +127,8 @@ public class RobotContainer { * The container for the robot. Contains subsystems, OI devices, and commands. */ public RobotContainer() { - driveController = new DualJoystickDriveController(); - // driveController = new XboxDriveController(); + // driveController = new DualJoystickDriveController(); + driveController = new XboxDriveController(); photonWrapper = new PhotonWrapper(); switchableCamera = new SwitchableCamera(shuffleboardTab);