Normal of pointcloud2

Hello,
I am a beginner un ros. I want to find the normal of my pointcloud2. Is there a class who do that un ros?

Thanks you un avance.

Hello,

I’m not experienced with PCL but to detect planes (for object recognition) I’ve used in the past: http://wiki.ros.org/tabletop_object_detector
But I don’t know if it will give you straight away the normals. I don’t remember what it returns, even tho you can see the planes in Rviz.

If you are also inexperienced in PCL and ROS, there is a GitHub repo with a nice writing and sample code on how to do stuff with PCL and ROS here: https://github.com/ritwik1993/pcl_495
And the PCL docs have an article about finding normals: http://pointclouds.org/documentation/tutorials/normal_estimation.php

Good luck.

Thank you for the answer.

The problem is I can’t install pcl for ROS. I hva eproperly install pcl 1.7 on ubuntu but it seems there is no pcl install on my ROS kinetic.
I made a ros kinetic full install and pcl is not there. How can I add it to my ros kinetic?

Taking a look at the wiki: http://wiki.ros.org/pcl_ros
I see it’s released for Kinetic, so:

sudo apt-get install ros-kinetic-pcl-ros

should work.

@xavier_BUHOT I see you’ve gotten some pointers here. However going forward I’d like to request that you follow our guidelines and ask questions on http://answers.ros.org . ROS Discourse is for news and general interest discussions.