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
51166134
Commit
51166134
authored
May 24, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
6ae1019d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
localize_ppk.cpp
apps/localize_ppk.cpp
+3
-0
adjust_ppk_by_locate.zip
libs/locate_system/adjust_ppk_by_locate.zip
+0
-0
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+1
-1
convert.h
libs/locate_system/adjust_ppk_by_locate/convert.h
+1
-1
No files found.
apps/localize_ppk.cpp
View file @
51166134
...
...
@@ -53,6 +53,9 @@ int main(int argc, char *argv[])
FLAGS_colorlogtostderr
=
true
;
FLAGS_stderrthreshold
=
0
;
FLAGS_logbufsecs
=
0
;
pandar_pointcloud
::
Convert
::
SetEnvironmentVariableTZ
();
if
(
boost
::
filesystem
::
exists
(
FLAGS_ie_base_dir
)){
FLAGS_log_dir
=
FLAGS_ie_base_dir
+
"/log"
;
boost
::
filesystem
::
create_directory
(
FLAGS_log_dir
);
...
...
libs/locate_system/adjust_ppk_by_locate.zip
View file @
51166134
No preview for this file type
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
51166134
...
...
@@ -96,7 +96,7 @@ void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
cloudPacket
.
cloud
.
reserve
(
cloud
.
size
());
LOG
(
INFO
)
<<
setprecision
(
15
)
<<
"OnReceivedCloud: "
<<
cloudPacket
.
timestamp
<<
" cloud.size()"
<<
cloud
.
size
();
pcl
::
io
::
savePCDFileBinary
(
ieBaseDir_
+
"/"
+
to_string
(
cloudPacket
.
timestamp
)
+
".pcd"
,
cloud
);
//
pcl::io::savePCDFileBinary(ieBaseDir_ + "/" + to_string(cloudPacket.timestamp) + ".pcd", cloud);
return
;
for
(
const
auto
&
p
:
cloud
){
PointInter
point
;
...
...
libs/locate_system/adjust_ppk_by_locate/convert.h
View file @
51166134
...
...
@@ -395,6 +395,7 @@ class Convert {
int
processLiDARData
();
void
publishPoints
();
static
void
SetEnvironmentVariableTZ
();
private
:
void
init
(
pandar_msgs
::
PandarPacket
packet
);
void
processGps
(
const
pandar_msgs
::
PandarGps
::
ConstPtr
&
gpsMsg
);
...
...
@@ -415,7 +416,6 @@ class Convert {
void
moveTaskEndToStartAngle
();
void
init
();
void
checkClockwise
();
void
SetEnvironmentVariableTZ
();
bool
isNeedPublish
();
bool
processPacket
(
PPointCloud
&
pc
);
...
...
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