Skip to content

Commit

Permalink
Implement wpilib.sysid.State.__str__ for Java parity (#70)
Browse files Browse the repository at this point in the history
* Implement wpilib.sysid.State.__str__ for Java parity

* Use function reference instead of lambda
  • Loading branch information
auscompgeek authored Jan 26, 2024
1 parent 9661f94 commit 9f9ddc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subprojects/robotpy-wpilib/gen/SysIdRoutineLog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
enums:
State:
subpackage: sysid
inline_code: |
.def("__str__", &SysIdRoutineLog::StateEnumToString)
classes:
SysIdRoutineLog:
subpackage: sysid
Expand Down

0 comments on commit 9f9ddc5

Please sign in to comment.