Skip to content

Commit 05bb4f2

Browse files
mailmindlinvirtuald
authored andcommitted
Expose WPIStruct for Twist3d
1 parent 58d5646 commit 05bb4f2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

subprojects/robotpy-wpimath/gen/geometry/Twist3d.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22

3+
extra_includes:
4+
- wpystruct.h
5+
36
classes:
47
Twist3d:
58
force_no_default_constructor: true
@@ -86,4 +89,6 @@ inline_code: |
8689
"ry=" + std::to_string(tw.ry()) + ", "
8790
"rz=" + std::to_string(tw.rz()) + ")";
8891
})
89-
;
92+
;
93+
94+
SetupWPyStruct<frc::Twist3d>(cls_Twist3d);

0 commit comments

Comments
 (0)