ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I recently run into the same problem on an Ubuntu 18.04 LTS machine with ROS Melodic. We managed to solve the issue thanks to this closed thread in the ros_comm Github thread. The quickest fix is for you to locate the /opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py file in your system and change the problematic line as follows:

for vv in itertools.product([zip(s)[0] for s in stamps]):

for vv in itertools.product([next(iter(zip(s))) for s in stamps]):

as done in [627b5af] commit to ros_comm.

I am almost one year late but leaving my answer here hoping that it will be helpful to someone in the future.

I recently run into the same problem on an Ubuntu 18.04 LTS machine with ROS Melodic. We managed to solve the issue thanks to this closed thread in the ros_comm Github thread. The quickest fix is for you to locate the /opt/ros/kinetic/lib/python2.7/dist-packages/message_filters/__init__.py file in your system and change the problematic line as follows:

for vv in itertools.product([zip(s)[0] for s in stamps]):

for vv in itertools.product([next(iter(zip(s))) for s in stamps]):

as done in [627b5af] commit to ros_comm. .