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
d1b65e57
Commit
d1b65e57
authored
May 30, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
d1a24026
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
voxel_map_interface.h
libs/localize/voxel_map/voxel_map_interface.h
+2
-2
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+6
-2
mesharea.cpp
libs/voxel_map/libs/area/mesharea.cpp
+1
-1
No files found.
libs/localize/voxel_map/voxel_map_interface.h
View file @
d1b65e57
...
...
@@ -3,7 +3,7 @@
//#include "voxel_map_stub.h"
#include "voxel_map/interface/voxel_map.h"
#define VOXEL_MAP_DEBUG
#define VOXEL_MAP_FAST_DEBUG
//
#define VOXEL_MAP_DEBUG
//
#define VOXEL_MAP_FAST_DEBUG
//#define VOXEL_MAP_CERES_DEBUG
//#define VOXEL_MAP_CERES_OUTPUT_NUM 0
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
d1b65e57
...
...
@@ -363,7 +363,8 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
Quaternionf
q
(
mapPose_
.
linear
());
Vector3f
rpy
=
RotationQuaternionToEulerVector
(
q
);
LOG
(
INFO
)
<<
"guessPose: "
<<
mapPose_
.
translation
().
transpose
()
LOG
(
INFO
)
<<
setprecision
(
15
)
<<
"cloud time: "
<<
cloudInfo
.
timestamp
<<
" guessPose: "
<<
mapPose_
.
translation
().
transpose
()
<<
" rpy: "
<<
rpy
.
transpose
();
// pcl::io::savePCDFileBinary(ieBaseDir_ + "/baseCloud/" + to_string(cloudInfo.timestamp) + ".pcd", *cloudInfo.frame);
GnssPoint
finalGnssPose
;
...
...
@@ -418,7 +419,10 @@ void AdjustPPK::LoadMap()
if
(
LoadMesh
(
streamPath
,
meshInfo
.
matcher
)){
LOG
(
INFO
)
<<
"mesh loaded: "
<<
meshId
;
for
(
size_t
id
=
period
.
startId
;
id
<=
period
.
endId
;
id
+=
100
){
meshInfo
.
matcher
->
loadArea
(
localPoseVec_
.
at
(
id
).
pose
.
translation
());
auto
pose
=
localPoseVec_
.
at
(
id
).
pose
;
if
(
!
meshInfo
.
matcher
->
IsMapLoaded
(
pose
.
translation
())){
meshInfo
.
matcher
->
loadArea
(
pose
.
translation
());
}
}
}
}
...
...
libs/voxel_map/libs/area/mesharea.cpp
View file @
d1b65e57
...
...
@@ -238,7 +238,7 @@ void MeshArea::reSetupNeighBorMesh()
bool
MeshArea
::
checkBlockAtAreaToLoad
(
const
Vector2i
&
shiftedIndexToCheck
)
{
LOG
(
INFO
)
<<
"shiftedIndexToCheck: "
<<
shiftedIndexToCheck
.
transpose
();
//
LOG(INFO) << "shiftedIndexToCheck: " << shiftedIndexToCheck.transpose();
Vector2i
centerIndex
(
shiftedIndexToCheck
.
x
(),
shiftedIndexToCheck
.
y
());
for
(
unsigned
int
i
=
0
;
i
<
checkNeighbors_
.
size
();
i
++
){
Vector2i
curr_index
=
centerIndex
+
checkNeighbors_
[
i
];
...
...
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