Skip to main content

A ROS2 tool to save PCD files from LiDAR subscriptions with configurable processing

Project description

This is displayed on your PyPI project page. Use Markdown for formatting. text# lidar-pcd-saver

A ROS2 tool to subscribe to a LiDAR PointCloud2 topic, process the data (with configurable downsampling and outlier removal), and save it as a PCD file.

Installation

  1. Install ROS2 (e.g., Jazzy) from the official docs: https://docs.ros.org/en/jazzy/Installation.html. This provides rclpy and sensor_msgs.
  2. Install the package: pip install lidar-pcd-saver textNote: Source your ROS2 setup before use: source /opt/ros/jazzy/setup.bash (adjust for your ROS2 distro).

Usage

Run as a CLI tool: Basic (defaults: voxel-size=0.05, k-neighbors=10, std-ratio=3.0, buffer-size=40, collect-time=5.0) lidar-pcd-saver --output /path/to/output.pcd With custom options lidar-pcd-saver --topic /your/lidar/topic --output /path/to/output.pcd --binary --voxel-size 0.1 --k-neighbors 20 --std-ratio 2.5 --buffer-size 60 --collect-time 10.0 textSee --help for all options.

Requirements

  • Python 3.8+
  • NumPy
  • SciPy
  • ROS2 (for rclpy and sensor_msgs)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lidar_pcd_saver-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lidar_pcd_saver-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file lidar_pcd_saver-0.1.0.tar.gz.

File metadata

  • Download URL: lidar_pcd_saver-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.7

File hashes

Hashes for lidar_pcd_saver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2d1a3627206d5d02b9b1b8bd9992f1a034ef09ae548efee56db2c102f5dfff6
MD5 0e686f07cbc50951891409c8e3e65cb7
BLAKE2b-256 3a7474203ddfc52b69fe9e62e6ae42bef31e9af7da5c6c75e305d22bbeb1294d

See more details on using hashes here.

File details

Details for the file lidar_pcd_saver-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lidar_pcd_saver-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1305c1738ea4257c4900f54ec4f4aebc95a4b811868ce4c587cc1e842490ee92
MD5 5ea84d3997683c4348a7f54205f75885
BLAKE2b-256 e7036130c985cc7a85be06086a6bc8dc022c8f828248ebad5d711c38b28130c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page