ros-perception / pointcloud_to_laserscan

Converts a 3D Point Cloud into a 2D laser scan.
http://wiki.ros.org/pointcloud_to_laserscan
BSD 3-Clause "New" or "Revised" License
403 stars 273 forks source link

Is there an example how to use it? #79

Open rsc9421 opened 1 year ago

rsc9421 commented 1 year ago

It will be very useful to have an example to use in ros2

schreiterjp commented 1 year ago

Hi,

Basic usage in Ros2:

clone package into ros_ws/src and build package with colcon or run apt install ros-humble-pointcloud-to-laserscan

source /opt/ros/<distro>/setup.bash cd <ros_ws> source install/setup.bash

ros2 launch pointcloud_to_laserscan sample_pointcloud_to_laserscan_launch.py