From 3ddc3c9b1f49ef93233e63ea035c078592fd1969 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 12 May 2026 20:24:31 -0700 Subject: [PATCH] Switch Getting Started example to use Gampepad Matches Java and C++ examples and ensures ZTR tutorial on frc-docs is consistent across languages --- examples/robot/GettingStarted/robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/robot/GettingStarted/robot.py b/examples/robot/GettingStarted/robot.py index 1b624d15..289b0c2a 100755 --- a/examples/robot/GettingStarted/robot.py +++ b/examples/robot/GettingStarted/robot.py @@ -18,7 +18,7 @@ def __init__(self): self.leftDrive = wpilib.PWMSparkMax(0) self.rightDrive = wpilib.PWMSparkMax(1) self.robotDrive = wpilib.DifferentialDrive(self.leftDrive, self.rightDrive) - self.controller = wpilib.NiDsXboxController(0) + self.controller = wpilib.Gamepad(0) self.timer = wpilib.Timer() # We need to invert one side of the drivetrain so that positive voltages