Comments (3)
Hi there!
Can you import the following requirements without error?
import numpy.lib.recfunctions as recfuncs
from sensor_msgs.msg import PointField
from sensor_msgs.msg import PointCloud2
from pypcd.
@DanielPollithy Hi I'm also facing the same problem and can also import above dependencies.
However, my traceback is different than above issue.!!
`
NotImplementedError Traceback (most recent call last)
Cell In[5], line 1
----> 1 pc = pypcd.PointCloud.from_msg(velodyne_data)
File ~/venv/lib/python3.8/site-packages/pypcd-0.1.3-py3.8.egg/pypcd/pypcd.py:807, in PointCloud.from_msg(msg, squeeze)
803 """ from pointcloud2 msg
804 squeeze: fix when clouds get 1 as first dim
805 """
806 if not HAS_SENSOR_MSGS:
--> 807 raise NotImplementedError('ROS sensor_msgs not found')
808 md = {'version': .7,
809 'fields': [],
810 'size': [],
(...)
816 'type': [],
817 'data': 'binary_compressed'}
818 for field in msg.fields:
NotImplementedError: ROS sensor_msgs not found
`
from pypcd.
Hey @RaviBeagle
Try the following script to extract the point cloud data
https://gist.github.com/Merwanski/bef218ff3b7472d5ac787e1392116fd7
from pypcd.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypcd.