A python3 version for pypcd, and it also can load the binary version of PCD #35
A python3 version for pypcd, and it also can load the binary version of PCD #35climbingdaily wants to merge 4 commits intodimatura:masterfrom
Conversation
Also, it can load the binary version for PCD successfully.
…binaryPCD A revised version for python3
|
I checked your changes. It seems not to work correctly. On Python 2.x it behaves as expected. But in case of writing binary PCD files from a PointCloud2 message on Python 3.8 it still produced corrupted pcd files. It seems that the binary conversion of the numpy array behaves differently between Python 2 and 3. But I could not identify the root cause yet. |
|
I found a solution for that. By combining the following two pull request, the issue is solved.
I hope they will be merged some time. Nevertheless, I have a local version which works at least for my use cases. Regards |
Hi Sven, the code works correctly with numpy 1.20.3 environment on my computer. When using it, I just copy the pypcd.py and import it as pypcd. |
No description provided.