-
Notifications
You must be signed in to change notification settings - Fork 16
Add new OPAL-RT Orchestra node-type #923
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
Conversation
| return *reinterpret_cast<const double *>(orchestraData); | ||
|
|
||
| default: | ||
| throw RuntimeError("Orchestra signal type {} is not supported", |
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.
Avoid exception
14c5307 to
8f323f8
Compare
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.
Hi, nice work. I added some minor comments since I am not yet that familiar with code reviews.
General question: I assume the tests are following in the next PR?
3989418 to
d7d2e08
Compare
|
Hi @al3xa23,
Good point. I dont think we can test this node-type via an integration test unfortunately, as it depends on an Orchestra framework which is provided by an OPAL-RT real-time simulation model. As this is closed-source software, we can not simply include it into our CI tests. Do you think this qualifies for an exception? |
|
Ah okay, I understand. It is fine from my side :) |
|
Would be interesting to know what the license states specifically. Can we even publish this as open source? If yes, then at least the header needs to be open source as well, right? Or is there some clause specifying terms for use as a library? |
The libOpalOrchestra library and its header which are not licensed under an open-source license. This contribution includes neither the library itself or its header. It merely uses it by dynamically linking against it. I do not see an issue here as we are licensing the node-type itself (this contribution) under a permissive OSS license (Apache-2.0). |
5ad58b6 to
e6b015a
Compare
|
@n-eiling I have addressed most your comments. I only kept using exceptions for now. Which is something I would like to reconsider and also discuss among other contributors (@pjungkamp, @windrad6). Are you fine with the changes so far (ignoring the exceptions for now)? |
|
@al3xa23 Would you mind doing another round of review, and/or approving the PR if you are fine with it? |
|
Just a small nitpick from my side. You're using I'd prefer to see at least a The tree structure of |
|
And another nitpick. Please don't use exampleclass SomeItem {
private:
std::string some_string;
public:
explicit SomeItem(std::string some_string) : some_string(std::move(some_string)) {}
} |
78e2259 to
73d36c9
Compare
73d36c9 to
12b3271
Compare
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]> Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
… for absent indices Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
12b3271 to
a996757
Compare
…g duration Signed-off-by: Steffen Vogel <[email protected]>
…configuration Signed-off-by: Steffen Vogel <[email protected]>
This is required as the standard builds of VILLASnode does not include support for the opal.orchestra node-type Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
This PR is adding a new node-type for improving the interface between VILLASnode and OPAL-RT software platforms using OPAL-RT Orchestra Co-simulation framework.
We are using this new node-type both in the ENSURE and SEGuRo projects.
See: