Ask Your Question
3

Updating to PCL 1.7 in ROS Fuerte

asked 2012-09-30 10:56:51 -0500

ncr7 gravatar image

updated 2012-09-30 10:57:23 -0500

I've been working to install the latest version of PCL 1.7 in ROS so I can run the correspondence tutorial here

I've tried installing the latest version 1.6 using, apt-get install ros-fuerte-perception-pcl-fuerte-unstable

Although, this is just an update to PCL 1.6 which doesn't have the necessary header file board.h along with a few others.

I saw a similar post at this forum posting. But it looks as though the svn link has expired for pcl-trunk that was references,

svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_fuerte_unstable/

Any ideas on how to do this would be greatly appreciated.

Thanks!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2013-01-09 00:30:01 -0500

I created http://www.ros.org/wiki/pcl17 with some further information.

edit flag offensive delete link more

Comments

Hi followed your tutorial but while checking out with svn i got this error areeb@ubuntu:~$ sudo svn co https://github.com/PointCloudLibrary/pcl C pcl/tags svn: Directory 'pcl/trunk' is missing svn: Directory 'pcl/trunk' is missing Please Help me thanx

Areeb gravatar image Areeb  ( 2013-08-02 03:07:02 -0500 )edit
1

this is a git repository, not svn, but you can find the right command on that wiki page: git clone https://github.com/ros-perception/perception_pcl.git -b fuerte-unstable-devel fuerte-unstable-devel

MichaelKorn gravatar image MichaelKorn  ( 2013-08-02 03:37:21 -0500 )edit

its giving this error now.. "/pcl_trunk" does not appear to contain CMakeLists.txt". I have checked it manually and yes its not present.. I am building pcl17 btw... Thanx and the full path is like this " "/home/areeb/fuerte-unstable-devel/pcl17/build/pcl_trunk""

Areeb gravatar image Areeb  ( 2013-08-03 00:46:50 -0500 )edit

I just tested the script, it works fine. You should completely delete the folder fuerte-unstable-devel. Then try it again. First "git clone https://github.com/ros-perception/perception_pcl.git -b fuerte-unstable-devel fuerte-unstable-devel", then "rosmake pcl17".

MichaelKorn gravatar image MichaelKorn  ( 2013-08-04 23:14:26 -0500 )edit

Thanks. I have successfully configured it. Now i am trying to run a tutorial of main_ground_base_people_detection but ended with error "The type 'pcl17::visualization::PointCloudColorHandler' must implement the inherited pure virtual method 'pcl17::visualization::PointCloudColorHandler::getColor' "

Areeb gravatar image Areeb  ( 2013-08-05 05:32:54 -0500 )edit

any idea? by the way thanks alot for your help. Bless you =)

Areeb gravatar image Areeb  ( 2013-08-05 05:33:31 -0500 )edit
1

Maybe you can find help here: http://www.pcl-users.org/

MichaelKorn gravatar image MichaelKorn  ( 2013-08-05 23:01:41 -0500 )edit

@Areeb im working exactly in the same thing im getting problems with the pcl17 and i want to run to same tutorial did you make it work after all? I would really appreciate any help

ctguell gravatar image ctguell  ( 2013-09-24 03:25:17 -0500 )edit
3

answered 2012-10-02 12:59:41 -0500

ncr7 gravatar image

updated 2012-10-02 13:00:02 -0500

Ok, I believe I figured out the update for using pcl17.

change directories to your ROS_PACAKGE_PATH roscd then use,

svn co http://svn.pointclouds.org/ros/branches/fuerte/perception_pcl_unstable/pcl17

svn co http://svn.pointclouds.org/ros/branches/fuerte/perception_pcl_unstable/pcl17_ros

once you have these checked out change folders and do rosmake on each pcl17 and pcl17_ros. Side note, it took a while to run rosmake on pcl17 so make sure you give it enough time.

If you are planning to use these in your package for say a pcl tutorial you have to change your 'manifest.xml' from,

<depend package="pcl"/> <depend package="pcl_ros"/>

to,

<depend package="pcl17"/> <depend package="pcl17_ros"/>

Once you've done this make sure to update your references to pcl:: in your project to pcl17::

I am still working on getting the correspondence tutorial to work, but I have been getting solutions to errors here

edit flag offensive delete link more

Comments

a patch has been pushed in a recent version of ROS pcl 1.7 package. So the above method should work for anyone trying to install pcl 1.7, I have finally been able to get the correspondence tutorial to work! :u)

ncr7 gravatar image ncr7  ( 2012-10-10 07:11:10 -0500 )edit

I try you're version and come back if it works. The other suggestions did not work for me. So compiling from source and installing that one. (The ones mentioned under this post. Also the documentation is a bit less in case an error happens)

ZsurzsaLaszlo gravatar image ZsurzsaLaszlo  ( 2013-06-24 01:36:02 -0500 )edit

I could compile the package but I could not yet link it to another project. Maybe some suggestions? In the cmake file everything works fine.

ZsurzsaLaszlo gravatar image ZsurzsaLaszlo  ( 2013-06-25 03:50:15 -0500 )edit

Linking the libraries: target_link_libraries(minitof_listener pcl17_features pcl17_io pcl17_2d pcl17_people pcl17_kdtree pcl17_registration pcl17_recognition pcl17_tracking pcl17_stereo pcl17_filters pcl17_common pcl17_visualization pcl17_octree pcl17_sample_consensus ... etc. )

ZsurzsaLaszlo gravatar image ZsurzsaLaszlo  ( 2013-06-25 03:51:27 -0500 )edit

@ncr7 run rosmake on pcl17 is taking for ever more than 3000 s is this normal?? how long should it take?

ctguell gravatar image ctguell  ( 2013-09-24 04:51:20 -0500 )edit

Yes, it takes awhile to build.

ncr7 gravatar image ncr7  ( 2013-09-24 12:23:28 -0500 )edit

It depends on your configuration and your computer. 50 minutes can be ok. A typical mistake is to use too many job if you don't have enough memory and the swap muss be used.

MichaelKorn gravatar image MichaelKorn  ( 2013-09-25 01:27:19 -0500 )edit

@MichaelKorn@ncr7 After a while it took 4 hr but it got the job done thanks, the thing is that i only did rosmake on pcl17 and not on pcl17_ros, whats the difference between this two? because right now i can use programs from pcl17 with no problems

ctguell gravatar image ctguell  ( 2013-09-26 03:49:50 -0500 )edit
1

answered 2012-09-30 22:58:41 -0500

Lorenz gravatar image

Have a look at this and this post.

edit flag offensive delete link more

Comments

Unfortunately this doesn't help me out much. I've seen these posts and I'm finding that there is a svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_fuerte_unstable/ but only for pcl16. The header file that the 3D Object recognition tutorial needs in in pcl17.

ncr7 gravatar image ncr7  ( 2012-10-01 09:03:27 -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

6 followers

Stats

Asked: 2012-09-30 10:56:51 -0500

Seen: 3,478 times

Last updated: Jan 09 '13