Commit 390d06a0 authored by limingbo's avatar limingbo

test

parent f4c5968a
Pipeline #860 canceled with stages
...@@ -16,13 +16,17 @@ vector<string> getCloseTasks( ...@@ -16,13 +16,17 @@ vector<string> getCloseTasks(
continue; continue;
} }
string rawTraceDir = task_iter->path().string() + "/raw_trace"; string rawTraceDir = task_iter->path().string() + "/raw_trace";
if (!is_directory(rawTraceDir)){ if(!is_directory(rawTraceDir)){
continue; continue;
} }
string iePath = rawTraceDir + "/ie.txt"; string iePath = rawTraceDir + "/ie.txt";
if (!exists(iePath)){ if(!exists(iePath)){
continue; continue;
} }
if(currTraj->getTrajPath() == iePath){
continue;
}
TrajPoint trajPoint; TrajPoint trajPoint;
getFstTraj(iePath, trajPoint, proj); getFstTraj(iePath, trajPoint, proj);
if(trajPoint.translation.norm() > 30000){ if(trajPoint.translation.norm() > 30000){
......
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