Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
localize_for_ppk
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
localize_for_ppk
Commits
c08b712e
Commit
c08b712e
authored
May 30, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
bebd66f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+7
-4
No files found.
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
c08b712e
...
...
@@ -390,10 +390,13 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
}
Isometry3f
finalPose
;
float
score
=
currMatcher_
->
MatchPointCloud
(
cloudInfo
.
frame
,
guessPose
,
finalGnssPose
,
finalPose
);
if
(
score
<
0
){
return
false
;
}
mapPose_
=
finalPose
.
cast
<
double
>
();
// if(score < 0.45
){
// return fals
e;
//
}
if
(
score
==
0
){
return
tru
e
;
}
guessPose
.
map_point
=
mapPose_
.
cast
<
double
>
();
guessPose
.
precision_type
=
MATCH_PRECISION_HIGH
;
currMatcher_
->
MatchPointCloud
(
cloudInfo
.
frame
,
guessPose
,
finalGnssPose
,
finalPose
);
...
...
@@ -470,7 +473,7 @@ bool AdjustPPK::LoadMesh(const string &streamPath, boost::shared_ptr<VoxelMapMat
LOG
(
INFO
)
<<
"mesh to load: "
<<
streamPath
;
VoxelMapMatcherOption
option
;
option
.
option
.
filter_resolution
=
0.9
;
option
.
option
.
filter_resolution
=
1.0
;
option
.
option
.
cloud_range
=
80
;
option
.
fast_option
.
accepted_score
=
0.35
;
option
.
fast_option
.
accepted_low_score
=
0.45
;
...
...
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