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
af3ed37c5c
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Adeeb Shihadeh
1945c356c2
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
2 years ago
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f
.
2 years ago
Maxime Desroches
76ef1b9b9f
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421
.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
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
Harald Schäfer
221cd0ab09
Laikad: fix qcom report collection ( #28879 )
...
* Make report aggregation variable
* Add laikad test now it passes
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
e63e2dde18
don't block on reading ublox param ( #28859 )
2 years ago
Harald Schäfer
5c6efd2aab
Laikad: more sensible ephemeris management ( #28721 )
...
* Laikad: more sensible ephemeris management
* Tow
* fix test
* Also publish qcom
* Update
* Update laikad.py
2 years ago
Harald Schäfer
6d25f66cf1
Laikad: Need to understand constellationId to understand clock ( #28552 )
...
Need to understand constellationId to understand clock
2 years ago
Harald Schäfer
155cab9ec4
Disable internet in laikad.py, even in CI ( #28535 )
...
* Limit OPENBLAS to 1 thread in manager
* Restrict openblas threads when running openpilot
* print in CI
* Disable internet for laika, even in CI
* update ref
2 years ago
Dean Lee
825c5a87df
laikad: move 'from_qcom_source' into try block ( #28510 )
...
fix not cached except
2 years ago
Harald Schäfer
703fe85cf5
QCOM laikad: add glonass support ( #28217 )
...
* QCOM laikad: add glonass support
* reject garbage timestamps
* update ref
2 years ago
Harald Schäfer
bb3388f9d2
Laikad: blocking raw_gnss receive ( #28083 )
...
* Blocking receive
* redundant
* rm clocks
* timeout irrelevant now
2 years ago
Adeeb Shihadeh
9f87df66cb
laikad: disable internet in non-replay CI ( #28076 )
2 years ago
Bruce Wayne
613bbcd626
Revert "LaikaD: new proc_replay segment and no internet laikad ( #28029 )"
...
This reverts commit fbb7dcb19c
.
2 years ago
Harald Schäfer
fbb7dcb19c
LaikaD: new proc_replay segment and no internet laikad ( #28029 )
...
* no internet in CI
* add new segment
* new ref
2 years ago
Harald Schäfer
922b09de96
Laikad: fix bad init elevation incorrect ( #27974 )
...
* Laikad: fix bad init elevation incorrect
* update ref
2 years ago
Shane Smiskol
28cd8fc402
laikad: clean up cloudlog usage ( #27701 )
...
make an error, no need to pass e
2 years ago
Harald Schäfer
b418cbcbcf
Laikad: catch and log ephemerides parsing errors ( #27698 )
...
* Laikad: catch and log ephemerides parsing errors
* exception instead of error
2 years ago
Harald Schäfer
e05e7850e1
Laika cleaner flow ( #27633 )
...
* laika flow
* test fixes
* unexpected type
* unexpected type
* explicit type
* ref commit
* back to prev val
* ref 2
2 years ago
Gijs Koning
fc5a575ba3
laikad: use non-conflating socket for gnss msgs ( #24888 )
...
* Use subsock
* wait for one
* wrong name
* try cpp proc replay
* fix recv pattern
---------
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Adeeb Shihadeh
7319afbd51
process replay: prep for laikad subsock + QCOM GPS ( #27632 )
...
* process replay: prep for laikad subsock
* cleanup
* fix for qcomGnss
* detect ublox
* more debug info in err
* wip
* cleanup
2 years ago
Harald Schäfer
4718fa5748
Bump laika ( #27618 )
...
* Laika on master
* use constellation id
2 years ago
Harald Schäfer
204f7d8623
Ttff logs ( #27610 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
* Update ref_commit
* sort ephem status list
* sort ephem status list
* update ref
2 years ago
Adeeb Shihadeh
4cff94366f
Revert "LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )"
...
This reverts commit 95216de591
.
2 years ago
Harald Schäfer
95216de591
LAIKAD: TTFF, and ephemeris statuses in logs ( #27591 )
...
* ttff in logs
* More meta info
* cleanup
* passess tests
* unused import
* fix linting
* ttff of 0 is invalid
* ref commit
* bump cereal
2 years ago
Harald Schäfer
5c38392785
Laikad: always return msg ( #27599 )
...
* always return msg
* always return msg
* Not all qcom constellations are understood
* call error error
2 years ago
Harald Schäfer
38cb42f76a
LaikaD new cache version ( #27596 )
2 years ago
Harald Schäfer
896fa029f9
Laikad: cleanup time range holder ( #27595 )
...
* cleanup time range holder
* update
* unused import
* unused import
* unused import
* bump laika
2 years ago
Harald Schäfer
629e5f6bf2
Fix qcom laika caching and test ( #27594 )
2 years ago
Harald Schäfer
5c70482761
Use structs in laika ( #27585 )
...
* doesnt crash
* New cacher
* unused import
* help linter
* Annotate list
* print error
* fix caching bugs
* wrong name
* small fixes
* fix sum
* wrong brackets
* fix tests
* update ref
* bump submodules
2 years ago
Kurt Nistelberger
cb2a53ae80
laikad: fix qcom without internet ( #27468 )
...
move week
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Kurt Nistelberger
b688122042
laikad: reduce min satellite number ( #27440 )
...
* bump laika
* update laikad tests
* update refs
* bump laika
* update refs
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Kurt Nistelberger
6b4ac801e7
laikad: use new cache param ( #27404 )
...
* add backward compatibility
* rename laikad cache file
* rm and update
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Kurt Nistelberger
04a7808590
glonass support laikad ( #27173 )
...
* add glonass kaitai parsing
* add kaita generated files
* remove glonass from build
* add string non immediate type
* fix kaitai bug
* cleanUp
* add patch file
* fix scons order
* make lookup const
* remove comments
* add to release files
* init
* add laika
* remove printf
* laikad add glonass ephem parsing
* add signs
* final ublox parsing
* rev gps
* bump subs
* address comments
* disable internet for laikad
---------
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Kurt Nistelberger
9131da9103
Revert "Add low Gnss laikad test ( #26987 )"
...
This reverts commit b7ce77b3aa
.
2 years ago
Kurt Nistelberger
b7ce77b3aa
Add low Gnss laikad test ( #26987 )
...
* add low gnss test
* enable laikad
* temp fix for cache
* update replay
* save LaikadEphemeris for testing
* rem
* update refs
* add comment
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Kurt Nistelberger
88423e25df
Laikad: set active ( #26850 )
...
* laikad update, renaming
* update locationd
* fix naming
* address PR comments
* upsi
* .
* draft to fix replay
* fix process relay to allow no response for messages
* final fix for process replay
* .
* bump cereal
* update process replay ref commit
* reduce wait time
* .
* last ref change
* move laikad helpers to laika
* .
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* remove left over
* revert laikad msg
* move laika back to master
* init
* fix gps valid flag
* change time
* add gnss to ignore
* remove gps_valid flag
* .
* adopt orientation reset threshold
* .
* update laikad
* .
* fix stanstill KF resets
* test orienation reset count
* update laika
* bump cereal
* fix process replay
* update laika repo
* remove handle gps
* add extra logging for cache
* .
* add more log
* .
* .
* update laika
* dont remove gps code
* inc min satellite count
* update magic vals and add acc drop
* update laika
* upsi
* rem
* bump laika
* use nav and correct
* more fixes
* use sftp
* No more glonass
* Revert "No more glonass"
This reverts commit a76124da50
.
* nump laika
* back support old ephemeris cache
* add health to ephemeris message
* bump laika
* remove print
* fix laikad tests
* clean
* remove extra log
* bump laika
* inc timeout for plotjuggler build
* rem cache clear
* .
* enable gps after checks
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Kurt Nistelberger
981532f0c3
Laikad preperation ( #26800 )
...
* laikad update, renaming
* update locationd
* address PR comments
* draft to fix replay
* fix process relay to allow no response for messages
* bump cereal
* update process replay ref commit
* move laikad helpers to laika
* fix ublox test
* update refs
* add proper qcom replay support
* fix gnss support if both is available
* update refs
* move laika back to master
* move cereal back to master
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2 years ago
Kurt Nistelberger
4eda53cef2
add laikad comment
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
01d05f66fe
auto-detect pigeon or quectel ( #25991 )
...
* auto-detect pigeon or quectel
* persistent
* fix sim
* fix process replay
* fix locationd unit tests
* fix that
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
6334980949
laikad: fix cache path
3 years ago
HaraldSchafer
11da2804f6
Support quectel gps ( #25299 )
...
* qcom clock gets corrected randomly it seems
* Use quectel gps
* fix small laikad bugs
* Support both
* Support ublox and qcom clock model
* fix laikad test
* fix typo
* Back to original value
* More typos
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Gijs Koning
5ccc2b8921
Laikad: improve logging + posfix every 2 sec ( #25184 )
...
* Improve logging for pos fix and caching
* Set to debug
3 years ago
Gijs Koning
c7771d1783
Bump laika and catch Downloadfiles exception.
3 years ago
Gijs Koning
105afee4a2
Laikad: set cache dir to comma_download_cache ( #25131 )
...
* Cache downloads for process replay
* set cache dir permanent
* Create constant
3 years ago
Gijs Koning
cf862b6576
Laikad: Fix getting covariances for pos and velocity ( #25084 )
...
* Fix getting covariances for pos and velocity
* ref commit
3 years ago