Skip to content

Commit

Permalink
more tweaks while debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Nov 8, 2024
1 parent 450555e commit 147d94b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions simgui-ds.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@
}
],
"robotJoysticks": [
{
"guid": "78696e70757401000000000000000000",
"useGamepad": true
},
{
"guid": "Keyboard0"
}
Expand Down
2 changes: 1 addition & 1 deletion utils/robotIdentification.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 147d94b

Please sign in to comment.