Skip to content

Conversation

lizlooney
Copy link
Collaborator

Added @classmethod pseudo-constructors (static functions) to python components.
Changed mrc_component to use static functions when instantiating components.
Generate the blocks for the +Components toolbox category dynamically.

…omponents.

Changed mrc_component to use static functions when instantiating components.
Generate the blocks for the +Components toolbox category dynamically.
@lizlooney lizlooney requested a review from alan412 July 5, 2025 05:54
Fixed problem with + Components category for mechanism (where hideParams is true).
Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The I2C needs to be changed, but after you change that go ahead and merge.

lizlooney added 3 commits July 5, 2025 14:32
… to look for names that match PortType enum values (case insensitive).

Updated python code so that port argument names match the PortType values.
@lizlooney lizlooney merged commit 3af13c1 into wpilibsuite:main Jul 5, 2025
1 check passed
@lizlooney lizlooney deleted the pr_component_blocks branch July 5, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants