Skip to content
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

feat!: Reimplement simple subscriber as oop #31

Merged
merged 6 commits into from
Jul 30, 2024

Conversation

AiyionPrime
Copy link
Member

No description provided.

@AiyionPrime AiyionPrime force-pushed the feat/simple-subscriber-oop branch from 7161e6d to a108151 Compare July 30, 2024 08:39
@AiyionPrime AiyionPrime added the rebase Merge this PR with rebase strategy label Jul 30, 2024
@AiyionPrime AiyionPrime changed the title Feat/simple subscriber oop feat!: Reimplement simple subscriber as oop Jul 30, 2024
@AiyionPrime AiyionPrime marked this pull request as ready for review July 30, 2024 09:01
@philipp-caspers
Copy link
Member

philipp-caspers commented Jul 30, 2024

The commits should reflect whether they are about the OPC UA side or the ROS side of the bridge.
For example feat: Implement SimpleSubscriber is too ambiguous imho.
Maybe we should use feat(opc_ua): ... and feat(ros): ... in such cases?

@philipp-caspers
Copy link
Member

I do not understand the first commit message. Feels like something is missing.

src/simple_opc_ua_subscriber.rs Outdated Show resolved Hide resolved
an object oriented variant of the simplistic subscriber already in place,
which features a vastly reduced interface for easier use.

Use this in launch_subscriber to avoid duplication.
in favor of the oop variant and use the latter in main.
which was MonitoredItem before. This should help to ease Implementation of callbacks without deeper knowledge of the OPC UA crate.
in favor of an OPC UA subscription callback invocation with 'static lifetime.
@AiyionPrime AiyionPrime force-pushed the feat/simple-subscriber-oop branch from a108151 to a754672 Compare July 30, 2024 12:52
@AiyionPrime AiyionPrime merged commit a384c98 into main Jul 30, 2024
5 checks passed
@AiyionPrime AiyionPrime deleted the feat/simple-subscriber-oop branch July 30, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rebase Merge this PR with rebase strategy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants