gpsd-users
[Top][All Lists]
Advanced

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

Coordinates of AIS targets


From: Владимир Калачихин
Subject: Coordinates of AIS targets
Date: Sun, 7 May 2023 13:45:32 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

I develop of AIS flow simulator. It's generally works, but:
the OpenCPN and SignalK understands my AIS sentences and display targets in correct coordinates, but gpsd not.
gpsd decode coordinates from sentences as:
{"class":"AIS","device":"tcp://localhost:2222","type":27,"repeat":0,"mmsi":230941940,"scaled":false,"status":5,"accuracy":false,"lon":14954,"lat":36096,"speed":0,"course":31,"raim":false,"gnss":true}
{"class":"AIS","device":"tcp://localhost:2222","type":18,"repeat":0,"mmsi":230108270,"scaled":false,"reserved":0,"speed":0,"accuracy":false,"lon":14977300,"lat":36102730,"course":1630,"heading":163,"second":0,"regional":0,"cs":true,"display":true,"dsc":false,"band":false,"msg22":false,"raim":false,"radio":917510}
{"class":"AIS","device":"tcp://localhost:2222","type":27,"repeat":0,"mmsi":230108270,"scaled":false,"status":5,"accuracy":false,"lon":14977,"lat":36102,"speed":0,"course":16,"raim":false,"gnss":true}
{"class":"AIS","device":"tcp://localhost:2222","type":18,"repeat":0,"mmsi":276829000,"scaled":false,"reserved":0,"speed":0,"accuracy":false,"lon":14948878,"lat":36088794,"course":2080,"heading":208,"second":0,"regional":0,"cs":true,"display":true,"dsc":false,"band":false,"msg22":false,"raim":false,"radio":917510}

Obviously, I am not creating AIS sentences in accordance with the specification that the gpsd follows when parsing sentences.

Which specification exactly does the gpsd follow? url?


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



reply via email to

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