You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @nullbyto! This is expected, as the publisher is the only one responsible for setting the reliability.
Hi, thanks for your reply, i get the same when setting the PublisherOptions:
error: ‘struct zenoh::Session::PublisherOptions’ has no member named ‘reliability’
27 | p_ops_.reliability = zenoh::Reliability::Z_RELIABILITY_BEST_EFFORT;
Oh, you need to build zenoh-c with unstable feature so that you can configure the QoS. Check here to learn how to build zenoh-c and then rebuild the zenoh-cpp. 🙂
Describe the bug
I am not able to set the reliability of the publisher or subscriber. I define
, when I try to set the reliability I get the error message:
even in the docs reliability should be a field.
I have tried to:
then the project fails due to many other errors:
I am not sure if there is another way to set the reliability of publishers and subscribers, or if I am doing something wrong.
To reproduce
System info
Edit
Corrected the error description from
SubscriberOptions
toPublisherOptions
, sinceSubscriberOptions
has actually noreliability
field.The text was updated successfully, but these errors were encountered: