-
Notifications
You must be signed in to change notification settings - Fork 43
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
refactored action designators and added orm test cases #123
Conversation
# Conflicts: # examples/intro.ipynb # src/pycram/designator.py # src/pycram/designators/action_designator.py # test/test_local_transformer.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides that one comment everything looks great 👍
""" | ||
Helper method for internal usage only. | ||
This method is to be overwritten instead of the execute method. | ||
""" | ||
pass | ||
|
||
def execute(self, designator: MotionDesignatorDescription.Motion) -> Any: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change the typing? Process Modules should still only accept MotionDesignators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. But importing the new BaseMotion in order to use it for type hinting leads to circular imports, since it is located in the motion_designator file and the motions themselves need the ProcessModuleManager. Removing the type hint is not fancy, but I didn't see an easy way to solve that problem
[Tests] adjusted test cases of language to reflect changes made for RetryMonitor
refactored action designators and added orm test cases
[Tests] adjusted test cases of language to reflect changes made for RetryMonitor
[Tests] adjusted test cases of language to reflect changes made for RetryMonitor
No description provided.