Skip to content

Commit 710f4b7

Browse files
committed
Require wpilib 2024.3.1
1 parent 8ce6e21 commit 710f4b7

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

commands2/sysid/sysidroutine.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ def end(interrupted: bool):
135135
self.mechanism.subsystem.runOnce(timer.restart)
136136
.andThen(self.mechanism.subsystem.run(execute))
137137
.finallyDo(end)
138-
.withName(
139-
f"sysid-{SysIdRoutineLog.stateEnumToString(state)}-{self.mechanism.name}"
140-
)
138+
.withName(f"sysid-{state}-{self.mechanism.name}")
141139
.withTimeout(self.config.timeout)
142140
)
143141

@@ -174,8 +172,6 @@ def end(interrupted: bool):
174172
self.mechanism.subsystem.runOnce(command)
175173
.andThen(self.mechanism.subsystem.run(execute))
176174
.finallyDo(end)
177-
.withName(
178-
f"sysid-{SysIdRoutineLog.stateEnumToString(state)}-{self.mechanism.name}"
179-
)
175+
.withName(f"sysid-{state}-{self.mechanism.name}")
180176
.withTimeout(self.config.timeout)
181177
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package_data={"commands2": ["py.typed"]},
1414
packages=["commands2"],
1515
install_requires=[
16-
"wpilib<2025,>=2024.2.1.2",
16+
"wpilib<2025,>=2024.3.1",
1717
"typing_extensions>=4.1.0,<5",
1818
],
1919
license="BSD-3-Clause",

0 commit comments

Comments
 (0)