Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb2586053d6c5508ef3f420947941d90
2023-09-21 18:25:15 -07:00
Justin Newberry
63775e0c61
test_locationd: don't redownload logs ( #29929 )
...
don't redownload logs
old-commit-hash: 7e54882458c0e9e6111f4523ef93983650cc816b
2023-09-15 13:11:39 -07:00
Vivek Aithal
244a2fc793
locationd: Unit tests for different scenarios ( #29908 )
...
* add different scenarios for locationd
* add locationd scenario tests to unit tests
old-commit-hash: e9edf1300ac486e1e1f79035b14a648d41f0d16d
2023-09-14 13:59:21 -07:00
Vivek Aithal
370d912053
liblocationd: No longer used ( #29909 )
...
remove liblocationd
old-commit-hash: 01011c6c1d8a211092d8f90658497f50ebd06bf1
2023-09-13 18:59:32 -07:00
Justin Newberry
dc6078a6c3
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
old-commit-hash: 73eda51a11955627f4d149fdf12c1c781983d52e
2023-09-07 12:49:03 -07:00
Vivek Aithal
43ce3d16df
locationd: Add camera-IMU cross-checks ( #29727 )
...
* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
old-commit-hash: dbada885acf6418edbf6d781dc79fb85dfa74117
2023-09-06 21:01:01 -07:00
Adeeb Shihadeh
0010c9a986
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 780669c33fea1b2a14a0bd6e2eac82c9b8893aa5.
old-commit-hash: ec479322d3d8d789290bee68919d14b040481d53
2023-09-06 13:44:20 -07:00
Dean Lee
08e70aecb2
params: safe and efficient async writing parameters ( #25912 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 0d797f4e8b2552192669d0329c14849f0a970066
2023-09-06 08:50:28 -07:00
Justin Newberry
3b91610c0b
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
old-commit-hash: 4e69937d0d3fbdc7d1d42cbc18d7ccf8ddb115f1
2023-09-05 16:33:26 -07:00
Justin Newberry
8062f1636e
Tests: speedup locationd ( #29776 )
...
* speedup locationd
* bump cereal
old-commit-hash: dcea56bcf343344818060f0c2e6a8ff8e5119b08
2023-09-05 12:45:18 -07:00
Justin Newberry
6537493450
Tests: disable laika tests in CI ( #29742 )
...
skip laika
old-commit-hash: 4c039ab02230c7fcf2439b56fe04ad79df911ad4
2023-08-31 17:17:07 -07:00
Harald Schäfer
3a28e97a95
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
old-commit-hash: 55b391509d94c45000df6754f173ad446dc1b34c
2023-08-28 16:27:11 -07:00
Harald Schäfer
bc017ab936
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
old-commit-hash: 8205590624913b927d7abb1d214ea25886d7c1ea
2023-08-24 16:51:45 -07:00
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Dean Lee
1a2f9c464b
locationd: passing eigen objects by reference ( #28719 )
...
pass eigen objects by reference
old-commit-hash: 3930ec9facb51491309ba37f66a7b3c59a8dd035
2023-08-24 12:55:47 -07:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Harald Schäfer
c6d12893f6
Laikad: ignore more garbage measurements ( #29569 )
...
* Laikad: ignore more garbage measurememnts
* bump laika
old-commit-hash: f4f8047e979c3366ab4ecd7527cc6daf01f126db
2023-08-23 19:48:55 -07:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Harald Schäfer
ca666855d5
Laikad: reset est pos when in bad state ( #29559 )
...
* reset est pos when cant delay correct
* was just for debug
old-commit-hash: aa585b17578a38b294ee748b172e6ad28f8266ca
2023-08-23 13:23:17 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Harald Schäfer
200a8eb8b5
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
old-commit-hash: 8a7281d2859f2fa8d49cb3b679c2eaf5ec8f1729
2023-08-23 00:13:10 -07:00
Harald Schäfer
a967592f8f
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 19ab859e302d52b4f1667f05543ac622ad259e57.
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit 5dda7be8ac08ef6b51283eda74569517bba905f6.
old-commit-hash: fda3106c28af236e8b3dc78bfdca7a1365904d1e
2023-08-22 14:12:51 -07:00
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
Harald Schäfer
0174c5f21c
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
old-commit-hash: fd3b8a3d7511ad3d7c5aa0b82a1e2c28505e5a7f
2023-08-21 22:51:02 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Kacper Rączy
eb87a31bc5
Unpin numpy ( #29421 )
...
* Unpin numpy
* Update lock file
* leave acados comment
* Fix warnings
* Fix more paramsd warnings
old-commit-hash: 62a88e504d9ad82f6d070a11a3499bf89c19d08e
2023-08-17 15:36:14 -07:00
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f1830618f5f61978491930cb0b8d36ab26
2023-08-11 16:13:51 -07:00
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554060ac5353e96f1d7feb06d3a3671e9
2023-08-10 16:40:30 -07:00
Justin Newberry
7d6d3dc9ea
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
old-commit-hash: af3ed37c5cd8823f793aec60e1c74760cf795bd9
2023-08-10 15:28:51 -07:00
Justin Newberry
3ee0786de3
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
old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b0c9bfe5ccfc8e64321af6bb6c56536
2023-08-08 14:24:04 -07:00
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a93cf6cb1f8bd2fff1431716b3a47e4
2023-08-08 13:41:30 -07:00
Adeeb Shihadeh
e31cf1fe9e
locationd: speedup unit tests ( #29262 )
...
old-commit-hash: b420e6fb134cdfc4dd46802d6f8c6e170423a296
2023-08-06 21:37:04 -07:00
Adeeb Shihadeh
e33973cdd4
pre-commit: autoupdate hooks ( #29198 )
...
* Update pre-commit hook versions
* fix
* bump submodules
* one more
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com >
old-commit-hash: 39ce23420c34d74256e6bda07ffb4016541b3d19
2023-08-01 12:32:21 -07:00
Adeeb Shihadeh
c261f97f6c
torqued: fix cache loading ( #29088 )
...
* torqued: fix cache loading
* rm that
old-commit-hash: 4bac67c0f5323ba65f40ae31ed1cbb4cf2ccc34e
2023-07-21 17:28:04 -07:00
Adeeb Shihadeh
b0c3778aae
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 >
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
33e6aad83b
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.
old-commit-hash: 9c307f2550ccade43409c9a5835203fdc355f26c
2023-07-18 18:47:35 -07:00
Maxime Desroches
6ba97408e9
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 >
old-commit-hash: 76ef1b9b9f725834256d7b3429e2805739ccbed5
2023-07-18 16:40:36 -07:00
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: 47ee0932db6911dd7fc064ae3a17e929d341c94e
2023-07-11 13:22:09 -07:00
Harald Schäfer
00dace19a9
Qcom laikad: Update expected msgs ( #28887 )
...
Update expected msgs
old-commit-hash: 0a510f2eddcdc589e062a6453541ddc9f94a10a2
2023-07-11 08:52:09 -07:00
Harald Schäfer
71e5af04c3
Laikad: fix qcom report collection ( #28879 )
...
* Make report aggregation variable
* Add laikad test now it passes
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 221cd0ab09fb3e33db010efde52459148e0aba2a
2023-07-11 01:25:49 -07:00
Adeeb Shihadeh
7337fab677
don't block on reading ublox param ( #28859 )
...
old-commit-hash: e63e2dde18b9ae2925d1a38c527dccfd0c99d4c5
2023-07-10 15:33:58 -07:00
Harald Schäfer
c89a9b1b73
Laikad: more sensible ephemeris management ( #28721 )
...
* Laikad: more sensible ephemeris management
* Tow
* fix test
* Also publish qcom
* Update
* Update laikad.py
old-commit-hash: 5c6efd2aab5c832fb9405128b2276eab4cd8c8a5
2023-06-28 21:08:18 -07:00
Kacper Rączy
215819c218
paramsd: expose filterState in debug mode ( #28627 )
...
* Update cereal
* Expose filterState in debug mode.
old-commit-hash: b6c3f69dc07de97850b076da30f84fbff767e44a
2023-06-23 13:45:40 -07:00
Harald Schäfer
86b8e2eb8c
Qcom localizer: erratic clocks have an erratic error rate too ( #28654 )
...
Erratic clocks drift erratically too
old-commit-hash: af9edb020ddd3d12db8acd531180a8b77ae95225
2023-06-23 09:44:37 -07:00
Kacper Rączy
b1eb066965
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
old-commit-hash: 45a6834a744e13833e702ed6eb3c5483391cf899
2023-06-21 13:14:20 -07:00
Vivek Aithal
09073a7286
[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
old-commit-hash: dfbdcbad730fd987e388957f26918041f6066122
2023-06-15 20:17:06 -07:00
Harald Schäfer
091964205d
Laikad: Need to understand constellationId to understand clock ( #28552 )
...
Need to understand constellationId to understand clock
old-commit-hash: 6d25f66cf1cd8e3912719b79a44c4ff0fa013328
2023-06-14 19:54:51 -07:00