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
86d301a6
Commit
86d301a6
authored
May 23, 2023
by
wangdawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
4f9eeeb3
Pipeline
#1541
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
localize_ppk.cpp
apps/localize_ppk.cpp
+1
-0
adjust_ppk.cpp
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
+1
-0
No files found.
apps/localize_ppk.cpp
View file @
86d301a6
...
@@ -64,6 +64,7 @@ int main(int argc, char *argv[])
...
@@ -64,6 +64,7 @@ int main(int argc, char *argv[])
directory_iterator
bag_end_iter
;
directory_iterator
bag_end_iter
;
for
(;
bag_iter
!=
bag_end_iter
;
bag_iter
++
)
{
for
(;
bag_iter
!=
bag_end_iter
;
bag_iter
++
)
{
if
(
bag_iter
->
path
().
extension
().
string
()
==
".bag"
){
if
(
bag_iter
->
path
().
extension
().
string
()
==
".bag"
){
LOG
(
INFO
)
<<
"bag found: "
<<
bag_iter
->
path
().
string
();
adjustPPK
.
ReadBag
(
bag_iter
->
path
().
string
());
adjustPPK
.
ReadBag
(
bag_iter
->
path
().
string
());
break
;
break
;
}
}
...
...
libs/locate_system/adjust_ppk_by_locate/adjust_ppk.cpp
View file @
86d301a6
...
@@ -40,6 +40,7 @@ void AdjustPPK::ConfigConvert(const string &firetimeFile, const string &correcti
...
@@ -40,6 +40,7 @@ void AdjustPPK::ConfigConvert(const string &firetimeFile, const string &correcti
void
AdjustPPK
::
ReadBag
(
const
string
&
bagPath
)
void
AdjustPPK
::
ReadBag
(
const
string
&
bagPath
)
{
{
if
(
!
convert_
){
if
(
!
convert_
){
LOG
(
FATAL
)
<<
"!convert_"
;
return
;
return
;
}
}
LOG
(
INFO
)
<<
"ReadBag: "
<<
bagPath
;
LOG
(
INFO
)
<<
"ReadBag: "
<<
bagPath
;
...
...
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