Ask Your Question
0

Installing perception_pcl_unstable in ROS Electric on Ubuntu 11.10

asked 2013-09-10 06:39:04 -0500

schizzz8 gravatar image

updated 2013-09-10 23:20:26 -0500

Hi everybody, I need to install this stack for a university project: https://github.com/tum-vision/dvo/tree/electric#installation, and it is required to install perception_pcl_unstable. I googled it and found this link: http://svn.pointclouds.org/ros/trunk/perception_pcl_electric_unstable/ but it's no more active so I have really no idea on how to find and install this package. Pcl is already installed in my ROS environment but I guess it's an old version and it lacks some header files, for this reason "rosmake dvo_core" cannot commit. So I'd really appreciate if someone could point me out how to install that library or another version that might work seamlessly! Thanks for the attention!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-09-10 23:48:00 -0500

The pcl staff is moved from svn to GitHub. You are searching this: https://github.com/ros-perception/perception_pcl/tree/electric-unstable-devel

This is really old and I'm sure, the newest pcl version will not work without modifications. If you get any problems, you should take a look in https://github.com/ros-perception/perception_pcl/tree/fuerte-unstable-devel

edit flag offensive delete link more

Comments

Hi Michael, thanks for your reply! I'm quite new to ROS so I'm not familiar with the right procedure to get this software working. If I run: dede@dede-TW9-SW9:~/check$ git clone https://github.com/ros-perception/perception_pcl/tree/electric-unstable-devel I get this error: Cloning into electric-unstable-devel... fatal: https://github.com/ros-perception/perception_pcl/tree/electric-unstable-devel/info/refs not found: did you run git update-server-info on the server? I'd be very glad if you could tell me the right steps to install this library. Thanks in advance!

schizzz8 gravatar image schizzz8  ( 2013-09-11 00:02:23 -0500 )edit

use: git clone https://github.com/ros-perception/perception_pcl.git -b electric-unstable-devel

MichaelKorn gravatar image MichaelKorn  ( 2013-09-11 01:24:12 -0500 )edit
0

answered 2013-09-11 22:04:33 -0500

schizzz8 gravatar image

updated 2013-09-11 22:53:53 -0500

Thank you very much for your disposability, with that command I downloaded the code then I moved it in the sandbox directory and ran "rosmake perception_pcl". The problem now is this

...fatal error: sensor_msgs/PointField.h: File o directory non esistente...

I have a PointField.h file that is:

/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include/sensor_msgs/PointField.h

but if I include this file instead of the previous one I get other strange errors, I searched also on google but with poor results. So if you don't mind I would ask you some hint on this very noob question :) Thanks!

edit:

maybe I'm doing something wrong but the complete error I get is:

In file included from /home/dede/ros_workspace/sandbox/perception_pcl/pcl/build/pcl_trunk/common/include/pcl/ros/register_point_struct.h:55:0,

from /home/dede/ros_workspace/sandbox/perception_pcl/pcl/build/pcl_trunk/common/include/pcl/point_types.h:44,

from /home/dede/ros_workspace/sandbox/perception_pcl/pcl/build/pcl_trunk/common/src/point_types.cpp:37:

/home/dede/ros_workspace/sandbox/perception_pcl/pcl/build/pcl_trunk/common/include/pcl/point_traits.h:48:36: fatal error: sensor_msgs/PointField.h: File o directory non esistente

compilation terminated.

so in point_traits.h I changed #include <sensor_msgs/FieldPoint.h> with

#include "/opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include/sensor_msgs/PointField.h"

but with no results, what should I do instead?

edit flag offensive delete link more

Comments

Sorry, I'm no longer using electric or fuerte or rosmake. Maybe you should compare the Makefile with https://github.com/ros-perception/perception_pcl/blob/fuerte-unstable-devel/pcl17/Makefile and you should find out why /opt/ros/electric/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include/ isn't use.

MichaelKorn gravatar image MichaelKorn  ( 2013-09-11 22:41:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-09-10 06:39:04 -0500

Seen: 235 times

Last updated: Sep 11 '13