the same msg type of multiple topic names can use only one callback on ros2?
Hello,
I have /camera_1
, /camera_2
, /camera_3
and /camera_4
which are published by 4 client nodes. The 4 topics process are all the same (save received msg into one buffer variable ). Could I bind only one callback to 4 rclcpp::Subscription
objects? Thanks for your help a lot!