-
Notifications
You must be signed in to change notification settings - Fork 61
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
Implement a RAPID module builder/generator class #30
Comments
Would it perhaps be an idea to host such utility classes in a different package / library? Generating RAPID code is not necessarily something that one would think of as being part of the responsibility of this library (ie: |
My main idea is to implement an abstract class (with some required methods), which can be passed to and handled by the upcoming RWSStateMachineInterface class. The actual implementation of the code generation could then for example be made in other packages. |
Hi @jontje thanks for this library! I am wondering what the sequence of calls would look like for running a custom RAPID module as you hint at here, since the current support from the state machine interface is fairly limited. Is modifying the RAPID code for the StateMachine Addin required for this? Right now, I am executing the following steps:
|
I'm not sure, but I don't think so; it seems to me like both of those load programs/modules into the task, but the enclosed routines still need to be called somehow? It seems like |
Ah actually it seems like the |
A RAPID module builder/generator would be quite useful. This could for example be used to execute a path in RAPID code.
Example:
From a vector of abb:rws::JointTarget elements, and some additional specifications, it is straight forward to generate a RAPID module like this:
RWS can then be used to transfer the module to the controller, load it into a RAPID task, and then request the execution of the path.
The class could also be expanded to generate other types of modules (e.g. Cartesian motions, or a specific process including control of a tool, etc.).
The text was updated successfully, but these errors were encountered: