Metadata-Version: 2.1
Name: mcap-ros2-support
Version: 0.5.7
Summary: ROS2 support for the Python MCAP library
Home-page: https://github.com/foxglove/mcap
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: mcap>=0.0.14

# 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.

```bash
pip install mcap-ros2-support
```

## Reading ROS2 Messages

```python
# 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 [Discord community](https://foxglove.dev/chat) to ask questions,
share feedback, and stay up to date on what our team is working on.
