ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to process PointCloud2 message data in python?

asked 2017-02-23 12:52:10 -0600

Joy16 gravatar image

I am trying to save a pointcloud data using python. Bu I haven't been able to import pcl. I am no sure if my installation in correct as I keep getting this error : ImportError: No module named pcl

How do I save the point cloud data using python

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-23 13:20:29 -0600

gvdhoorn gravatar image

There is no (official) pcl package for Python afaik, so that won't work. You can try and see whether strawlab/python-pcl can do what you want, but it appears not to have been kept up-to-date with PCL.

edit flag offensive delete link more

Comments

Thank you @gvdhoorn for your reply. Can you please tell me how to install python-pcl from strawlab. I did a git clone from their repo to my working directory. I then in my py script said , "import pcl", it wouldn't wok giving the error mentioned above in my question.

Thanks!

Joy16 gravatar image Joy16  ( 2017-02-23 13:57:24 -0600 )edit

That is really more of a Python question than a ROS one. Check whether Installing Packages - Installing from a local src tree helps.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-23 14:48:37 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-23 12:52:10 -0600

Seen: 1,144 times

Last updated: Feb 23 '17