Score:1

how to install PCL (point cloud library) v 1.9 in ubuntu 20.04

gd flag

I was trying to run this on my pc, and I unable to install

https://github.com/udacity/RoboND-Perception-Exercises

Ubuntu 20.04 python 3.8

David avatar
cn flag
I assume you have already installed it or does run mean install? Please be clear.
N0rbert avatar
zw flag
Does this answer your question? [How do I enable the "Universe" repository?](https://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository) ← for successful `pcl-tools` package installation, or please add details.
Pedakolimi Harish avatar
gd flag
@David I had install PCL v 1.12 but when i Built it, it give this error setup.py: error: cannot find PCL, tried pkg-config pcl_common-1.9 pkg-config pcl_common-1.8 pkg-config pcl_common-1.7 pkg-config pcl_common
Pedakolimi Harish avatar
gd flag
@N0rbert i have tried that not working
N0rbert avatar
zw flag
Please add reproducible steps to the question.
Pedakolimi Harish avatar
gd flag
@N0rbert i have followed the steps from the repo
Knud Larsen avatar
by flag
"RoboND-Perception-Exercises" is four year old code, python 2 only, and pcl <=1.9 . ( Ubuntu 20.04 has pcl version 1.10 .
Score:0
zw flag

This repository is from 2017 year, but now is 2021.

So I would recommend to use python3-pcl package from official repositories as follows:

sudo apt-get install python3-pcl pcl-tools

And then use code from the repository:

sudo apt-get install git

cd ~/Downloads
git clone https://github.com/udacity/RoboND-Perception-Exercises.git
cd RoboND-Perception-Exercises

# check Exercise-1
cd Exercise-1/
python3 RANSAC.py

Please note that for Exercise-2 and Exercise-3 you need some ROS-specific packages for pcl_rosConfig.cmake. Start with

sudo apt-get install cmake catkin python3-catkin libdynamic-reconfigure-config-init-mutex-dev libpcl-conversions-dev
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.