Skip to main content

Python tool to read, write, and visualize CommonOcean scenarios and solutions for automated vessels.

Project description

image info

This repository includes the commonocean_io python package for representing benchmarks for marine motion planning. In addition, we provide two tutorials to exemplify the usage. For an extensive scenario documentation, consider reading the documentation for the XML format. ​ The structure of the repository is: ​

.
├── documentation                   # Documentation of scenario specification
└── commonocean                     # Source files
    ├── common                      # Folders which represent the package structure
    ├── ...                         # ...
    └── doc                         # ´Read the Docs´ documentation for the commonocean-io package

Installation instructions

​ Create a new Anaconda environment for Python 3.8 (here called co38). ​ Run in your Terminal window:

conda create −n co38 python=3.8

Activate your environment

conda activate co38

Install the package by simply using pip and, if you want to use the jupyter notebook, also install jupyter

pip install commonocean-io
pip install jupyter

Now everything is installed and you can start jupyter notebook to run the tutorials

$ jupyter notebook

Changelog

Compared to version 2022.2, the following features have been added or changed:

Added

  • New obstacle type "Waters Boundary" due to requirement in CommonOcean DC

Fixed

  • Creation of static obstacles for traffic signs such that no dublicate obstacles are created

Changed

  • Restructured State class so that it is now based on the commonroad-io state class and definition of State classes for different vessel dynamics.
  • Removed duplicate classes and functions from commonroad-io to reduce maintance effort
  • The packages is no longer compatible with Python 3.7
  • Updated documentation

Contibutors and Reference

​ We thank all the contibutors for helping develop this project (see contributors.txt). ​ If you use our converter for research, please consider citing our paper:

@inproceedings{Krasowski2022a,
	author = {Krasowski, Hanna and Althoff, Matthias},
	title = {CommonOcean: Composable Benchmarks for Motion Planning on Oceans},
	booktitle = {Proc. of the IEEE International Conference on Intelligent Transportation Systems},
	year = {2022},
}

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

commonocean-io-2023.1.tar.gz (68.9 kB view details)

Uploaded Source

Built Distribution

commonocean_io-2023.1-py3-none-any.whl (77.9 kB view details)

Uploaded Python 3

File details

Details for the file commonocean-io-2023.1.tar.gz.

File metadata

  • Download URL: commonocean-io-2023.1.tar.gz
  • Upload date:
  • Size: 68.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for commonocean-io-2023.1.tar.gz
Algorithm Hash digest
SHA256 8d3d85fbf5999b6c2b5433a45f2091ab8246551971a21abc4d17d2efdc684131
MD5 19a7131a578ccb7ecb9784daa3e9460c
BLAKE2b-256 be80d642c35a5e03825f97e5e3241beb8b93d07be267a82cfa0abfe99bd1dc75

See more details on using hashes here.

File details

Details for the file commonocean_io-2023.1-py3-none-any.whl.

File metadata

File hashes

Hashes for commonocean_io-2023.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0c3bc10fa3393148b671dfb0017d2824a47af4dffdbab3667230e4046674360
MD5 db4b192a310b91749bc898648b0710ec
BLAKE2b-256 dea2ba1a8cbd2b6fac4037a57c4175a7275daedd6e54003781d851e27f76fa51

See more details on using hashes here.

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