We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c53092e + eb3cdbc commit aae7060Copy full SHA for aae7060
js/format.js
@@ -107,6 +107,14 @@ function formatData(data) {
107
if (data[key][i].telemetry_hidden && !showTesting){
108
continue;
109
}
110
+ // No GPS lock filter. Filter out positions with sats = 0, if sats is provided.
111
+ // The historical data API will do this already, but we need this to filter out data
112
+ // coming in via websockets.
113
+ if (data[key][i].hasOwnProperty("sats")){
114
+ if (data[key][i].sats == 0){
115
+ continue;
116
+ }
117
118
//
119
dataTempEntry.gps_lat = parseFloat((data[key][i].lat).toPrecision(8));
120
dataTempEntry.gps_lon = parseFloat((data[key][i].lon).toPrecision(8));
0 commit comments