message_filters for Array of topic
Hi there!
I am wondering if anyone have ever tried to create a vectorised version of the example provided here message_filters (7.3 ApproximateTime Policy).
In short what I am trying to do is to synchronise a list of topics defined in a launch file.
In my current implementation I have a vector of topics (in my case of sensor_msgs::LaserScan type) and currently I have a subscriber function inside e FOR loop, but this seems to me not optimal and it also does not allow me to ensure a synchronisation between the messages coming from the topics.
Thanks! in advance
Did anyone solve this issue?