Skip to content

Conversation

lizlooney
Copy link
Collaborator

Added function getBaseClassBlocks to mrc_class_method_def.ts
Modified methods_category to call getBaseClassBlocks for robot, mechanism, and opmode.

Removed src/toolbox/opmode_class_methods.ts.
Removed src/toolbox/robot_class_methods.ts.
Removed src/toolbox/mechanism_class_methods.ts.

Added function createCustomMethodBlock to mrc_class_method_def.ts.
Modified methods_category to call createCustomMethodBlock instead of hardcoding the mrc_class_method_def block.

Added function createCustomEventBlock to mrc_event.ts.
Modified event_category.ts to call createCustomEventBlock instead of hardcoding the block.

Modified methods_category to call getBaseClassBlocks for opmode.
Removed src/toolbox/opmode_class_methods.ts.
Modified methods_category to call createCustomMethodBlock instead of hardcoding the mrc_class_method_def block.
…chanism.

Removed src/toolbox/robot_class_methods.ts.
Removed src/toolbox/mechanism_class_methods.ts.
Modified event_category.ts to call createCustomEventBlock instead of hardcoding the block.
@lizlooney lizlooney requested a review from alan412 July 15, 2025 07:02
@alan412 alan412 merged commit a70e75e into wpilibsuite:main Jul 16, 2025
1 check passed
@lizlooney lizlooney deleted the pr_cleanup branch July 16, 2025 02:10
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