Add SV information to payload info table

pull/51/head
Mark Jessop 2024-05-03 10:15:35 +09:30
rodzic 48e8eae239
commit 6e3caf005a
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -184,6 +184,7 @@ function initTables(){
{title:"Longitude", field:"lon", headerSort:false},
{title:"Alt (m)", field:"alt", headerSort:false},
{title:"V_rate (m/s)", field:"vel_v", headerSort:false},
{title:"SVs", field:'sats', headerSort:false, visible:false},
{title:"SNR", field:'snr', headerSort:false, visible:false},
{title:"Aux", field:'aux', headerSort:false, visible:false}
],
@ -243,6 +244,7 @@ function initTablesImperial(){
{title:"Longitude", field:"lon", headerSort:false},
{title:"Alt (ft)", field:"alt", headerSort:false},
{title:"V_rate (ft/min)", field:"vel_v", headerSort:false},
{title:"SVs", field:'sats', headerSort:false, visible:false},
{title:"SNR", field:'snr', headerSort:false, visible:false},
{title:"Aux", field:'aux', headerSort:false, visible:false}
],
@ -323,6 +325,11 @@ function updateTelemetryTable(){
}
}
if (balloon_call_data.hasOwnProperty('sats')){
balloon_call_data.sats = balloon_call_data.sats.toFixed(0);
$("#telem_table").tabulator("showColumn", "sats");
}
// Update table
telem_data.push(balloon_call_data);
}