Using the ParticipantBuiltinTopicDataDataReader, I've managed to get notifcations for whenever a participant joins a domain, or leaves gracefully(i.e, shutdowns).
Is there a way to get noitfied when a participant drops unexpectently? I.e. network damage or application crashing?
I have automatic liveliness turned on in the qos settings and I've set the heartbeat period to three seconds. I've also overriden the on_liveliness_changed method, although this never gets called.
Hello,
did you set the right mask when you create the participant? The on_liveliness_changed should be called..
For more info check this forum post
Let me know if this solves your problem!
Cheers,
Gianpiero