Harald Schäfer
55b391509d
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
2023-08-28 16:27:11 -07:00
Harald Schäfer
8205590624
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
2023-08-24 16:51:45 -07:00
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
2023-08-24 16:30:54 -07:00
Dean Lee
3930ec9fac
locationd: passing eigen objects by reference ( #28719 )
...
pass eigen objects by reference
2023-08-24 12:55:47 -07:00
Dean Lee
21da5a216f
cpplint: add filter build/include_subdir ( #29585 )
2023-08-24 15:42:17 +01:00
Harald Schäfer
f4f8047e97
Laikad: ignore more garbage measurements ( #29569 )
...
* Laikad: ignore more garbage measurememnts
* bump laika
2023-08-23 19:48:55 -07:00
Dean Lee
5480d32bb5
cpplint: add filter whitespace/parens ( #29565 )
2023-08-23 14:25:05 -07:00
Dean Lee
2d99521e75
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-08-23 13:25:17 -07:00
Harald Schäfer
aa585b1757
Laikad: reset est pos when in bad state ( #29559 )
...
* reset est pos when cant delay correct
* was just for debug
2023-08-23 13:23:17 -07:00
Dean Lee
363740a497
cpplint: add readability/braces filter ( #29554 )
2023-08-23 10:13:46 -07:00
Harald Schäfer
8a7281d285
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
2023-08-23 00:13:10 -07:00
Harald Schäfer
fda3106c28
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 3523bef732 .
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit fd3b8a3d75 .
2023-08-22 14:12:51 -07:00
Adeeb Shihadeh
952d720b6e
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
2023-08-22 13:55:23 -07:00
Harald Schäfer
fd3b8a3d75
Locationd: switch to laikad ( #29278 )
...
* use_laika
* Update test
* fix spacing
* fix proc replay
* small fix
* Try correct std
* cast correctly
* experimental
* simpler
* update reset thresholds
* improve
* Ready for live running
* outlier reject
* update laika
* add fine speeds
* more experiments
* fixes
* all in laika
* more small tweaks
* outlier rejection not needed
* fix conflict
* no more gpslocation
* update test
* refactor to laika
* runs again
* Update ref
2023-08-21 22:51:02 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Kacper Rączy
62a88e504d
Unpin numpy ( #29421 )
...
* Unpin numpy
* Update lock file
* leave acados comment
* Fix warnings
* Fix more paramsd warnings
2023-08-17 15:36:14 -07:00
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2023-08-11 16:13:51 -07:00
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2023-08-10 16:40:30 -07:00
Justin Newberry
af3ed37c5c
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
2023-08-10 15:28:51 -07:00
Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2023-08-09 13:26:54 -07:00
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
2023-08-08 17:13:35 -07:00
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a .
2023-08-08 14:24:04 -07:00
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2023-08-08 13:41:30 -07:00
Adeeb Shihadeh
b420e6fb13
locationd: speedup unit tests ( #29262 )
2023-08-06 21:37:04 -07:00
Adeeb Shihadeh
39ce23420c
pre-commit: autoupdate hooks ( #29198 )
...
* Update pre-commit hook versions
* fix
* bump submodules
* one more
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com >
2023-08-01 12:32:21 -07:00
Adeeb Shihadeh
4bac67c0f5
torqued: fix cache loading ( #29088 )
...
* torqued: fix cache loading
* rm that
2023-07-21 17:28:04 -07:00
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 c5132f8a2727c212bdfc01e77aa53e50a17ead9d.
* 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 >
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f .
2023-07-18 18:47:35 -07:00
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 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-18 16:40:36 -07:00
Harald Schäfer
47ee0932db
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
2023-07-11 13:22:09 -07:00
Harald Schäfer
0a510f2edd
Qcom laikad: Update expected msgs ( #28887 )
...
Update expected msgs
2023-07-11 08:52:09 -07:00
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 >
2023-07-11 01:25:49 -07:00
Adeeb Shihadeh
e63e2dde18
don't block on reading ublox param ( #28859 )
2023-07-10 15:33:58 -07:00
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
2023-06-28 21:08:18 -07:00
Kacper Rączy
b6c3f69dc0
paramsd: expose filterState in debug mode ( #28627 )
...
* Update cereal
* Expose filterState in debug mode.
2023-06-23 13:45:40 -07:00
Harald Schäfer
af9edb020d
Qcom localizer: erratic clocks have an erratic error rate too ( #28654 )
...
Erratic clocks drift erratically too
2023-06-23 09:44:37 -07:00
Kacper Rączy
45a6834a74
macOS: fix build issues & re-enable CI ( #28258 )
...
* Uncomment build_mac job
* Add PYCURL_CURL_CONFIG
* Acados universal binary
* Remove x86 macos references from sconscript
* Add missing include in cabana
* Update cereal
* Update workflow
* Remove unnecessary libpaths for darwin
* Add missing path to cached dirs
* Fix path in cache preparation step
* Add poetry caches to CI cache
* Compile acados with lower deployment target for CI
* Update cereal
* Pass -rpath in linker flags as scons doed not support RPATH on macos
* Use scons api instead of os
* @rpath in install name of acados dylibs
* SConstruct cleanup
* fix liblocationd tests by adding lib suffix based on platform
* Update cereal
* Update opendbc
* Update opendbc
* Add acados gitignore to release files
* Update cereal
* Update cereal
* Add scons_cache to build cache
* Add Caskroom to cache
* Fix typo
* Link all packages at once, instead of one by one
* Run cleanup stage using poetry
* Remove casks from cache
* Move scons cache to separate cache step
* Save scons cache only on master
* Remove restore-keys from save-scons-cache step
* Uncomment if conditions for scons save
* Add gcc-arm-embedded cask cache to cache
* Custom handling of gcc-arm-embedded toolchain cache
* Rename dep cache key
* Exclude .fseventsd from cache
* Fix glob pattern
* Remove .feventsd before caching
* Run mac_setup only if dependency cache-hit != true
* Update cereal to master
* Add overwrite flag to brew link
* Remove manual casadi build from mac_setup
* Remove restore-keys from dependency cache
* Remove linux requirement for casadi
* Restore restore-keys to dependency cache
2023-06-21 13:14:20 -07:00
Vivek Aithal
dfbdcbad73
[paramsd] Add a hysteresis band for valid checks where applicable ( #28546 )
...
* add a hysteresis band for the slow offset valid check
* add hysteresis to total_ofset and roll valid cases
* bugfix: roll is in radians, offsets are in degs
* remove defaults
* remove kwarg
* remove slow offset check while loading params
2023-06-15 20:17:06 -07:00
Harald Schäfer
6d25f66cf1
Laikad: Need to understand constellationId to understand clock ( #28552 )
...
Need to understand constellationId to understand clock
2023-06-14 19:54:51 -07:00
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
2023-06-13 23:39:11 -07:00
Kacper Rączy
242e8d2ca8
locationd: initial value for gps_std_factor ( #28533 )
...
* setup_gps method
* Add LocalizerGnssSource
* slight refactor
* make it more readable
* Move gnss_source initialization to configure_gnss_souce
* Add gps_variance_factor, gps_vertical_variance_factor and gps_time_offset
* add header changes
2023-06-13 16:12:53 -07:00
Dean Lee
825c5a87df
laikad: move 'from_qcom_source' into try block ( #28510 )
...
fix not cached except
2023-06-12 17:05:43 -07:00
YassineYousfi
7925232a34
hot coffee model ( #28296 )
...
* 1061b1c7-b944-43e3-a940-b56b64d66f54/700
* bump cereal
* bump cereal
* make mypy happy
* write TODO
* read height from written params
* fix certain_if_calib logic and unit tests
* factor moving_avg_with_linear_decay
* remove whitespace
* update model ref commit
* default value for CI
* update process replay ref commit
* update process replay ref commit
* update process replay ref commit
* bump cereal
2023-06-02 20:55:13 -07:00
Kacper Rączy
9abe95c949
locationd: add filterState ( #28340 )
...
* Add filterState to published messages
* Hide it behind DEBUG flag
* Update cereal
* Update cereal
2023-05-31 15:01:12 -07:00
Kacper Rączy
1f0ff21eee
laikad: unit test refactor ( #28295 )
...
Refactor laika tests to use replay_process
2023-05-25 11:34:10 -07:00
Harald Schäfer
2c65b843a5
Calibrationd: allow more pitch angle ( #28255 )
...
* Calibrationd: allow more pitch angle
* Update ref_commit
2023-05-24 11:41:01 +02:00
Harald Schäfer
703fe85cf5
QCOM laikad: add glonass support ( #28217 )
...
* QCOM laikad: add glonass support
* reject garbage timestamps
* update ref
2023-05-18 00:19:40 -07:00
Harald Schäfer
598343aad1
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-05-15 09:29:57 -07:00
Harald Schäfer
bb3388f9d2
Laikad: blocking raw_gnss receive ( #28083 )
...
* Blocking receive
* redundant
* rm clocks
* timeout irrelevant now
2023-05-03 13:03:25 -07:00
Adeeb Shihadeh
9f87df66cb
laikad: disable internet in non-replay CI ( #28076 )
2023-05-01 22:02:06 -07:00