Commit 5a45d7f5 authored by limingbo's avatar limingbo

test

parent 765756b0
Pipeline #868 canceled with stages
...@@ -28,7 +28,9 @@ vector<string> getCloseTasks( ...@@ -28,7 +28,9 @@ vector<string> getCloseTasks(
} }
TrajPoint trajPoint; TrajPoint trajPoint;
getFstTraj(iePath, trajPoint, proj); if(getFstTraj(iePath, trajPoint, proj)){
continue;
}
if(trajPoint.translation.norm() > 30000){ if(trajPoint.translation.norm() > 30000){
continue; continue;
} }
...@@ -51,6 +53,9 @@ bool getFstTraj(const string &iePath, ...@@ -51,6 +53,9 @@ bool getFstTraj(const string &iePath,
ifs.close(); ifs.close();
vector<string> line_vec; vector<string> line_vec;
boost::split(line_vec, line, boost::is_any_of(","), boost::token_compress_on); boost::split(line_vec, line, boost::is_any_of(","), boost::token_compress_on);
if(line_vec.size() < 13){
return false;
}
PPK_Raw_Info ppk_raw_info; PPK_Raw_Info ppk_raw_info;
ppk_raw_info.gps_week = stoi(line_vec[1]); ppk_raw_info.gps_week = stoi(line_vec[1]);
ppk_raw_info.gps_sec = stod(line_vec[2]); ppk_raw_info.gps_sec = stod(line_vec[2]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment