Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpMode starts with blocks... #23

Closed
alan412 opened this issue Jan 24, 2025 · 1 comment
Closed

OpMode starts with blocks... #23

alan412 opened this issue Jan 24, 2025 · 1 comment

Comments

@alan412
Copy link
Collaborator

alan412 commented Jan 24, 2025

This is dependent on #22 being done first.

An OpMode should start with the following method blocks which have the mutator disabled for adding, deleting, changing parameters

init -> become init in our python, the only parameter is self. All class variables get defined here in the python automatically from being created. Include self.robot here. (cannot be deleted)

loop -> becomes loop(self) in our python -> cannot be deleted

We could either start with these added or not and able to be deleted or not. I can see advantages both ways...
init_loop -> becomes init_loop(self) in our python
start -> becomes start(self) in our python
stop -> becomes stop(self) in our python

@alan412
Copy link
Collaborator Author

alan412 commented Mar 7, 2025

Closed by #44

@alan412 alan412 closed this as completed Mar 7, 2025
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

No branches or pull requests

1 participant