Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guido Gunther
gnss_share
Commits
8d84dbcb
Verified
Commit
8d84dbcb
authored
Jun 02, 2021
by
Clayton Craft
Browse files
stm_agps/load: check for existence of all agps files
parent
c3a45902
Changes
1
Show whitespace changes
Inline
Side-by-side
gnss_share/stm_agps.py
View file @
8d84dbcb
...
@@ -129,7 +129,7 @@ class STM_AGPS:
...
@@ -129,7 +129,7 @@ class STM_AGPS:
ephemeris_path
=
os
.
path
.
join
(
dir
,
'ephemeris.txt'
)
ephemeris_path
=
os
.
path
.
join
(
dir
,
'ephemeris.txt'
)
for
file
in
[
almanac_path
,
ephemeris_path
]:
for
file
in
[
almanac_path
,
ephemeris_path
]:
if
not
os
.
path
.
exists
(
almanac_path
):
if
not
os
.
path
.
exists
(
file
):
self
.
__log
.
warn
(
f
"AGPS file not found:
{
file
}
"
)
self
.
__log
.
warn
(
f
"AGPS file not found:
{
file
}
"
)
self
.
__log
.
warn
(
"*NOT* loading AGPS data"
)
self
.
__log
.
warn
(
"*NOT* loading AGPS data"
)
return
return
...
...
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