Open betogulliver opened 2 years ago
I could fixed the problem above as follows :
numpy_pc2.py:134
before (NG) :
cloud_arr = np.fromstring(cloud_msg.data, dtype_list)
after (OK) :
cloud_arr = np.fromstring(cloud_msg.data.tobytes(), dtype_list)
Can you explain this script, what do you do here?
Im just looking for a snippet that makes pointcloud to bag file so I was wondering if you use pcd data and turn it to bag file here
I'm try to use 'pypcd' from ROS2 (colcon build passes with small modifications)
However I got the following error in 'numpy_pc2.py' (see below for details) when trying to run a simple ROS2 python file 'xxx.py' (included below)
I'm using the ascii/binary (not compressed) pcd data from here : https://drive.google.com/drive/folders/11PkiTw2ZXh1KaXzBlsjYgT4chPIcsOgJ
Any ideas what the problem could be? thanks in advance for any/all help.
run
file: xxx.py