ROS2 Equivalent for AdvertiseOptions
I am porting a ROS1 gazebo plugin that uses AdvertiseOptions to ROS2, but I don't know if there is any equivalent in ROS2. I found something called PublisherOptions. However, its API is very different from AdvertiseOptions. Is there some way I can set connect_cb and disconnect_cb in ROS2?