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

Make example showing how "...on_change" works on pubs and subs #116

Open
trevorhardy opened this issue Jan 2, 2025 · 0 comments
Open

Make example showing how "...on_change" works on pubs and subs #116

trevorhardy opened this issue Jan 2, 2025 · 0 comments
Labels
documentation Need to add documentation to an existing example new example New example needed

Comments

@trevorhardy
Copy link
Contributor

HELICS supports not publishing or receiving a value interface update unless it deviates a certain amount from a previous value. For example, you can configure a publication to only publish a new value when it is 0.1 more than the last published value. Similarly, you can configure a subscription or input to only notify the federate of the received value if it is, say, 0.5 more than the last received value. We need an example showing how to set this up and use these configurations. The configuration names are "only_transmit_on_change" (for publication), "only_update_on_change" (for subscriptions) with both needing the "tolerance" value also defined.

@trevorhardy trevorhardy added documentation Need to add documentation to an existing example new example New example needed labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Need to add documentation to an existing example new example New example needed
Projects
None yet
Development

No branches or pull requests

1 participant