Code Monkey home page Code Monkey logo

Comments (3)

DanielPollithy avatar DanielPollithy commented on September 14, 2024

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.

AbhiKhoyani avatar AbhiKhoyani commented on September 14, 2024

@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.

Merwanski avatar Merwanski commented on September 14, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.