Skip to main content

PointCloud2 lib for non ROS environments

Project description

PointCloud2

PointCloud2 lib for non ROS environment.

PyPI version PyPI license PyPI download month

Usage

from pointcloud2 import read_points

from mcap.reader import make_reader
from mcap_ros2.decoder import DecoderFactory

reader = make_reader("file.mcap", decoder_factories=[DecoderFactory()])

for msg in tqdm(reader.iter_decoded_messages(
    topics=["/cloud"],
)):
    cloud = read_points(msg.decoded_message)
    # do something with cloud
    print(cloud['x'])

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

pointcloud2-0.1.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pointcloud2-0.1.1-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

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