AIVDO synthesizes GPRMC in kplex..? Bug or Feature..?

47 views
Skip to first unread message

Dave Wright

unread,
Nov 15, 2023, 9:44:01 AM11/15/23
to kplex
I am seeing 'synthesized' GPRMC messages out of kplex when AIVDO is present as an input. Nothing in the docs alludes to this, although a report here sometime back looks similar...

I'm running the Raspbian 1.4 build

The synthesized GPRMC message differs from what I see from my gpsd GPRMC source. The time field has an appended ".000" and the magnetic variation field is empty.

This is a problem as the AIS position and the gpsd positions are always differing, and results in OpenCPN jumping the displayed position around. OpenCPN can prioritize between AIVDO and GPRMC, but it cannot discern multiple GPRMC messages.

So, this might be a feature, and I can see its utility in some cases. But, I want to be able to turn it on or off. The present workaround is to ifilter the AIVDO, but then it is unavailable to clients that want it. Failover is not an option either, I want the client to decide whether to use AIVDO or GPRMC, once it appears as an additional (and differing) GPRMC it becomes positional 'noise'.

If this is a feature, please add it to the docs..! Presently it looks like a bug...

So, we could add a switch to enable/disable "AIVDO to GPRMC" , and/or change the talker address to allow further filtering. ECRMC is one of many possibilities...

P.S. I love pretty much everything else about kplex, and appreciate the work, thanks..!

Dave
M/V KittyHawk
KC6UPS


Dave Wright

unread,
Jun 25, 2024, 3:54:03 PM6/25/24
to kplex
So, some time has passed, and nothing in the way of a confirmation from other users, or reply from the author...

Do any of you have an implementation that is receiving AIVDO messages, and can look and see if this is happening to you as well..?

Again, if AIVDO is present as an input, it appears that kplex is creating a GPRMC message with the position information from AIVDO. 

Appreciate any info regarding whether you see this, and if so, on what build. Thanks.


Dave
M/V KittyHawk
KC6UPS

Keith Young

unread,
Aug 14, 2024, 2:49:31 PM8/14/24
to kplex
Sincere apologies for the delayed reply.

kplex doesn't synthesise sentences so the GPRMC must be coming from one of your inputs.  if its problematic you can filter out GPRMC sentences, either from the input or in the output to opencpn

Dave Wright

unread,
Aug 15, 2024, 1:35:28 PM8/15/24
to Keith Young, kplex
Keith,

Welcome home..!

Just now took another look at the 'gozintas' and 'comesouta', and yes I was mistaken. The Garmin AIS-600 does produce GPRMC as well as AIVDO and AIVDM (and also two PGRM status messages).

Was able to ifilter the RMC at the AIS receive, and OpenCPN is able to use the AIVDO as a fallback position with lower priority.

All happy now....

Thanks again for putting in the work on kplex..!

Sent from my iPhone, aboard KittyHawk, Ohio River MM 582

On Aug 14, 2024, at 2:49 PM, Keith Young <strip...@gmail.com> wrote:

Sincere apologies for the delayed reply.
--
You received this message because you are subscribed to a topic in the Google Groups "kplex" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kplex/2E4TYEpMSSs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kplex+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kplex/bf5efcff-23c0-4aca-8741-e0364a4c11f3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages