From 147d94bc98255ed77f30f86d6fd9a0ae322fb588 Mon Sep 17 00:00:00 2001 From: Chris Gerth Date: Fri, 8 Nov 2024 17:23:22 -0600 Subject: [PATCH] more tweaks while debugging --- simgui-ds.json | 4 ---- utils/robotIdentification.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/simgui-ds.json b/simgui-ds.json index d631100..cb1aa21 100644 --- a/simgui-ds.json +++ b/simgui-ds.json @@ -96,10 +96,6 @@ } ], "robotJoysticks": [ - { - "guid": "78696e70757401000000000000000000", - "useGamepad": true - }, { "guid": "Keyboard0" } diff --git a/utils/robotIdentification.py b/utils/robotIdentification.py index 14e7b18..1564957 100644 --- a/utils/robotIdentification.py +++ b/utils/robotIdentification.py @@ -29,7 +29,7 @@ def _configureValue(self): if self.roboControl.getSerialNumber() == "030e2cb0": #Test to see if the RoboRio serial number is the main/"Production" bot. self.robotType = RobotTypes.Main - elif self.roboControl.getSerialNumber() == "03064e3f": + elif self.roboControl.getSerialNumber() == "03064e3f" or wpilib.TimedRobot.isSimulation(): #Test to see if the RoboRio serial number is the practice bot. self.robotType = RobotTypes.Practice elif self.roboControl.getSerialNumber() == "0316b37c":