Replies: 2 comments 1 reply
-
Hi @cv53, what eCAL version are you using and what OS? "ecal_rec" means the ecal recorder command line version, I assume. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, I double‑checked the eCAL 5.x Python API and, unfortunately, there isn’t a get_subscriber_count() (or equivalent) available to delay publishing until a subscriber connects. That call only appears in the new eCAL 6 Python bindings—using publisher.get_subscriber_count() there would let you wait for the desired number of subscribers before you start sending messages. while publisher.get_subscriber_count() == 0:
time.sleep(0.01)
# publish safely |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am making a publisher in python I observe 2 things
I have seen the code and notice the registration process but hard to understand what is happening on the subscription side that would cause the drop in initial messages
also is there a better way in handlng this and not just by a delay?
Beta Was this translation helpful? Give feedback.
All reactions