Skip to content

Commit

Permalink
Implement wpilib.sysid.State.__str__ for Java parity
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Jan 26, 2024
1 parent 9661f94 commit 8af9a7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions subprojects/robotpy-wpilib/gen/SysIdRoutineLog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
enums:
State:
subpackage: sysid
inline_code: |
.def("__str__", [](State self) {
return SysIdRoutineLog::StateEnumToString(self);
})
classes:
SysIdRoutineLog:
subpackage: sysid
Expand Down

0 comments on commit 8af9a7d

Please sign in to comment.