All notable changes to the trafficgen project will be documented in this file.
The changelog format is based on Keep a Changelog.
- [bug] fixed bug that all target ships had id = 10.
- [bug] fixed duplicate -v parameter warning.
- If own ship ID is not given in own_ship.json file, then ID is set to 1. Target ship IDs will follow from own ship ID.
- Better documentation of output files, added links to maritime schema, and improved navigation between related sections.
- Changed first assert in test_basic_cli() from 0 to 2.
- vectorTime may now be a single float (exact time) or a list of two floats [from, to]. vectorRange is removed from settings file.
- evolveTime is changed to situationDevelopTime.
- Removed Basemap-package and added pyproj package.
- Small update of ruff.toml file to remove a few warnings.
- Documented the use of Waypoints for own ship.
- camelCasing used for encounter settings; was previously snake_case.
- Added missing info and spelling errors in data/example_situation_input.
- Numpy cross product only allowed for 3D vectors from numpy 2; manually calculating the cross product for 2D vectors in method: calculate_min_vector_length_target_ship.
- Updated documentation; fix spelling errors, add link to github.io, explain Usage, add note on defining python version with uv sync, add note on activating venv.
- Fix build issues; move click and click-log to non-dev dependencies.
- Fix issue with file reading when using non-default paths, and add test for it.
- Fixed ruff errors which appeared during last nightly build
- Removed code quality from nightly build
- Added -U to for the 'uv sync -U' in readme file
- Made explicit that Python 3.13 is not yet supported in the pyproject.toml file
- The python package Maritime Schema is no longer open source, necessary types have been included here to remove the link
- Project updated to use uv package installer
- Documentation has been updated
- Updating workflows
- Removed maxSpeed from the output files generated using the tool
0.6.0 - 2024-11-11
- Updated to download-artifact@v4 (from download-artifact@v3)
0.5.0 - 2024-04-26
- removed specific names for target ships. Files generated with target ship 1, 2 etc.
- changed tests. Still need to figure out why some tests "fail" using CLI.
0.4.0 - 2024-04-19
- possible to have several aypoints for own ship
- fixing pyright error
- beta (relative bearing between osn ship and target ship seen from own ship) is not just a number, but could also be a range
- situation length is used when checking if target ship is passing land
0.3.0 - 2024-04-10
- using types from maritime schema
- lat/lon used instead of north/east
- the generated output files are using "maritime" units: knots and degrees
0.2.0 - 2024-01-11
- add-basic-code-quality-settings-black-ruff-pyright,
- first-small-round-of-code-improvement
- add-domain-specific-data-types-for-ship-situation-etc-using-pydantic-models,
- activate-remaining-pyright-rules,
- add-github-workflows-to-build-package-and-to-build-and-publish-documentation
- sorting output from os.listdir
- github workflow for release
- removed cyclic import
- length of encounter may be specified by user
- First release on PyPI.