gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to get AIS data by ?POLL; command?


From: Lucien Van Elsen
Subject: Re: Is it possible to get AIS data by ?POLL; command?
Date: Mon, 20 Apr 2020 11:47:33 -0400

https://github.com/VladimirKalachikhin/gpsdAISd/blob/master/gpsdAISd.php#L15
> $noVehacleTimeout = 30; // seconds, time of continuous absence of the vessel in AIS, when reached - is deleted from the data

The update rate ranges from 3 minutes for anchored or moored vessels, to 2 seconds for fast moving or maneuvering vessels - you'll want to increase this to keep the moored/at anchor ones from disappearing/reappearing, and to also perhaps allow for some number of missed messages.

(I did not review all of the code)

If your use case is just to locally display AIS information being received, you may find OpenCPN useful - it will handle all of this and more, and is open source - https://www.opencpn.org/

On Sun, Apr 19, 2020 at 2:00 PM Владимир Калачихин <address@hidden> wrote:
17.04.2020 20:29, Gary E. Miller пишет:
> Re: Is it possible to get AIS data by ?POLL; command?
>
> Nope.
>
> Given the rate the AIS data comes in, I don't see how it could work.

First naive approach: https://github.com/VladimirKalachikhin/gpsdAISd

Criticism is welcome.




Владимир Калачихин


reply via email to

[Prev in Thread] Current Thread [Next in Thread]