Commit 37018afa authored by limingbo's avatar limingbo

test

parent 03e2c139
......@@ -238,7 +238,7 @@ void filterByPosition(
filteredOneRet.periods.push_back(ret.at(index).periods.at(longestIndex.second));
PointCloudExport periodCloud =
getCloudFromPeriod(pointClouds.at(oneRet.index), filteredOneRet.periods.back());
pcl::io::savePCDFileBinary("/tmp/" + to_string(filteredOneRet.trajPath) +
pcl::io::savePCDFileBinary("/tmp/" + closeTrajInfo.trajPath +
"_" + to_string(filteredOneRet.periods.back().first) +
".pcd", periodCloud);
findIndex = true;
......@@ -253,7 +253,7 @@ void filterByPosition(
filteredRet.push_back(closeTrajInfo);
PointCloudExport periodCloud =
getCloudFromPeriod(pointClouds.at(oneRet.index), closeTrajInfo.periods.back());
pcl::io::savePCDFileBinary("/tmp/" + to_string(closeTrajInfo.trajPath) +
pcl::io::savePCDFileBinary("/tmp/" + closeTrajInfo.trajPath +
"_" + to_string(closeTrajInfo.periods.back().first) +
".pcd", periodCloud);
}
......
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