Skip to content

Commit 975b8e3

Browse files
committed
Update SysIdRoutine for v2024.2.1 fixes
1 parent 923fd50 commit 975b8e3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gittrack

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[git-source-track]
22
upstream_root = ../allwpilib/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command
33
upstream_branch = main
4-
upstream_commit = 4809f3d0fcaea95115c069d6027694191fca9750
4+
upstream_commit = 9206b47d6708cbae61506e962c633d722884a26f
55
validation_root = commands2
6+

commands2/sysid/sysidroutine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# validated: 2024-01-26 DV a2e4d0b15d4f sysid/SysIdRoutine.java
1+
# validated: 2024-01-26 DV 19c155647273 sysid/SysIdRoutine.java
22
from dataclasses import dataclass
33
from enum import Enum
44

@@ -96,7 +96,7 @@ def __init__(self, config: Config, mechanism: Mechanism):
9696
:param config: Hardware-independent parameters for the SysId routine.
9797
:param mechanism: Hardware interface for the SysId routine.
9898
"""
99-
super().__init__(mechanism.subsystem.getName())
99+
super().__init__(mechanism.name)
100100
self.config = config
101101
self.mechanism = mechanism
102102
self.outputVolts = 0.0

0 commit comments

Comments
 (0)