commonocean-vessel-models


Namecommonocean-vessel-models JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://commonocean.cps.cit.tum.de/
SummaryImplementation of vessels models with varying abstraction levels.
upload_time2023-05-10 15:50:49
maintainer
docs_urlNone
authorCyber-Physical Systems Group, Technical University of Munich
requires_python
license
keywords autonomous automated vessels motion planning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Vessel Models of CommonOcean
​
This package contains all vessel models of the [CommonOcean benchmarks](https://commonocean.cps.cit.tum.de/). 
The code is based on the [CommonRoad vehicle models repository](https://gitlab.lrz.de/tum-cps/commonroad-vehicle-models).
​
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](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models/-/blob/main/documentation/vesselModels_commonOcean.pdf).
​
## 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](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models). A simple simulation example for using the point-mass model in combination with an odeint solver would be
​
```python3
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](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models), or contact us via [mail](mailto:commonocean@lists.lrz.de).
​
# 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},
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://commonocean.cps.cit.tum.de/",
    "name": "commonocean-vessel-models",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "autonomous automated vessels motion planning",
    "author": "Cyber-Physical Systems Group, Technical University of Munich",
    "author_email": "commonocean@lists.lrz.de",
    "download_url": "https://files.pythonhosted.org/packages/87/46/51a30b58096e0173552bf413cc342a1f1289b2b7b892812c7fd088592b7b/commonocean-vessel-models-1.0.0.tar.gz",
    "platform": null,
    "description": "# Python Vessel Models of CommonOcean\n\u200b\nThis package contains all vessel models of the [CommonOcean benchmarks](https://commonocean.cps.cit.tum.de/). \nThe code is based on the [CommonRoad vehicle models repository](https://gitlab.lrz.de/tum-cps/commonroad-vehicle-models).\n\u200b\nWe provide implementations of the vessel dynamics and vessel parameters.\n\u200b\n## Documentation\n\u200b\nFor a detailed explanation of the vehicle models, please have a look at the [documentation](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models/-/blob/main/documentation/vesselModels_commonOcean.pdf).\n\u200b\n## Installation\n\u200b\nTo use vehicle models and parameters, run\n```\npip install commonocean-vessel-models\n```\n\u200b\n## Code examples\n\u200b\nFor an extended simulation example, we refer to our [gitlab repository](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models). A simple simulation example for using the point-mass model in combination with an odeint solver would be\n\u200b\n```python3\nfrom scipy.integrate import odeint\nimport numpy\n\u200b\nfrom vesselmodels.parameters_vessel_1 import parameters_vessel_1\nfrom vesselmodels.vessel_dynamics_pm import vessel_dynamics_pm\n\u200b\ndef func_PM(x, t, u, p):\n    f = vessel_dynamics_pm(x, u, p)\n    return f\n\u200b\ntStart = 0  # start time\ntFinal = 1  # start time\n\u200b\n# load vehicle parameters\np = parameters_vessel_1()\n\u200b\n# initial state for simulation\nx0_PM = [0, 0, 10.0, 0.0]\n\u200b\nt = numpy.arange(0, tFinal, 0.01)\nu = [1.4, 0]\nx = odeint(func_PM, x0_PM, t, args=(u, p))\n\u200b\n```\n\u200b\n## Contribute\n\u200b\nIf you want to contribute new vessel models, you can create a merge request in our [repository](https://gitlab.lrz.de/tum-cps/commonocean-vessel-models), or contact us via [mail](mailto:commonocean@lists.lrz.de).\n\u200b\n# Contibutors and Reference\n\u200b\nWe thank all the contributors for helping develop this project (see contributors.txt).\n\u200b\n**If you use our converter for research, please consider citing our paper:**\n```\n@inproceedings{Krasowski2022a,\n\tauthor = {Krasowski, Hanna and Althoff, Matthias},\n\ttitle = {CommonOcean: Composable Benchmarks for Motion Planning on Oceans},\n\tbooktitle = {Proc. of the IEEE International Conference on Intelligent Transportation Systems},\n\tyear = {2022},\n}\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Implementation of vessels models with varying abstraction levels.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://commonocean.cps.cit.tum.de/"
    },
    "split_keywords": [
        "autonomous",
        "automated",
        "vessels",
        "motion",
        "planning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4787e08be7336c7f138474b7aa08701114511d873dba8e97af676ced886e32a",
                "md5": "95c2882347f4d48d1a33a9f77b98de40",
                "sha256": "ed524cc711e1ad2a84d1d5d79507064b52d0c86046e5e838cb8b2c9ff4ee592a"
            },
            "downloads": -1,
            "filename": "commonocean_vessel_models-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "95c2882347f4d48d1a33a9f77b98de40",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14339,
            "upload_time": "2023-05-10T15:50:47",
            "upload_time_iso_8601": "2023-05-10T15:50:47.141441Z",
            "url": "https://files.pythonhosted.org/packages/a4/78/7e08be7336c7f138474b7aa08701114511d873dba8e97af676ced886e32a/commonocean_vessel_models-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "874651a30b58096e0173552bf413cc342a1f1289b2b7b892812c7fd088592b7b",
                "md5": "12498dfb8bc033e20d66ba71ef8d42e5",
                "sha256": "028c300f2051536eeb2fdc7d0edcbf403ba686dca68f83741772be52810d6bd2"
            },
            "downloads": -1,
            "filename": "commonocean-vessel-models-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "12498dfb8bc033e20d66ba71ef8d42e5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8194,
            "upload_time": "2023-05-10T15:50:49",
            "upload_time_iso_8601": "2023-05-10T15:50:49.728504Z",
            "url": "https://files.pythonhosted.org/packages/87/46/51a30b58096e0173552bf413cc342a1f1289b2b7b892812c7fd088592b7b/commonocean-vessel-models-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-10 15:50:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "commonocean-vessel-models"
}
        
Elapsed time: 0.06552s