Decompression of binary_compressed pcd files is handled by the python-lzf library.
Currently this is a dependency that needs to be installed on the users system, but there is a pip based dependency management system build into blender that can be used instead.
This pull-request also adds some basic loading tests (with test pointclouds). These can be executed by running pytest from within the test directory.
Still to do:
[x] Adapt original plugin to handle new dictionary of results which are now being returned from loading pcd_file (a dictionary is now returned from load_pcd_file() - containing points and fields. points are tuples that also include any custom field data. fields are the field names)
[x] Enable python-lzf dependency installation inside of Blender
This pull request addresses #2
Decompression of binary_compressed pcd files is handled by the python-lzf library. Currently this is a dependency that needs to be installed on the users system, but there is a pip based dependency management system build into blender that can be used instead.
This pull-request also adds some basic loading tests (with test pointclouds). These can be executed by running
pytest
from within thetest
directory.Still to do:
load_pcd_file()
- containingpoints
andfields
.points
are tuples that also include any custom field data.fields
are the field names)