marcoesposito1988 / open3d_conversions Goto Github PK
View Code? Open in Web Editor NEWConversions between ROS messages and Open3D point clouds
License: GNU Lesser General Public License v2.1
Conversions between ROS messages and Open3D point clouds
License: GNU Lesser General Public License v2.1
Hi, I'm getting this error when trying to convert data from a subscribed pointcloud2 stream.
This happens despite the code being extremely similar to the example code.
import rospy
import open3d_conversions
from sensor_msgs.msg import PointCloud2
current_cloud = None
def parse_msg(pc_msg):
global current_cloud
current_cloud = pc_msg
rospy.init_node('myListener', anonymous=True, disable_signals=True)
rate=rospy.Rate(1)
rospy.Subscriber("/cloud_registered", PointCloud2, parse_msg, queue_size=1)
while not rospy.is_shutdown():
if current_cloud is None:
continue
o3d_cloud = open3d_conversions.from_msg(current_cloud)
# do open3d things
# ...
current_cloud = None
rate.sleep()
Tech specs:
OS: Ubuntu Linux 20.04
ROS: ROS Noetic
Python: Python 3.8.10
Numpy: 1.24.3
I already had to downgrade my numpy version because it was incompatible with the open3d_conversions library. Any help would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.