Fix a typo introduced when supporting faster than integer gps clocks.
This commit is contained in:
parent
3511607527
commit
a4e1daef5c
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue