Skip to content

SignalK server plugin that detects a risk of collision with other vessels

License

Notifications You must be signed in to change notification settings

VladimirKalachikhin/collision-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Русское описание

collision-detector License: CC BY-NC-SA 4.0

SignalK server plugin that detects a risk of collision with other vessels.

v. 0.2

The plugin tries to determine the possibility of a collision according to the adopted collision model based on the specified detection distance and the probability of deviations from the course.

collision model

The plugin raise a SignalK notifications.danger.collision alarm with a list of uuid of vessels that have a risk of collision. Other software can inform the navigator of dangers. For example, the GaladrielMap highlights such vessels on the map and indicates the direction to them on self cursor.

No information issued or not issued by the plugin can be the basis for the actions or inaction of the navigator.

Be careful.

Usage

  • Subscribe to "path": "notifications.danger.collision" as it described in Subscription Protocol document.

  • Read the delta stream for

    "value": {  
        "method": ["visual", "sound"],  
        "state": "alarm",  
        "message": "Collision danger!"  
        "vessels": {  
            "vessels.urn:mrn:imo:mmsi:123456789":{"lat":..., "lon":..., "dist":..., "bearing":...},  
            ...  
        },  
    },

The "value.vessels" is an array of uuid and positions of dangerous vessels.

Install&configure:

Install this plugin from SignalK Appstore as collision-detector in the usual way.
Restart SignalK,
Use Server -> Plugin Config menu of SignalK web control panel to start plugin and configure detection distance and timeouts.
Press Submit to save changes.

Support

Discussions

The forum will be more lively if you make a donation at ЮMoney

Paid personal consulting