Adeeb Shihadeh
f5beedfaec
qcomgpsd: use AT helper with retry for all AT commands ( #31532 )
...
old-commit-hash: 34138d0be9
1 year ago
royjr
d41f215df8
dependency: remove pycurl package ( #30771 )
...
* Update qcomgpsd.py
* Update url_file.py
* remove pycurl
* requests -> urllib3
* unused
* redundant
* fix import
* Revert "requests -> urllib3"
This reverts commit 7ca39e6189
.
* headless
* fix trail
* use requests.exceptions.RequestException
* use fp.tell
* fix indents
* reorder imports
* change timeout
* fix debug timing
* remove exception
* add timeout
* missing headers
* move to constructor
* move import
* unused import
* fix debug
* try
* no retries
old-commit-hash: 70624ffc81
1 year ago
Adeeb Shihadeh
e59a830852
qcomgpsd: retry quectel setup ( #30632 )
...
old-commit-hash: 2f2b9c782e
1 year ago
Adeeb Shihadeh
5fbf86a4d9
qcomgpsd: move retry logic to a decorator ( #30633 )
...
* qcomgpsd: move retry logic to a decorator
* make that same
* fix
* fix that
old-commit-hash: 51fa7b227a
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Harald Schäfer
f77e9dfd7d
Qcomgpsd: Dont use system timezone ( #30508 )
...
old-commit-hash: 8e88366955
1 year ago
Adeeb Shihadeh
ca85e5b82a
rename rawgpsd to qcomgpsd ( #30493 )
...
* rename rawgpsd to qcomgpsd
* fix more paths
* that moved
* forgot the d
old-commit-hash: 4cae08e636
1 year ago
Harald Schäfer
91920dcf66
Rm laika deps in rawgpsd ( #30452 )
...
* Rm more laikad references
* rawgpsd usage of laika
* bugfix
old-commit-hash: c0942dbf9f
1 year ago
Adeeb Shihadeh
b76d7d0068
rawgpsd: add flag for cold start ( #30224 )
...
* rawgpsd: add flag for cold start
* other datasheet is wrong
* keep things in a good state
old-commit-hash: 9c7e5ca6ea
2 years ago
Greg Hogan
de996d76bb
rename GPIO pin with ublox in the name that is not ublox specific ( #29702 )
...
* rename UBLOX_PWR_EN to GNSS_PWR_EN
* add schematic label as comment
old-commit-hash: 5058f31908
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e65924
2 years ago
Adeeb Shihadeh
e83ade5c18
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 42e106dd47
2 years ago
Adeeb Shihadeh
8519efbc9b
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f310d501f4
2 years ago
Adeeb Shihadeh
709125ed04
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14001be605
2 years ago
Adeeb Shihadeh
8932524fe8
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9113816e1d
2 years ago
Harald Schäfer
fccb8f0a6d
Rawgpsd: retry even more on setup ( #29045 )
...
old-commit-hash: 9054590c95
2 years ago
Vivek Aithal
cb60085777
[Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate ( #28989 )
...
change bearingAccuracyDeg from 0 to 180 deg, when invalid
old-commit-hash: f7471f9108
2 years ago
Harald Schäfer
a94a56db49
qcom gps: Always pull in thread ( #28951 )
...
* Laikad: cleanup zmq cloudlog warnings
* Handle in cloudlog
* whitespace
* whitespace
* Always pull in thread
* Stop downloading when you have fix
* check if exist
* Atomic move after download
* Increase wait
* merge
old-commit-hash: 601d133bba
2 years ago
Harald Schäfer
8f7729809d
Qcom gps: retry logs setup ( #28952 )
...
old-commit-hash: 966c5f476a
2 years ago
Harald Schäfer
f7771c5538
Qcom gps: retry assistance ( #28723 )
...
* Retry assistance
* rm whitespace
* Only inject when it's there
* will be rmd anyway
* Update test
* Actually disable internet in test
* Fix tests
* cleanup test
* fix tests more
* add late assist test
* use process
* Dont double clear
* ignore
* Small improvements
* Make tests
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8965b0e60
2 years ago
Harald Schäfer
92c77ef506
Rawgpsd: cleanup init ( #28890 )
...
* Rawgpsd: cleanup init
* back to default
* Fix injection time check
* add quotes
* change to 12 hrs
* Fixes
old-commit-hash: 80eff1b6ce
2 years ago
Harald Schäfer
ef407c9ad9
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
old-commit-hash: 47ee0932db
2 years ago
Adeeb Shihadeh
0fbdad53ab
rawgpsd: bring back SUPL config ( #28858 )
...
old-commit-hash: f2bbb33a8a
2 years ago
Adeeb Shihadeh
8d80b8445c
rawgpsd tests ( #28683 )
...
* rawgpsd tests
* test xtra
* check freq
* fix
* restart lte
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5992bf4acc
2 years ago
Adeeb Shihadeh
91a47d61c5
update pylint ( #28395 )
...
* update pylint
* update config
* fix
old-commit-hash: e276d2a417
2 years ago
Adeeb Shihadeh
3952090f7f
rawgpsd: fix loading assistance data ( #28381 )
...
* rawgpsd: fix loading assistance data
* needs a specific name
* cleanup
* more logging
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 04556652dc
2 years ago
Harald Schäfer
c957a61c12
Assisted GPS qcom ( #28278 )
...
* Assisted GPS works
* cleanup
* add error handling
* use pycurl instead with timeout
* Add file size check
* More cleanup
* more cleanup
* Dont crash on large file
old-commit-hash: b35d525cc9
2 years ago
Shane Smiskol
1f46287206
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
old-commit-hash: c9804f8ec2
2 years ago
Adeeb Shihadeh
47d30174d3
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
old-commit-hash: 6f40f0d442
2 years ago
Adeeb Shihadeh
fc2743e9df
rawgpsd: enable gps power ( #27034 )
...
old-commit-hash: d7bcbfd54b
2 years ago
Kurt Nistelberger
c2225a4943
QuectelGPS: add supl server ( #26259 )
...
add supl server
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 8f70a84a41
3 years ago
Kurt Nistelberger
5b90a8ce15
quectel no sim GPS support ( #26227 )
...
* add no sim gps support
* address comments
* remove xtra assistance enabling
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 16b7d726b3
3 years ago
Kurt Nistelberger
31c9cdd5a0
remove null effect assert
...
old-commit-hash: 8809116a26
3 years ago
Kurt Nistelberger
cadd6be7a1
rawgpsd: log + skip unknown responses ( #26043 )
...
* skip DIAG_EVENT_REPORT_F events
* .
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 549452f84d
3 years ago
Kurt Nistelberger
52e592ddc1
add extra logging for rawgpsd opcode crash
...
old-commit-hash: 182c5c4810
3 years ago
HaraldSchafer
549a65d51e
rawgpsd: publish ephemerides ( #25931 )
...
* add svpoly parsing
* Publish poly
* add source check
* add safety check for invalid gpsWeek values
* address PR comments
* add qcom ephemeris source type
* bump cereal and laika
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 57a82ced28
3 years ago
Adeeb Shihadeh
c31c77668f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1f5187892f
3 years ago
Adeeb Shihadeh
946a603f32
rawgpsd: more robust + simple test ( #25977 )
...
* rawgps cleanup
* wait for modem manager
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e59008bf93
3 years ago
HaraldSchafer
b3dd79b720
Qcom use laika timestamp ( #25344 )
...
* Qcom location: use laika to generate unix timestamp
* bump laika
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54e54fb585
3 years ago
HaraldSchafer
21ccf4a6fd
Quectel unix timestamp ( #25329 )
...
* Use laika
* Fix bug
* Better timestamp name
* Better name
* bump cereal
old-commit-hash: 32201bbbbd
3 years ago
HaraldSchafer
0fcd3d4e51
Gather quectel GPS data ( #25300 )
...
* bump cereal
* Use old name
* back to default
old-commit-hash: 98146f5858
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
George Hotz
1dc3805193
rawgps: add oemdre support ( #24059 )
...
* oemdre works
* fast receive
* parse oemdre
* parsing dre
* parsing oemdre
* unused import
* remove unparsed msgs
* import, don't redefine
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5af52627de
3 years ago
Comma Device
a014a4b18e
rawgps: fix crash, disable DPO
...
old-commit-hash: 98cde5848e
3 years ago
George Hotz
e929e32bc7
sensord: add support for Quectel raw gps ( #24027 )
...
* connecting to rawgps
* dumping rawfps packets
* this works, but it might be useless
* fix parsing
* parsing 0x1476
* compare
* compare better
* refactoring
* parsing and broadcasting GPS packet
* glonass support
* compare using submaster
* fix compare for glonass
* update cereal
* make linter happy
* other linter issue
* last mypy complaints
* add support for publishing gpsLocationExternal
* set flags to 1 to match ubloxd
* ready to ship
* qcomdiag
* use unused variables
* last one
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1df3c86999
3 years ago