New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples for how to use Open3D with PCL library and ROS #414
Comments
The current I/O supports .pcd format which is the primary format used by PCL. See this: http://www.open3d.org/docs/tutorial/Basic/file_io.html I don't have much experience with ROS though. This is a known issue that Open3D does not have interface with ROS. We are planning to address it. It is on our roadmap. |
Thanks |
I've managed to convert the point cloud by writing and reading from /dev/shm which is a file stored in RAM. Its probably not the best way, but it works.
This conversion takes about 244 ms on my i7-8700 at 4.3Ghz |
@airfield20 did you successfully build ROS + open3d together? Without the |
@finger563 I did not build them together, I installed Open3D separately before building my catkin workspace |
@airfield20 that's what we've done as well. However, if we add open3d as a dependency to one of our ROS packages, then we get incomplete linking - certain functions like |
Nevermind - we just had to rebuild Open3D and explicitly set that flag when generating build files with cmake - the default turned that flag to 0, but open3d works fine and integrates with ROS just fine if we set that flag to 1. |
@finger563 how are you rendering ros messages using it? |
We've got some code which projects a depth + rgb image ( |
I also tried to install Open3D with ROS few weeks ago but was not successful. I remember that there are conflicts of Open3D and ROS dependencies, that lead to |
@ipa-mah yea to get around those undefined references during linking, you need to ensure when you compile Open3D from source that you set the cmake build flag -DGLIBCXX_USE_CXX11_ABI=ON e.g. cmake -DBUILD_EIGEN3=ON -DBUILD_GLEW=ON -DBUILD_GLFW=ON -DBUILD_JSONCPP=ON -DBUILD_PNG=ON -DGLIBCXX_USE_CXX11_ABI=ON -DPYTHON_EXECUTABLE=/usr/bin/python .. This will allow everything to compile and link properly in a catkin workspace with ROS |
We just released |
I’ve got the same issue, have you resolved it? |
Same issue here. |
Hi,
I would like to know how to use Open3D with PCL library and ROS. Can anyone has an example how to convert to point cloud pcl or mesh pcl from data structure of Open3D ?
Thank you
The text was updated successfully, but these errors were encountered: