You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Let the user delete the loop method in an OpMode.
Removed code from opmode.py that calls the steps method.
In mrc_class_method_def.ts:
Renamed classSpecific and getClassSpecificForInit to superInitParameters and getSuperInitParameters.
In mrc_steps.ts:
Added constant STEPS_METHOD_NAME and changed the steps method name to _steps.
In python.ts:
Added constant PERIODIC_METHOD_NAME.
In extended_python_generator.ts:
Changed finish method to add the code for calling the steps method to the end of the loop method.
Renamed getClassSpecificForInit to getSuperInitParameters.
* Don't generated python code that checks whether _steps method exists.
* If the workspace doesn't have steps and doesn't overide the loop method, show a warning on the opmode details block.
* Fixed misspelling.
* Changed the value of the warning id so it doesn't seem like a string that needs to be translated.
0 commit comments