- Introduced a new configuration parameter `diverging_release_distance` to the collision detection system, allowing for dynamic adjustment of the distance threshold at which conflicts are resolved when vehicles are diverging. - Updated the system configuration files and documentation to reflect this new parameter. - Implemented logic in the collision detection algorithm to utilize the diverging release distance for immediate conflict resolution when conditions are met. - Added unit tests to verify the functionality of the diverging release distance in various scenarios, ensuring that conflicts are resolved correctly based on the new parameter.
115 lines
3.7 KiB
JSON
115 lines
3.7 KiB
JSON
{
|
|
"airport": {
|
|
"name": "青岛胶东国际机场",
|
|
"iata": "TAO",
|
|
"icao": "ZSQD",
|
|
"reference_point": {
|
|
"latitude": 36.34807893,
|
|
"longitude": 120.08201044
|
|
},
|
|
"coordinate_points": [
|
|
{"point": "T1", "longitude": 120.0868853, "latitude": 36.35496367},
|
|
{"point": "T2", "longitude": 120.08502054, "latitude": 36.35448347},
|
|
{"point": "T3", "longitude": 120.08341044, "latitude": 36.35406879},
|
|
{"point": "T4", "longitude": 120.08558121, "latitude": 36.35305878},
|
|
{"point": "T5", "longitude": 120.08400957, "latitude": 36.35265197},
|
|
{"point": "T6", "longitude": 120.08649105, "latitude": 36.35074527},
|
|
{"point": "T7", "longitude": 120.08562915, "latitude": 36.35052372},
|
|
{"point": "T8", "longitude": 120.08676664, "latitude": 36.35004529},
|
|
{"point": "T9", "longitude": 120.08520616, "latitude": 36.34964473},
|
|
{"point": "T10", "longitude": 120.08710569, "latitude": 36.34917893},
|
|
{"point": "T11", "longitude": 120.0873865, "latitude": 36.3509885},
|
|
{"point": "T12", "longitude": 120.08603613, "latitude": 36.35190217},
|
|
{"point": "T13", "longitude": 120.08509148, "latitude": 36.35041247}
|
|
]
|
|
},
|
|
"data_source": {
|
|
"position": {
|
|
"host": "10.32.38.3",
|
|
"port": 8090,
|
|
"aircraft_path": "/openApi/getCurrentFlightPositions",
|
|
"vehicle_path": "/openApi/getCurrentVehiclePositions",
|
|
"refresh_interval_ms": 500,
|
|
"auth": {
|
|
"username": "dianxin",
|
|
"password": "dianxin@123",
|
|
"auth_path": "/login",
|
|
"auth_required": true
|
|
},
|
|
"timeout_ms": 5000,
|
|
"read_timeout_ms": 2000
|
|
},
|
|
"unmanned_vehicle": {
|
|
"host": "10.32.38.3",
|
|
"port": 8090,
|
|
"location_path": "/api/VehicleLocationInfo",
|
|
"status_path": "/api/VehicleStateInfo",
|
|
"command_path": "/api/VehicleCommandInfo",
|
|
"refresh_interval_ms": 500,
|
|
"auth": {
|
|
"username": "dianxin",
|
|
"password": "dianxin@123",
|
|
"auth_path": "/api/login",
|
|
"auth_required": false
|
|
},
|
|
"timeout_ms": 5000,
|
|
"read_timeout_ms": 2000
|
|
},
|
|
"traffic_light": {
|
|
"host": "10.32.38.3",
|
|
"port": 8090,
|
|
"signal_path": "/getTrafficLightSignals",
|
|
"refresh_interval_ms": 500,
|
|
"auth": {
|
|
"username": "dianxin",
|
|
"password": "dianxin@123",
|
|
"auth_path": "/api/login",
|
|
"auth_required": false
|
|
},
|
|
"timeout_ms": 5000,
|
|
"read_timeout_ms": 2000
|
|
}
|
|
},
|
|
"warning": {
|
|
"warning_interval_ms": 1000,
|
|
"log_interval_ms": 3000
|
|
},
|
|
"websocket": {
|
|
"port": 8010,
|
|
"max_connections": 100,
|
|
"ping_interval_ms": 30000,
|
|
"position_update": {
|
|
"aircraft_interval_ms": 300,
|
|
"vehicle_interval_ms": 500,
|
|
"traffic_light_interval_ms": 1000
|
|
}
|
|
},
|
|
"collision_detection": {
|
|
"update_interval_ms": 200,
|
|
"diverging_release_distance": 50.0,
|
|
"prediction": {
|
|
"time_window": 20.0,
|
|
"vehicle_size": 20.0,
|
|
"aircraft_size": 60.0,
|
|
"min_unmanned_speed": 1.0
|
|
}
|
|
},
|
|
"logging": {
|
|
"level": "info",
|
|
"file": "logs/system.log",
|
|
"max_size_mb": 10,
|
|
"max_files": 5,
|
|
"console_output": true
|
|
},
|
|
"debug": {
|
|
"enable_mock_data": false,
|
|
"save_raw_data": false,
|
|
"profile_performance": false
|
|
},
|
|
"traffic_light_server": {
|
|
"port": 8082,
|
|
"max_connections": 100
|
|
},
|
|
"simulated_mobile_light_target_intersection_id": "T2路口"
|
|
}
|