seeking clarity on ros::SingleSubscriberPublisher class

asked 2021-04-06 14:20:48 -0500

I recently came across 'ros::SingleSubscriberPubliser' class. The documentation describes it as 'Allows publication of a message to a single subscriber. Only available inside subscriber connection callbacks'.

What does 'subscriber connection callbacks' mean?

Also, when does it make sense to use this class?

edit retag flag offensive close merge delete