File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ def execute(self):
60
60
you will want to use setup_tunables to set the object up.
61
61
In normal usage, MagicRobot does this for you, so you don't
62
62
have to do anything special.
63
+
64
+ .. versionchanged:: 2024.1.0
65
+ Added support for WPILib Struct serializable types.
66
+ Integer defaults now create integer topics instead of double topics.
63
67
"""
64
68
65
69
# the way this works is we use a special class to indicate that it
@@ -229,6 +233,10 @@ class MyRobot(magicbot.MagicRobot):
229
233
especially if you wish to monitor WPILib objects.
230
234
231
235
.. versionadded:: 2018.1.0
236
+
237
+ .. versionchanged:: 2024.1.0
238
+ WPILib Struct serializable types are supported when the return type is type hinted.
239
+ An ``int`` return type hint now creates an integer topic.
232
240
"""
233
241
if f is None :
234
242
return functools .partial (feedback , key = key )
You can’t perform that action at this time.
0 commit comments