BehaviorTree.ROS2 icon indicating copy to clipboard operation
BehaviorTree.ROS2 copied to clipboard

Allow override of QoS for RosTopicSubNode and RosTopicPubNode

Open PymZoR opened this issue 2 years ago • 1 comments

Users should have a mechanism to override QoS when subscribing / publishing for topics. @facontidavide would you prefer this to be done over the blackboard, at compilation time in the derived class, or allowing both (like for the topic name ?)

I have a local version at compile time, but since the subscriber / publisher are created in the constructor, I had to move the initialization part in a public function that take an rclcpp::QoS parameter. This add a bit of boilerplate, as the end user has to call this function in the constructor of it's derived class. If this seems sufficient to you, I can create a PR.

Thanks for this amazing library, Cheers

PymZoR avatar May 27 '23 20:05 PymZoR

Any update on this?

GregoryLeMasurier avatar Apr 10 '24 21:04 GregoryLeMasurier