Post by iconPost by BooBill | 2020-11-27 | 22:53:05

I just noticed that Dashboard is no longer providing distance to the leader in the log. Has there been something in the new engine that makes that not possible?

Now that we are all headed in relatively the same direction that now becomes interesting.

commenticon 5 Comments
Post by iconPost by Hardtack | 2020-11-28 | 22:47:11
The old protocol included a fleet message providing the rank and DTF of all listed boats. The new fleet message contains neither rank nor DTF, they are only available from the "UserCard". We could compute the "currently known DTL" as you click opponents in the game, but it won't be a lot of added value.
Post by iconPost by BooBill | 2020-11-28 | 23:26:24
Agree. Not having to click every boat in the fleet to get stats is probably the best feature of the new engine.
Post by iconPost by jf44 | 2020-12-06 | 18:41:01
Hi Hardtrack!
Very fine app to get the boats' positions.
But the MNEA / AIS messages does not give such info like "Friends" boats "Sail" nor "TWA" or "TWS". These data would be useful to display an acurate model 3D of the boats in G.E.

For the wind speed and angle I can calculate them with the wind map, but it's a lot of work and sometimes not very acurate...

But for the sails it would be very useful to get them in the AIS message.

I see two ways of doing it:
1) Divert the "Navigation status" field from messages of Types 1, 2 and 3: "Position Report Class A" (Length 4) and use a new convention like (0: Not sailing; 1: Jib; 2: Spi, etc.)
See https://gpsd.gitlab.io/gpsd/AIVDM.html#_types_1_2_and_3_position_report_class_a

2) Or divert the Type 5: Static and Voyage Related Data message

I think the first method would be the most easy to implement because info like "Under way using engine" or "Engaged in Fishing" does not seam very useful for a virtual regatta like our :))

Jean.


Post by iconPost by Hardtack | 2020-12-06 | 22:15:08
Hi Jean,

I'll be glad to help, but I don't think squeezing this information into NMEA messages is a good solution. Also, iiuc you're not using NMEA messages to create kml yet?
So why not use the getfleet message directly? I don't know your software environment but JSON parsers are available in practically any language. The message contains all the data you want. You can either grab the message from the debugger, or I can make a Dashboard / Python proxy version that saves it to file.
Post by iconPost by jf44 | 2020-12-06 | 23:40:48
OK Hardtrack, you are right. Do not modify the NMEA / AIS messages.
Up to now I use the "Fleet" filter of VT Dashbord, copy / paste the data in a form and push all the stuff in a boats' positions database. Then generate the maps.

Sure it would be more efficient to get directly the data from the debuger (getfleet). But it's something I have never done. It's time to learn.
First I'll read the kindly published VT Dashbord sources... and try to set up a proxy of mine :))

Regards.
Jean.




border
Topics list
Posts
border
1
border
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.