-
Notifications
You must be signed in to change notification settings - Fork 5
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
Publish rate throttled to 1hz #1
Comments
Hi @rokel, That's true, the underlying OPC UA Client doesn't have an event-driven main loop or its own thread, so we must call periodically We chose a default value of 1000ms, which may be too slow as a default value -- we can look into that. In any case, we should definitely provide an option to configure run_async_timeout via XML. The plumbing for such configuration parameter is almost there, let me take a look at it'll create a PR with the new configuration parameter. Would this work for you? |
Thank you for the prompt response and explanation, that makes sense. Yes, a configuration parameter to set this would certainly solve the issue for us. |
When using the OPC-UA -> DDS route, the publish rate of the gateway seems to be throttled to 1Hz, regardless of the
publishing_interval
set for any subscription.As far as I can tell this is due to this hard-coded parameter:
https://github.com/rticommunity/rticonnextdds-gateway-opcua/blob/master/src/opcUaSdk/OpcUaSdkClientProperty.hpp#L28
Changing e.g. to 10ms it seems to fix the issue. Is this intended behaviour?
The text was updated successfully, but these errors were encountered: