Skip to content

OpMode starts with blocks... #23

Closed
@alan412

Description

@alan412

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions