Commit 1f70ec73 authored by limingbo's avatar limingbo

update

parent 1e35434a
<?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-02-28T16:38:20. --> <!-- Written by QtCreator 4.5.2, 2022-02-28T17:44:59. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{a481ffb4-75ee-455c-9443-95f457b0df68}</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{a481ffb4-75ee-455c-9443-95f457b0df68}</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguation.Title">multi_traj</value> <value type="QString" key="CMakeProjectManager.CMakeRunConfiguation.Title">multi_traj</value>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.Arguments">--base_dir=/home/juefx/temp/2069</value> <value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.Arguments">--base_dir=/home/juefx/temp/2069</value>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.UserWorkingDirectory"></value> <value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.UserWorkingDirectory"></value>
<value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.UserWorkingDirectory.default">/home/juefx/workspace/multitraj/build-multitraj-Desktop-Debug/apps</value> <value type="QString" key="CMakeProjectManager.CMakeRunConfiguration.UserWorkingDirectory.default">/home/juefx/workspace/multitraj/build-multitraj-Desktop-Release/apps</value>
<value type="int" key="PE.EnvironmentAspect.Base">2</value> <value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">multi_traj</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">multi_traj</value>
......
...@@ -173,7 +173,9 @@ vector<pair<string, vector<pair<uint64_t, uint64_t>>>> crossFilter( ...@@ -173,7 +173,9 @@ vector<pair<string, vector<pair<uint64_t, uint64_t>>>> crossFilter(
pcl::octree::OctreePointCloudSearch<PointExport> octree(resolution); pcl::octree::OctreePointCloudSearch<PointExport> octree(resolution);
octree.setInputCloud(pointClouds.front()); octree.setInputCloud(pointClouds.front());
octree.addPointsFromInputCloud(); octree.addPointsFromInputCloud();
pcl::io::savePCDFileBinary("/home/juefx/0.pcd", *pointClouds[0]);
for(size_t pcIndex = 1; pcIndex < pointClouds.size(); pcIndex++){ for(size_t pcIndex = 1; pcIndex < pointClouds.size(); pcIndex++){
pcl::io::savePCDFileBinary("/home/juefx/" + to_string(pcIndex) + ".pcd", *pointClouds[pcIndex]);
bool found = false; bool found = false;
bool inPeriod = false; bool inPeriod = false;
uint64_t start =0, end = 0; uint64_t start =0, end = 0;
......
...@@ -64,7 +64,7 @@ int main(int argc, char *argv[]) ...@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
stoi(boost::filesystem::path(task.first).filename().string()); stoi(boost::filesystem::path(task.first).filename().string());
ofs << meshId; ofs << meshId;
for(auto period : task.second){ for(auto period : task.second){
ofs << setprecision(15) << " " << period.first << " " << period.second; ofs << setprecision(15) << " " << period.first << " " << period.second - period.first;
} }
ofs << std::endl; ofs << std::endl;
......
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