Commit 3bd911b5 authored by limingbo's avatar limingbo

test mergemulti traj at one place

parent 21106463
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.5.2, 2022-03-17T17:17:26. --> <!-- Written by QtCreator 4.5.2, 2022-04-19T14:41:36. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>
......
...@@ -199,7 +199,12 @@ vector<pair<string, vector<pair<uint64_t, uint64_t>>>> crossFilter( ...@@ -199,7 +199,12 @@ vector<pair<string, vector<pair<uint64_t, uint64_t>>>> crossFilter(
auto iter = targetPeriods.find(targetIndex + 1); //first is query!plus 1! auto iter = targetPeriods.find(targetIndex + 1); //first is query!plus 1!
if(iter != targetPeriods.end()){ if(iter != targetPeriods.end()){
uint64_t end = octree.getInputCloud()->at(result_index).info; uint64_t end = octree.getInputCloud()->at(result_index).info;
iter->second.second = end;; if(end > iter->second.first){
iter->second.second = end;
}else{
iter->second.second = iter->second.first;
iter->second.first = end;
}
} }
} }
} }
......
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