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
59c20c98
Commit
59c20c98
authored
Jun 01, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
075e4216
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
voxel_map_matcher.cc
libs/localize/voxel_map_matcher.cc
+2
-2
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+2
-2
No files found.
libs/localize/voxel_map_matcher.cc
View file @
59c20c98
...
...
@@ -60,7 +60,7 @@ inline float fast_match(FastVoxelMatcher *matcher, const VoxelMap *map, const Fa
#endif
return
result
->
score
;
}
return
result
->
score
;
return
-
1.
f
;
}
////////////////////////////////////////////////////////////
...
...
@@ -98,7 +98,7 @@ FastVoxelMapMatcher::~FastVoxelMapMatcher() {
float
FastVoxelMapMatcher
::
InnerMatch
(
const
VectorCloud
&
vector_cloud
,
const
GuessPose
guess_pose
,
const
Rigid3d
&
predict_pose
,
Rigid3d
&
estimate_pose
)
{
float
score
=
fast_match
(
matcher_
,
map_
,
fast_options_
,
vector_cloud
,
guess_pose
,
predict_pose
,
estimate_pose
);
return
score
>=
fast_options_
.
accepted_score
?
score
:
-
1
*
score
;
return
score
>=
fast_options_
.
accepted_score
?
score
:
-
1
;
}
////////////////////////////////////////////////////////////
...
...
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
59c20c98
...
...
@@ -403,8 +403,8 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
// Quaterniond(cloudInfo.filterPoseInfo.increasePose.linear()));
// guessPose.movement = cloudInfo.filterPoseInfo.increasePose.translation().norm();
// guessPose.rotation = fabs(increaseRpy.z());
guessPose
.
movement
=
0.6
;
guessPose
.
rotation
=
0.0
03
;
guessPose
.
movement
=
2
;
guessPose
.
rotation
=
0.0
1
;
guessPose
.
use_gnss
=
false
;
if
(
!
currMatcher_
->
IsMapLoaded
(
guess
.
translation
())){
currMatcher_
->
loadArea
(
guess
.
translation
());
...
...
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