Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e

## [Unreleased]

## [0.8.2] - 2025-09-22
* [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.

## [0.8.1] - 2025-05-12
* Changed first assert in test_basic_cli() from 0 to 2.
* Changed first assert in test_basic_cli() from 0 to 2.

## [0.8.0] - 2025-05-09

Expand Down
20 changes: 10 additions & 10 deletions data/baseline_situations_generated/traffic_situation_01.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "HO",
"description": "A head on situation with one target ship.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,16 +70,16 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 122.0,
"width": 20.0,
"height": 8.0,
"a": 61.0,
"b": 61.0,
"c": 10.0,
"d": 10.0
"length": 178.0,
"width": 30.0,
"height": 30.0,
"a": 89.0,
"b": 89.0,
"c": 15.0,
"d": 15.0
},
"shipType": "Passenger"
}
Expand Down
6 changes: 3 additions & 3 deletions data/baseline_situations_generated/traffic_situation_02.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "CR-GW",
"description": "A crossing situation with one target ship. Own ship is give-way.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,7 +70,7 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 122.0,
Expand Down
6 changes: 3 additions & 3 deletions data/baseline_situations_generated/traffic_situation_03.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "CR-SO",
"description": "A crossing situation with one target ship. Own ship is stand-on.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,7 +70,7 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 50.0,
Expand Down
20 changes: 10 additions & 10 deletions data/baseline_situations_generated/traffic_situation_04.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "OT-GW",
"description": "A overting situation with one target ship. Own ship is give-way.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,16 +70,16 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 178.0,
"width": 30.0,
"height": 30.0,
"a": 89.0,
"b": 89.0,
"c": 15.0,
"d": 15.0
"length": 122.0,
"width": 20.0,
"height": 8.0,
"a": 61.0,
"b": 61.0,
"c": 10.0,
"d": 10.0
},
"shipType": "Passenger"
}
Expand Down
38 changes: 19 additions & 19 deletions data/baseline_situations_generated/traffic_situation_05.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "OT-SO",
"description": "A overtaking situation with one target ship. Own ship is stand-on.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand All @@ -47,41 +47,41 @@
{
"initial": {
"position": {
"lon": 10.47731353,
"lat": 58.73759413
"lon": 10.47473875,
"lat": 58.73258475
},
"sog": 15.0,
"cog": 5.04,
"heading": 5.04,
"sog": 15.9,
"cog": 5.67,
"heading": 5.67,
"navStatus": "Under way using engine"
},
"waypoints": [
{
"position": {
"lon": 10.47731353,
"lat": 58.73759413
"lon": 10.47473875,
"lat": 58.73258475
}
},
{
"position": {
"lon": 10.4983629,
"lat": 58.86153921
"lon": 10.49994834,
"lat": 58.86444213
}
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 50.0,
"width": 10.0,
"length": 122.0,
"width": 20.0,
"height": 8.0,
"a": 25.0,
"b": 25.0,
"c": 5.0,
"d": 5.0
"a": 61.0,
"b": 61.0,
"c": 10.0,
"d": 10.0
},
"shipType": "Cargo"
"shipType": "Passenger"
}
}
]
Expand Down
38 changes: 19 additions & 19 deletions data/baseline_situations_generated/traffic_situation_06.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "HO, HO",
"description": "Head-on situations with two target ships.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,18 +70,18 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 50.0,
"width": 10.0,
"height": 8.0,
"a": 25.0,
"b": 25.0,
"c": 5.0,
"d": 5.0
"length": 178.0,
"width": 30.0,
"height": 30.0,
"a": 89.0,
"b": 89.0,
"c": 15.0,
"d": 15.0
},
"shipType": "Cargo"
"shipType": "Passenger"
}
},
{
Expand Down Expand Up @@ -110,16 +110,16 @@
}
],
"static": {
"id": 10,
"id": 3,
"name": "target_ship_2",
"dimensions": {
"length": 178.0,
"width": 30.0,
"height": 30.0,
"a": 89.0,
"b": 89.0,
"c": 15.0,
"d": 15.0
"length": 122.0,
"width": 20.0,
"height": 8.0,
"a": 61.0,
"b": 61.0,
"c": 10.0,
"d": 10.0
},
"shipType": "Passenger"
}
Expand Down
22 changes: 11 additions & 11 deletions data/baseline_situations_generated/traffic_situation_07.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.0",
"version": "0.8.2",
"title": "HO, CR-GW",
"description": "A head-on and crossing give-way situation with two target ships.",
"ownShip": {
Expand Down Expand Up @@ -28,7 +28,7 @@
}
],
"static": {
"id": 0,
"id": 1,
"mmsi": 257847600,
"name": "BASTO VI",
"dimensions": {
Expand Down Expand Up @@ -70,18 +70,18 @@
}
],
"static": {
"id": 10,
"id": 2,
"name": "target_ship_1",
"dimensions": {
"length": 122.0,
"width": 20.0,
"length": 50.0,
"width": 10.0,
"height": 8.0,
"a": 61.0,
"b": 61.0,
"c": 10.0,
"d": 10.0
"a": 25.0,
"b": 25.0,
"c": 5.0,
"d": 5.0
},
"shipType": "Passenger"
"shipType": "Cargo"
}
},
{
Expand Down Expand Up @@ -110,7 +110,7 @@
}
],
"static": {
"id": 10,
"id": 3,
"name": "target_ship_2",
"dimensions": {
"length": 178.0,
Expand Down
Loading
Loading