royjr
70624ffc81
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
1 year ago
Adeeb Shihadeh
2f2b9c782e
qcomgpsd: retry quectel setup ( #30632 )
1 year ago
Adeeb Shihadeh
51fa7b227a
qcomgpsd: move retry logic to a decorator ( #30633 )
...
* qcomgpsd: move retry logic to a decorator
* make that same
* fix
* fix that
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
a1d36961cf
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
1 year ago
Harald Schäfer
8e88366955
Qcomgpsd: Dont use system timezone ( #30508 )
1 year ago
Adeeb Shihadeh
4cae08e636
rename rawgpsd to qcomgpsd ( #30493 )
...
* rename rawgpsd to qcomgpsd
* fix more paths
* that moved
* forgot the d
1 year ago
Harald Schäfer
c0942dbf9f
Rm laika deps in rawgpsd ( #30452 )
...
* Rm more laikad references
* rawgpsd usage of laika
* bugfix
1 year ago
Adeeb Shihadeh
9c7e5ca6ea
rawgpsd: add flag for cold start ( #30224 )
...
* rawgpsd: add flag for cold start
* other datasheet is wrong
* keep things in a good state
2 years ago
Greg Hogan
5058f31908
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
2 years ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Adeeb Shihadeh
42e106dd47
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
f310d501f4
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
14001be605
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9113816e1d
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Harald Schäfer
9054590c95
Rawgpsd: retry even more on setup ( #29045 )
2 years ago
Vivek Aithal
f7471f9108
[Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate ( #28989 )
...
change bearingAccuracyDeg from 0 to 180 deg, when invalid
2 years ago
Harald Schäfer
601d133bba
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
2 years ago
Harald Schäfer
966c5f476a
Qcom gps: retry logs setup ( #28952 )
2 years ago
Harald Schäfer
c8965b0e60
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>
2 years ago
Harald Schäfer
80eff1b6ce
Rawgpsd: cleanup init ( #28890 )
...
* Rawgpsd: cleanup init
* back to default
* Fix injection time check
* add quotes
* change to 12 hrs
* Fixes
2 years ago
Harald Schäfer
47ee0932db
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
2 years ago
Adeeb Shihadeh
f2bbb33a8a
rawgpsd: bring back SUPL config ( #28858 )
2 years ago
Adeeb Shihadeh
5992bf4acc
rawgpsd tests ( #28683 )
...
* rawgpsd tests
* test xtra
* check freq
* fix
* restart lte
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
e276d2a417
update pylint ( #28395 )
...
* update pylint
* update config
* fix
2 years ago
Adeeb Shihadeh
04556652dc
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>
2 years ago
Harald Schäfer
b35d525cc9
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
2 years ago
Shane Smiskol
c9804f8ec2
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
2 years ago
Adeeb Shihadeh
6f40f0d442
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
2 years ago
Adeeb Shihadeh
d7bcbfd54b
rawgpsd: enable gps power ( #27034 )
2 years ago
Kurt Nistelberger
8f70a84a41
QuectelGPS: add supl server ( #26259 )
...
add supl server
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
Kurt Nistelberger
16b7d726b3
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>
3 years ago
Kurt Nistelberger
8809116a26
remove null effect assert
3 years ago
Kurt Nistelberger
549452f84d
rawgpsd: log + skip unknown responses ( #26043 )
...
* skip DIAG_EVENT_REPORT_F events
* .
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
Kurt Nistelberger
182c5c4810
add extra logging for rawgpsd opcode crash
3 years ago
HaraldSchafer
57a82ced28
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>
3 years ago
Adeeb Shihadeh
1f5187892f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
e59008bf93
rawgpsd: more robust + simple test ( #25977 )
...
* rawgps cleanup
* wait for modem manager
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
HaraldSchafer
54e54fb585
Qcom use laika timestamp ( #25344 )
...
* Qcom location: use laika to generate unix timestamp
* bump laika
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
HaraldSchafer
32201bbbbd
Quectel unix timestamp ( #25329 )
...
* Use laika
* Fix bug
* Better timestamp name
* Better name
* bump cereal
3 years ago
HaraldSchafer
98146f5858
Gather quectel GPS data ( #25300 )
...
* bump cereal
* Use old name
* back to default
3 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
George Hotz
5af52627de
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>
3 years ago
Comma Device
98cde5848e
rawgps: fix crash, disable DPO
3 years ago
George Hotz
1df3c86999
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>
3 years ago