Shane Smiskol
b4a9c67bbe
qcomgps: fix NameError on teardown ( #34545 )
...
continue teardown if diag not there
3 months ago
commaci-public
4d714113d1
[bot] Update Python packages ( #34376 )
...
* Update Python packages
* time -> time_helpers
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
3 months ago
commaci-public
c6e4241bad
[bot] Update Python packages ( #34140 )
...
* Update Python packages
* pin
* fstring
* this too
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
5 months ago
Mauricio Alvarez Leon
008008b03a
Update to Python 3.12 ( #32548 )
...
* 3.12
* pprofile is broken
* use modified metadrivepy3-12
* 0.3.0 metadrive
* add metadrive/commaai git dependency
* metadrive git set
* pin sounddevice 0.4.6
* datetime.utcnow() deprecation
* poetry lock
* make datetime not aware
* poetry lock
* pin pytools
* google_crc32c wheel
* unpin sounddevice
* clean metadrive
* use python crc
* mypy
* 3.12.4
* allow python3.11
* test
* no pip
* poetry
* better
* better
* merge
* remove
* try
* test
* try this
* snok
* python
* simpler
* setuptools
* lower
* try
* try
* work?
* ubuntu deps
* ubuntu
* try
* remove
* move
* remove this
* names
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* python<4
* <3.13
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 148eaf8fa6
11 months ago
Adeeb Shihadeh
fd65dcae83
qcomgpsd: don't send bad time assistance ( #32151 )
...
old-commit-hash: bc4c39404a
1 year ago
Adeeb Shihadeh
6bf5c62155
add hasFix field to gpsLocation ( #31778 )
...
* add hasFix field to gpsLocation
* migration
* update refs for ubloxd
* cereal master
old-commit-hash: a0389d7120
1 year ago
Adeeb Shihadeh
383f9518df
cgpsd ( #31781 )
...
* cgpsd
* latlong is good
* more sentences
* little more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fbe6b2c73b
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
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