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.0.tar.gz
(23.0 kB
view hashes)
Built Distribution
Close
Hashes for mcap_ros2_support-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a50fa98be88b4ed75f59dec977e8a7f8636bc57a0fa08fad52c9e6f58c6880a6 |
|
MD5 | 9435cbd7ccde116cb4f5d98a9747eaf4 |
|
BLAKE2b-256 | 3d9f1be8ab50e8bbe826c04554e8f63045c79760249b85febe6624e19aca0837 |