install perception pcl
Hellow,
I'm trying to install the package here perception_pcl to use the object recognition of pcl in ros Groovy. For now I have pcl installed in groovy (pcl 1.6) and I can't figure how to install this repo in my catkin workspace.
I tried cloning it and then catkin_make or cmake then make pcl then catkin_make while isolating the pcl folder but I have tons of dependency error then.
Can someone give me a "how to do it" explanation please ? There is no README so I'm lost ><
I tried follow this link as well but there is no cmake_find_ros anymore...
For example I just ran catkin_make after downloading the package and I have that kind of errors :
In file included from /home/ros/catkin_ws/src/perception_pcl-groovy-unstable-devel/pcl_ros/src/pcl_ros/features/feature.cpp:51:0:
/home/ros/catkin_ws/src/perception_pcl-groovy-unstable-devel/pcl_ros/include/pcl_ros/features/feature.h:43:35: erreur fatale: pcl_msgs/PointIndices.h : Aucun fichier ou dossier de ce type
compilation terminée.
In file included from /home/ros/catkin_ws/src/perception_pcl-groovy-unstable-devel/pcl_ros/tools/pcd_to_pointcloud.cpp:53:0:
/home/ros/catkin_ws/src/perception
_pcl-groovy-unstable-devel/pcl_ros/include/pcl_ros/publisher.h:50:29: erreur fatale: pcl/conversions.h : Aucun fichier ou dossier de ce type
compilation terminée.
Here is the output of dkpg -l |grep perception
ros@ros-K56CM:~$ dpkg -l |grep perception
ii ros-groovy-perception 1.0.0-s1391975666~precise Meta package for perception variant of ROS.
ii ros-groovy-perception-pcl 1.0.36-0precise-20131016-0534-+0000 PCL (Point Cloud Library) ROS interface stack. PCL-ROS is the preferred bridge for 3D applications involving n-D Point Clouds and 3D geometry processing in ROS.
Here are my includes in my program :
#include <pcl/recognition/cg/hough_3d.h>
#include <pcl/recognition/cg/geometric_consistency.h>
And here is the output of catkin_make :
ros@ros-K56CM:~/catkin_ws$ catkin_make --pkg stalker
Base path: /home/ros/catkin_ws
Source space: /home/ros/catkin_ws/src
Build space: /home/ros/catkin_ws/build
Devel space: /home/ros/catkin_ws/devel
Install space: /home/ros/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/ros/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/ros/catkin_ws/build/Tobot/stalker"
####
[ 20%] Built target basic
[ 20%] Built target gui
[ 20%] [ 40%] Building CXX object Tobot/stalker/CMakeFiles/3Dreckon.dir/include/stalker/reckon_pipeline/Main.cpp.o
Building CXX object Tobot/stalker/CMakeFiles/3Dreckon.dir/include/stalker/reckon_pipeline/CorrespGrouping.cpp.o
In file included from /home/ros/catkin_ws/src/Tobot/stalker/include/stalker/reckon_pipeline/Main.hpp:9:0,
from /home/ros/catkin_ws/src/Tobot/stalker/include/stalker/reckon_pipeline/Main.cpp:1:
/home/ros/catkin_ws/src/Tobot/stalker/include/stalker/reckon_pipeline/CorrespGrouping.hpp:8:41: erreur fatale: pcl/recognition/cg/hough_3d.h : Aucun fichier ou dossier de ce type
compilation terminée.
In file included from /home/ros/catkin_ws/src/Tobot/stalker/include/stalker/reckon_pipeline/CorrespGrouping.cpp:1:0:
/home/ros/catkin_ws/src/Tobot/stalker/include/stalker/reckon_pipeline/CorrespGrouping.hpp:8:41: erreur fatale: pcl/recognition/cg/hough_3d.h : Aucun fichier ou dossier de ce type
compilation terminée.
make[2]: *** [Tobot/stalker/CMakeFiles/3Dreckon.dir/include/stalker ...
Are you on Ubuntu? Have you tried installing perception-pcl from debs?
I'm on Ubuntu. I have perception-pcl install from the debs. But when I try to use pcl/recognition/Something.h there is no such file. I'm going to add some information to the question.
Can you add your `package.xml` and `CMakeLists.txt`?