From a4e1daef5cb5b3239b8a00b32ef287a2b3d2e701 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 2 Oct 2007 21:51:50 +0000 Subject: [PATCH] Fix a typo introduced when supporting faster than integer gps clocks. --- utils/GPSsmooth/gps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/GPSsmooth/gps.cxx b/utils/GPSsmooth/gps.cxx index 670353ed2..1a83e70c8 100644 --- a/utils/GPSsmooth/gps.cxx +++ b/utils/GPSsmooth/gps.cxx @@ -84,7 +84,7 @@ int GPSTrack::load( const string &file ) { } else if ( tokens[0] == "$GPGGA" && tokens.size() == 15 ) { double raw_time = atof(tokens[1].c_str()); GPSTime gps_time = GPSTime( raw_time ); - if ( fabs(gps_time.get_time() - p.gps_time.get_time()) < 0.0001 && + if ( fabs(gps_time.get_time() - p.gps_time.get_time()) > 0.0001 && (p.gps_time.get_time() > 1.0) ) { // new data cycle store last data before continuing data.push_back( p ); -- 2.39.5