Python Vessel Models of CommonOcean
This package contains all vessel models of the CommonOcean benchmarks. The code is based on the CommonRoad vehicle models repository. We provide implementations of the vessel dynamics and vessel parameters.
Documentation
For a detailed explanation of the vehicle models, please have a look at the documentation.
Installation
To use vehicle models and parameters, run
pip install commonocean-vessel-models
Code examples
For an extended simulation example, we refer to our gitlab repository. A simple simulation example for using the point-mass model in combination with an odeint solver would be
from scipy.integrate import odeint
import numpy
from vesselmodels.parameters_vessel_1 import parameters_vessel_1
from vesselmodels.vessel_dynamics_pm import vessel_dynamics_pm
def func_PM(x, t, u, p):
f = vessel_dynamics_pm(x, u, p)
return f
tStart = 0 # start time
tFinal = 1 # start time
# load vehicle parameters
p = parameters_vessel_1()
# initial state for simulation
x0_PM = [0, 0, 10.0, 0.0]
t = numpy.arange(0, tFinal, 0.01)
u = [1.4, 0]
x = odeint(func_PM, x0_PM, t, args=(u, p))
Contribute
If you want to contribute new vessel models, you can create a merge request in our repository, or contact us via mail.
Contibutors and Reference
We thank all the contributors 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},
}
Metadata
Release files for commonocean-vessel-models 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commonocean-vessel-models-1.0.0.tar.gz | 8.2 kB | Without provenance | Details for commonocean-vessel-models-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commonocean_vessel_models-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for commonocean_vessel_models-1.0.0-py3-none-any.whl |
Total release size: 22.5 kB
Release files / commonocean-vessel-models-1.0.0.tar.gz
| Download URL | commonocean-vessel-models-1.0.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
028c300f2051536eeb2fdc7d0edcbf403ba686dca68f83741772be52810d6bd2
|
|
BLAKE2b-256 checksum How to use checksums |
874651a30b58096e0173552bf413cc342a1f1289b2b7b892812c7fd088592b7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / commonocean_vessel_models-1.0.0-py3-none-any.whl
| Download URL | commonocean_vessel_models-1.0.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed524cc711e1ad2a84d1d5d79507064b52d0c86046e5e838cb8b2c9ff4ee592a
|
|
BLAKE2b-256 checksum How to use checksums |
a4787e08be7336c7f138474b7aa08701114511d873dba8e97af676ced886e32a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for commonocean-vessel-models 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.