Skip to main content

ROS2 support for the Python MCAP library

Project description

Python MCAP ROS2 support

This package provides ROS2 support for the Python MCAP file format reader. It has no dependencies on ROS2 itself or a ROS2 environment, and can be used in any Python project.

Installation

You can install directly via pip.

pip install mcap-ros2-support

Reading ROS2 Messages

# Reading from a MCAP file
from mcap_ros2.reader import read_ros2_messages

for msg in read_ros2_messages("my_data.mcap"):
    print(f"{msg.channel.topic}: f{msg.ros_msg}")

Stay in touch

Join our Slack channel to ask questions, share feedback, and stay up to date on what our team is working on.

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

mcap-ros2-support-0.5.3.tar.gz (23.6 kB view hashes)

Uploaded Source

Built Distribution

mcap_ros2_support-0.5.3-py3-none-any.whl (26.9 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