Skip to main content

image info

commonocean-io

The CommonOcean Input-Output package provides methods for reading, writing, and visualizing CommonOcean scenarios and planning problems. It can also be used as a framework for implementing motion planning algorithms to solve CommonOcean benchmarks and is the basis for other tools in the CommonOcean framework. Learn more about the scenario specification here.

​

Documentation

The full documentation of the API can be found here.

For getting started, we recommend our tutorials.

Requirements

The required dependencies for running commonocean-io are:

  • commonocean-vessel-models==1.0.0
  • commonroad-io==2023.1
  • matplotlib~=3.5.0
  • numpy~=1.22.4
  • imageio~=2.9.0
  • setuptools>=42.0.1
  • lxml>=4.2.2
  • iso3166>=1.0.1
  • pytest>=7.1.1

Installation

​ Create a new Anaconda environment for Python 3.8 (here called co38):

conda create -n co38 python=3.8
conda activate co38

Install the package using pip and, if you want to use the jupyter notebook, install jupyter as well:

pip install commonocean-io
pip install jupyter

Start jupyter notebook to run the tutorials:

jupyter notebook

Changelog

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

Added

  • New rendering functionality with MPRenderer

Fixed

  • Consistent writing and reading or vessel states
  • Formatting errors in XML blueprint file

Changed

  • Improved State classes so that more specific state classes are used. Introduction of InputState classes.
  • Updated dependencies
  • Updated documentation and tutorials

Contibutors

​ We thank all contributors for their help in developing this project (see contributors.txt).

Citation

​ If you use our code 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},
}

Metadata

Release files for commonocean-io 2025.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for commonocean-io 2025.1
File Size Uploaded
commonocean_io-2025.1.tar.gz 91.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for commonocean-io 2025.1
File Interpreter ABI Platform
commonocean_io-2025.1-py3-none-any.whl Python 3 none any Details

Total release size: 196.7 kB

Release files / commonocean_io-2025.1.tar.gz

Download URL commonocean_io-2025.1.tar.gz
Size 91.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff4921654ade490a8a4a8d83e690f8dbf541df2f1414acbedf6a90666e3b194
BLAKE2b-256 checksum
How to use checksums
90d7530cf7ae6e221e9837810968363ce91358d1fc62fbfa346f0d16be762a86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / commonocean_io-2025.1-py3-none-any.whl

Download URL commonocean_io-2025.1-py3-none-any.whl
Size 105.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65ed3c19ced2c586b28c9250918482d50e14d31c77d9dfe7e7e775366f6a1832
BLAKE2b-256 checksum
How to use checksums
eb8ab48b6647d87b864388d192c7fbd24d60f5928d11178619430ad1799a7d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

2025.1 This release

2 release files

2023.1

2 release files

2022.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page