RobotLabs
  • Welcome
  • ESP32
    • PlatformIO
      • 1.1 Arduino Basics
      • 1.2 Install PlatformIO
      • 2.1 GPIO - LED Blink
      • 2.2 GPIO - LED Multi
      • 2.3 GPIO - LED Button
      • 3.1 PWM - LED Fade
      • 3.2 ADC - Analog Input
      • 4.1 IIC - OLED
    • MicroPython
    • ESP32 Projects
  • ROS
    • ROS2 Jazzy
      • 1.1 Install ROS 2 Jazzy
      • 1.2 Install VS Code
      • 1.3 Save ROS code on GitHub
      • 2.1 Create a Mobile Robot with URDF and Visualize it
      • 2.3 Create Launch Files to Display the URDF in RViz
      • 2.4 Simulation with Gazebo
      • 2.5 Gazebo sensors
      • 2.6 Sensor fusion and SLAM
    • MoveIt2
      • Moveit 2 joint position control with keyboard
      • Moveit2 joint velocity control for Panda robot arm
    • Perception
      • PCL-ROS
  • FOC
    • SimpleFOC
      • Install simpleFOC Lib
  • Template
    • Markdown
    • Interactive blocks
    • OpenAPI
    • Integrations
Powered by GitBook
On this page
  • Installation
  • 1. install PCL
  • 2. Install ROS interface
  • ROS example
  1. ROS
  2. Perception

PCL-ROS

Installation

1. install PCL

Here we based on Ubuntu22.04 and ROS Humble, and I assume you already installed them.

Firstly, install PCL as follows:

sudo apt-get install libpcl-dev 

# to install special version of PCL, e.g.
sudo apt-get install libpcl-dev=1.10.0

# after installation, check PCL version
## way 1
gedit /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfigVersion.cmake
## way 2
apt-cache show libpcl-dev

Previous test on Aug 2023, the PCL version is 1.12.1 on Ubuntu22.04.

2. Install ROS interface

# check ros pcl packages
sudo apt install ros-humble-pcl-
# install
sudo apt install -y ros-humble-pcl-*
(at least three packages need to be installed: pcl_conversions pcl_msgs pcl_ros)
sudo apt install -y pcl-tools

ROS example

Ref:

PreviousPerceptionNextSimpleFOC

Last updated 5 days ago

https://pcl.readthedocs.io/projects/tutorials/en/latest/index.html
https://industrial-training-master.readthedocs.io/en/humble/_source/session4/2-Introduction-to-Perception.html