[quote="firesurfer, post:3, topic:1391"]
As far as I can see every node creates some topics for interacting with a parameter server by default. Can I somehow disable this behaviour ?
[/quote]
Not currently. Right now this publisher is always created:
https://github.com/ros2/rclcpp/blob/master/rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp#L40-L45
We've often talked about adding an option to the node constructor which would avoid this, but we've always stopped short because we wanted to implement a proper way to pass lots of options to a node constructor other than lots of arguments, i.e. some sort of rclcpp specific node options struct.
However, if you proposed a new argument to the node constructor which disabled this topic, then I'd consider it for merge in the meantime.
[quote="firesurfer, post:3, topic:1391"]
I also have another implementation specific question: Is it possible to have a subscription call multiple callbacks?
[/quote]
Not right now, but we also would like to do that at some point. You can implement it trivially though, by creating a single callback for the subscription which then iterates over a list of callbacks, calling each in turn.
We thought about multiple callbacks for single subscriber in the context of multi threading and executors and callback groups but that's quite a bit more complicated and needs some more thought I think.
---
[Visit Topic](
https://discourse.ros.org/t/maximum-amount-of-publisher-subscriptions-per-node/1391/4) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>