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)
Built Distribution
Close
Hashes for mcap_ros2_support-0.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9561bf303df03c0b19bba6c8a978235690f67bb7f2c2e62387f3b657354ebfe3 |
|
MD5 | d3def80bd39495c131a66962988103e9 |
|
BLAKE2b-256 | 2fa3815357564f742392d68537c2c0f663ec7c1180ff82fb3206241e75aaa07e |