https://github.com/mjlee111/pointcloud_crop
https://github.com/mjlee111/pointcloud_crop
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mjlee111/pointcloud_crop
- Owner: mjlee111
- License: apache-2.0
- Created: 2024-05-29T12:26:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-29T14:55:04.000Z (about 1 year ago)
- Last Synced: 2024-12-28T19:45:45.231Z (6 months ago)
- Language: C++
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PointCloud Crop
The pointcloud_crop package is designed to crop a within a specified xyz range.## Dependencies
Point Cloud Library (PCL)## Installation & Building
To install and build the package, follow these steps:```shell
$ cd ~/{your workspace}/src
$ git clone https://github.com/mjlee111/pointcloud_crop.git
$ cd ..
$ catkin_make
```## Usage
To use the package, follow these instructions:### Running the Package
Launch the package using the following command:``` shell
$ roslaunch pointcloud_crop crop.launch
```
### Parameters
The package supports the following parameters:- **sub_topic**: The topic name to subscribe to.
- Default: `/pointcloud`
- **pub_topic**: The topic name to publish the cropped point cloud to.
- Default: `/pointcloud_crop`
- **x_min**: The minimum x-range for cropping.
- Default: `-1.0` [m]
- **x_max**: The maximum x-range for cropping.
- Default: `1.0` [m]
- **y_min**: The minimum y-range for cropping.
- Default: `-1.0` [m]
- **y_max**: The maximum y-range for cropping.
- Default: `1.0` [m]
- **z_min**: The minimum z-range for cropping.
- Default: `-1.0` [m]
- **z_max**: The maximum z-range for cropping.
- Default: `1.0` [m]- **marker**: Set marker for range visualization.
- Default: `false`### Example launch file (crop.launch)
Below is an example of a crop.launch file, which you can use to run the package with custom parameters:``` xml
```
This package facilitates the cropping of point cloud data within a specified range, making it easier to focus on areas of interest in your point cloud datasets. Adjust the parameters as needed to suit your specific application requirements.