Hi @DanielPollithy
I am using your python pypcd package as per your suggestion in the tutorial.
But I am getting this error:
[ERROR] [1655964681.574969]: bad callback: <bound method Subscriber.callback of <message_filters.Subscriber object at 0x7f16ddc51760>>
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 76, in callback
self.signalMessage(msg)
File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 58, in signalMessage
cb(*(msg + args))
File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 330, in add
self.signalMessage(*msgs)
File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 58, in signalMessage
cb(*(msg + args))
File "/home/sxv1kor/rospy_tutorial_ws/src/message_synchrozier/src/rosBagMessageSynchronizer.py", line 57, in callback
pc = pypcd.PointCloud.from_msg(pointcloud)
File "/home/sxv1kor/.local/lib/python3.8/site-packages/pypcd/pypcd.py", line 807, in from_msg
raise NotImplementedError('ROS sensor_msgs not found')
NotImplementedError: ROS sensor_msgs not found
This should not happen as the numpy_pc2 is alredy there:
ll
total 84
drwxrwxr-x 3 sxv1kor sxv1kor 4096 Jun 23 10:47 ./
drwx------ 74 sxv1kor sxv1kor 4096 Jun 23 10:47 ../
-rw-rw-r-- 1 sxv1kor sxv1kor 43 Jun 23 10:47 __init__.py
-rw-rw-r-- 1 sxv1kor sxv1kor 10113 Jun 23 10:47 nea_pc_format.py
-rw-rw-r-- 1 sxv1kor sxv1kor 13802 Jun 23 10:47 numpy_pc2.py
-rw-rw-r-- 1 sxv1kor sxv1kor 1133 Jun 23 10:47 pdutil.py
drwxrwxr-x 2 sxv1kor sxv1kor 4096 Jun 23 10:47 __pycache__/
-rw-rw-r-- 1 sxv1kor sxv1kor 28920 Jun 23 10:47 pypcd.py
-rw-rw-r-- 1 sxv1kor sxv1kor 2506 Jun 23 10:47 sautil.py
Hi @DanielPollithy
I am using your python pypcd package as per your suggestion in the tutorial.
But I am getting this error:
[ERROR] [1655964681.574969]: bad callback: <bound method Subscriber.callback of <message_filters.Subscriber object at 0x7f16ddc51760>> Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 76, in callback self.signalMessage(msg) File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 58, in signalMessage cb(*(msg + args)) File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 330, in add self.signalMessage(*msgs) File "/opt/ros/noetic/lib/python3/dist-packages/message_filters/__init__.py", line 58, in signalMessage cb(*(msg + args)) File "/home/sxv1kor/rospy_tutorial_ws/src/message_synchrozier/src/rosBagMessageSynchronizer.py", line 57, in callback pc = pypcd.PointCloud.from_msg(pointcloud) File "/home/sxv1kor/.local/lib/python3.8/site-packages/pypcd/pypcd.py", line 807, in from_msg raise NotImplementedError('ROS sensor_msgs not found') NotImplementedError: ROS sensor_msgs not foundThis should not happen as the numpy_pc2 is alredy there: