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

Frank/metadata propagation #164

Merged
merged 6 commits into from
Mar 8, 2024
Merged

Conversation

frankosterfeld
Copy link
Contributor

@frankosterfeld frankosterfeld commented Feb 23, 2024

Adapt to latest graph-prototype:

  • Use delay in test block to receive all data.
  • Use messages for scheduler control/communication in GnuRadioWorker (simplifies the service<->scheduler thread interaction).

Expand tests to ensure that metadata configured at the GR sources (in GRC) make it to the data sink and from there to the REST client.

The automatic forwarding uses the shortKey (e.g. "signal_name") instead
of they key ("key::signal_name").
This can now be achieved with gr::testing::Delay.
As the sinks now register themselves only when started, we need an
initial delay in processing to get all data in the test listener.
Use gr::testing::Delay for that.

That also removes the need for the workaround for sinks being mixed
up in simultaneously existing gr::Graphs. That's fine now, as long
only one graph is executed by a scheduler, at a time.

To force-stop the scheduler, use message ports instead of polling
isProcessing.
Copy link
Member

@RalphSteinhagen RalphSteinhagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@RalphSteinhagen RalphSteinhagen merged commit 7f581cf into main Mar 8, 2024
9 checks passed
@RalphSteinhagen RalphSteinhagen deleted the frank/metadata-propagation branch March 8, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants