Skip to content

Commit

Permalink
Require wpilib 2024.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Feb 19, 2024
1 parent 8ce6e21 commit 710f4b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions commands2/sysid/sysidroutine.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ def end(interrupted: bool):
self.mechanism.subsystem.runOnce(timer.restart)
.andThen(self.mechanism.subsystem.run(execute))
.finallyDo(end)
.withName(
f"sysid-{SysIdRoutineLog.stateEnumToString(state)}-{self.mechanism.name}"
)
.withName(f"sysid-{state}-{self.mechanism.name}")
.withTimeout(self.config.timeout)
)

Expand Down Expand Up @@ -174,8 +172,6 @@ def end(interrupted: bool):
self.mechanism.subsystem.runOnce(command)
.andThen(self.mechanism.subsystem.run(execute))
.finallyDo(end)
.withName(
f"sysid-{SysIdRoutineLog.stateEnumToString(state)}-{self.mechanism.name}"
)
.withName(f"sysid-{state}-{self.mechanism.name}")
.withTimeout(self.config.timeout)
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
package_data={"commands2": ["py.typed"]},
packages=["commands2"],
install_requires=[
"wpilib<2025,>=2024.2.1.2",
"wpilib<2025,>=2024.3.1",
"typing_extensions>=4.1.0,<5",
],
license="BSD-3-Clause",
Expand Down

0 comments on commit 710f4b7

Please sign in to comment.