felixchenfy / open3d_ros_pointcloud_conversion

2 Python API functions for point cloud conversion between Open3D and ROS. Compatible for XYZ and XYZRGB point type.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No longer works with open3d 0.9

airfield20 opened this issue · comments

In 0.9 open3d function calls are grouped into categories.
Simply changing all similar occurrences of open3d.read_point_cloud(...) to open3d.io.read_point_cloud(...) fixed the syntax issue. When running the tests, an empty cloud is being published, so the conversions do not work.

I am using Ubuntu 18 on ROS Melodic with open3d 0.9.

Edit: Relevant Error message:

Traceback (most recent call last):
  File "/home/aaron/bedestrian_ws/src/open3d_ros_pointcloud_conversion/lib_cloud_conversion_between_Open3D_and_ROS.py", line 120, in <module>
    open3d_cloud = open3d.read_point_cloud(filename)
AttributeError: 'module' object has no attribute 'read_point_cloud'

you can easily port that. But there are still problems regarding colors within point clouds...
maybe i figure it out and do a pullrequest

I'm no longer working with open3d

what library are using now?