Skip to main content

Tools for importing ROS .msg files into Capella data package and vice versa.

Project description

Capella ROS Tools

image image

Tools for importing ROS .msg files into Capella DataPackage, DataType and Class objects, or exporting those objects to .msg files.

Showcase

Documentation

Read the full documentation on Github pages.

Examples

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

Installation

You can install the latest released version directly from PyPI.

pip install capella-ros-tools

To set up a development environment, clone the project and install it into a virtual environment.

git clone https://github.com/DSD-DBS/capella-ros-tools
cd capella-ros-tools
python -m venv .venv

source .venv/bin/activate.sh  # for Linux / Mac
.venv\Scripts\activate  # for Windows

pip install -U pip pre-commit
pip install -e '.[docs,test]'
pre-commit install

Contributing

We'd love to see your bug reports and improvement suggestions! Please take a look at our guidelines for contributors for details.

Licenses

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)

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

capella_ros_tools-0.1.dev68.tar.gz (224.1 kB view details)

Uploaded Source

Built Distribution

capella_ros_tools-0.1.dev68-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file capella_ros_tools-0.1.dev68.tar.gz.

File metadata

  • Download URL: capella_ros_tools-0.1.dev68.tar.gz
  • Upload date:
  • Size: 224.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for capella_ros_tools-0.1.dev68.tar.gz
Algorithm Hash digest
SHA256 43610b2a13dbb553b6c8fb1d4d852d7451f5dfe2eba13c1be10102b3b9afc05e
MD5 64e7cdfb4d30a009f40e6490923a9f2b
BLAKE2b-256 51b87b72b2ec7e662383c9ce2fc6093a590490c36b63cb657d93d018853208e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for capella_ros_tools-0.1.dev68.tar.gz:

Publisher: build-test-publish.yml on DSD-DBS/capella-ros-tools

Attestations:

File details

Details for the file capella_ros_tools-0.1.dev68-py3-none-any.whl.

File metadata

File hashes

Hashes for capella_ros_tools-0.1.dev68-py3-none-any.whl
Algorithm Hash digest
SHA256 1803882c2307c83504c64f13112399b221f51238932a59bfa7e5d3c65a7bacf1
MD5 0042e9cb18ba6ced8989345ed59e0db7
BLAKE2b-256 826cc962eb7bacb551134f840f00357d08a48bb0fee847f46e6c3a9c6954bfcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for capella_ros_tools-0.1.dev68-py3-none-any.whl:

Publisher: build-test-publish.yml on DSD-DBS/capella-ros-tools

Attestations:

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