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.
1 parent 1104054 commit fc786dfCopy full SHA for fc786df
js/tracker.js
@@ -2225,7 +2225,7 @@ function addPosition(position) {
2225
var curr_ts = convert_time(vehicle.curr_position.gps_time);
2226
var dt = (new_ts - curr_ts) / 1000; // convert to seconds
2227
2228
- if(dt >= 0) {
+ if(dt > 0) {
2229
if(vehicle.num_positions > 0) {
2230
// calculate vertical rate
2231
// TODO - Make this average over more points rather than use a FIR.
0 commit comments