Tools for importing ROS .msg files into Capella DataPackage
, DataType
and
Class
objects, or exporting those objects to .msg files.
Read the full documentation on Github pages.
Import local ROS .msg files to Capella model layer's root data package:
python -m capella_ros_tools \
import \
-i tests/data/data_model/example_msgs \
-m tests/data/empty_project_60 \
-l la \
--no-deps
Import remote ROS .msg files to Capella model layer's root data package:
python -m capella_ros_tools \
import \
-i git+https://github.com/DSD-DBS/dsd-ros-msg-definitions-oss \
-m tests/data/empty_project_60 \
-l la
Export local Capella model layer's root data package as ROS .msg files:
python -m capella_ros_tools \
export \
-m tests/data/melody_model_60 \
-l la \
-o tests/data/melody_msgs
Export remote Capella model layer's root data package as ROS .msg files:
python -m capella_ros_tools \
export \
-m git+https://github.com/DSD-DBS/coffee-machine \
-l sa \
-o tests/data/coffee_msgs
You can install the latest released version directly from PyPI.
pip install capella-ros-tools
We'd love to see your bug reports and improvement suggestions! Please take a look at our guidelines for contributors for details. It also contains a short guide on how to set up a local development environment.
This project is compliant with the REUSE Specification Version 3.0.
Copyright DB InfraGO AG, licensed under Apache 2.0 (see full text in LICENSES/Apache-2.0.txt)
Dot-files are licensed under CC0-1.0 (see full text in LICENSES/CC0-1.0.txt)