kopia lustrzana https://github.com/projecthorus/chasemapper
Add SV information to payload info table
rodzic
48e8eae239
commit
6e3caf005a
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue