Commit d61883d7 authored by limingbo's avatar limingbo

test

parent f234f504
...@@ -59,10 +59,12 @@ bool getTaskInfo( ...@@ -59,10 +59,12 @@ bool getTaskInfo(
TaskInfo &taskInfo) TaskInfo &taskInfo)
{ {
if (!is_directory(taskPath)){ if (!is_directory(taskPath)){
LOG(INFO) << "no directory: " << taskPath;
return false; return false;
} }
string rawTraceDir = taskPath + "/raw_trace"; string rawTraceDir = taskPath + "/raw_trace";
if(!is_directory(rawTraceDir)){ if(!is_directory(rawTraceDir)){
LOG(INFO) << "no directory: " << rawTraceDir;
return false; return false;
} }
string trajPath = rawTraceDir + "/sample.gps"; string trajPath = rawTraceDir + "/sample.gps";
...@@ -70,6 +72,7 @@ bool getTaskInfo( ...@@ -70,6 +72,7 @@ bool getTaskInfo(
trajPath = rawTraceDir + "/ie.txt";; trajPath = rawTraceDir + "/ie.txt";;
} }
if(!exists(trajPath)){ if(!exists(trajPath)){
LOG(INFO) << "dont exists: " << trajPath;
return false; return false;
} }
taskInfo.taskPath = taskPath; taskInfo.taskPath = taskPath;
...@@ -78,6 +81,7 @@ bool getTaskInfo( ...@@ -78,6 +81,7 @@ bool getTaskInfo(
if(!exists(meshOutPath)){ if(!exists(meshOutPath)){
taskInfo.meshOutPath = meshOutPath; taskInfo.meshOutPath = meshOutPath;
} }
return true;
} }
vector<TaskInfo> meshOutFilter( vector<TaskInfo> meshOutFilter(
......
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