[feat](trx-rs): map VDES positions and restore burst gating
Publish decoded VDES positions into the map and revert the VDES burst detector to its original gating thresholds. Co-authored-by: Stan Grams <sjg@haxx.space> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -244,6 +244,8 @@ window.onServerVdes = function(msg) {
|
||||
message_type: msg.message_type,
|
||||
bit_len: msg.bit_len,
|
||||
raw_bytes: msg.raw_bytes,
|
||||
lat: msg.lat,
|
||||
lon: msg.lon,
|
||||
vessel_name: msg.vessel_name,
|
||||
callsign: msg.callsign,
|
||||
destination: msg.destination,
|
||||
@@ -263,6 +265,9 @@ window.onServerVdes = function(msg) {
|
||||
fec_state: msg.fec_state,
|
||||
ts_ms: msg.ts_ms,
|
||||
});
|
||||
if (msg.lat != null && msg.lon != null && window.vdesMapAddPoint) {
|
||||
window.vdesMapAddPoint(msg);
|
||||
}
|
||||
};
|
||||
|
||||
updateVdesSummary();
|
||||
|
||||
Reference in New Issue
Block a user