Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
multiTraj
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangdawei
multiTraj
Commits
63ceb967
Commit
63ceb967
authored
Feb 07, 2023
by
limingbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix periodCloud size 0
parent
c8401a71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt.user
CMakeLists.txt.user
+1
-1
multi_traj_functions.cpp
apps/function/multi_traj_functions.cpp
+4
-0
No files found.
CMakeLists.txt.user
View file @
63ceb967
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.5.2, 202
2-07-04T15:04:40
. -->
<!-- Written by QtCreator 4.5.2, 202
3-02-02T11:19:58
. -->
<qtcreator>
<data>
<variable>
EnvironmentId
</variable>
...
...
apps/function/multi_traj_functions.cpp
View file @
63ceb967
...
...
@@ -195,6 +195,10 @@ void filterByPosition(
auto
period
=
oneRet
.
periods
.
at
(
periodIndex
);
PointCloudExport
periodCloud
=
getCloudFromPeriod
(
pointClouds
.
at
(
oneRet
.
index
),
period
);
LOG
(
INFO
)
<<
"periodCloud.size(): "
<<
periodCloud
.
size
();
if
(
0
==
periodCloud
.
size
()){
continue
;
}
float
resolution
=
5.
f
;
pcl
::
octree
::
OctreePointCloudSearch
<
PointExport
>
octree
(
resolution
);
octree
.
setInputCloud
(
boost
::
make_shared
<
PointCloudExport
>
(
periodCloud
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment