Adeeb Shihadeh
3b73fce7ed
fix put_nonblocking reference
...
old-commit-hash: bd8a99ba28
2 years ago
Dean Lee
1d7d7b89b2
common/params: support nonblocking write ( #29808 )
...
* 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
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c4c4d1f7f
2 years ago
Jason Wen
995c951dae
torqued: cache bucket points every minute while onroad ( #30515 )
...
* torqued: cache bucket points every minute while onroad
* use put_nonblocking
* remove caching on exit
* unused
* more unused
* remove logging
old-commit-hash: fcc671297e
2 years 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
2 years 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
2 years ago
Kacper Rączy
9cd71f897a
locationd: remove models unused in openpilot ( #30481 )
...
* Remove filters used exclusively by xx
* Update SConstruct
* Remove from release
* Accomodate rednose build changes
* Update rednose ref
* rednose/helpers in rpath
* Add rednose_filters to files_common
* Change rednose_root
* Copy rednose site_scons to docker images
* Remove rednose from rpath
* Bump rednose
* Bump rednose
* Bump rednose
old-commit-hash: f65e6bc30e
2 years ago
Kacper Rączy
7cac430ecc
Remove laika submodule ( #30453 )
...
* Remove laika submodule
* Remove laika check for minimal builds
* Fix minimal build check
* Bring back exclude for opendbc in codespell
* Fix typo
* Copy GNSS indices from laika
* Delete laika dependencies
old-commit-hash: 2de13bea91
2 years ago
Justin Newberry
337b156518
Pytest: load by group by default ( #30466 )
...
* wip
* use a class marker
* this one should be grouped too
old-commit-hash: 31c682d407
2 years ago
Vivek Aithal
f8dce94688
params: Remove separate CarParams from each daemon ( #30405 )
...
* remove separate previous route carparams from each daemon and add centrally to controlsd
* extract out sigint handler
* make process replay work for torqued
* don't write param if None
old-commit-hash: 2eb487c9a5
2 years ago
Harald Schäfer
7c4d29c3d1
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
old-commit-hash: 56dea7b0b4
2 years ago
Adeeb Shihadeh
4b78e52e34
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332
2 years ago
Vivek Aithal
db2344cdd2
torqued: Refactor to share code with magd ( #30238 )
...
* refactor to extract common functions and classes out
* Add helpers.py to release files
* refactor
old-commit-hash: 9e24a11f17
2 years ago
Harald Schäfer
25e5c57dfe
calibrationd: Pitch spread different tolerance ( #30065 )
...
* calibrationd: Pitch spread different tolerance
* Improve calibrationd tests
old-commit-hash: 2162d149e8
2 years ago
Vivek Aithal
739a102d55
paramsd: Add condition to sensor valid check ( #30066 )
...
add condition to sensorvalid check
old-commit-hash: 0461ea8a82
2 years ago
Shane Smiskol
91ae82c9cc
torqued: useParams field reflects if using torque control ( #30059 )
...
fix useParams
old-commit-hash: 61c5618f15
2 years ago
Vivek Aithal
9d4767bd87
locationd: Replace allAliveAndValid with allValid ( #30064 )
...
* replace allaliveandvalid check with allvalid, all necessary time checks are already used
* update refs
old-commit-hash: 6d5f4f149d
2 years ago
Justin Newberry
ef75f0ab12
CI: use "slow" marker for pytest ( #30063 )
...
* skip to mark
* fix quotes
old-commit-hash: 0251742079
2 years ago
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2 years ago
Justin Newberry
63775e0c61
test_locationd: don't redownload logs ( #29929 )
...
don't redownload logs
old-commit-hash: 7e54882458
2 years ago
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: e9edf1300a
2 years ago
Vivek Aithal
370d912053
liblocationd: No longer used ( #29909 )
...
remove liblocationd
old-commit-hash: 01011c6c1d
2 years ago
Justin Newberry
dc6078a6c3
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
old-commit-hash: 73eda51a11
2 years ago
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: dbada885ac
2 years ago
Adeeb Shihadeh
0010c9a986
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 780669c33fea1b2a14a0bd6e2eac82c9b8893aa5.
old-commit-hash: ec479322d3
2 years ago
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: 0d797f4e8b
2 years ago
Justin Newberry
3b91610c0b
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
old-commit-hash: 4e69937d0d
2 years ago
Justin Newberry
8062f1636e
Tests: speedup locationd ( #29776 )
...
* speedup locationd
* bump cereal
old-commit-hash: dcea56bcf3
2 years ago
Justin Newberry
6537493450
Tests: disable laika tests in CI ( #29742 )
...
skip laika
old-commit-hash: 4c039ab022
2 years ago
Harald Schäfer
3a28e97a95
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
old-commit-hash: 55b391509d
2 years ago
Harald Schäfer
bc017ab936
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
old-commit-hash: 8205590624
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
Dean Lee
1a2f9c464b
locationd: passing eigen objects by reference ( #28719 )
...
pass eigen objects by reference
old-commit-hash: 3930ec9fac
2 years ago
Dean Lee
0984736972
cpplint: add filter `build/include_subdir` ( #29585 )
...
old-commit-hash: 21da5a216f
2 years ago
Harald Schäfer
c6d12893f6
Laikad: ignore more garbage measurements ( #29569 )
...
* Laikad: ignore more garbage measurememnts
* bump laika
old-commit-hash: f4f8047e97
2 years ago
Dean Lee
db211ce617
cpplint: add filter `whitespace/parens` ( #29565 )
...
old-commit-hash: 5480d32bb5
2 years ago
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: 2d99521e75
2 years ago
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: aa585b1757
2 years ago
Dean Lee
004a097c95
cpplint: add `readability/braces` filter ( #29554 )
...
old-commit-hash: 363740a497
2 years ago
Harald Schäfer
200a8eb8b5
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
old-commit-hash: 8a7281d285
2 years ago
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: fda3106c28
2 years ago
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e
2 years ago
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: fd3b8a3d75
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
Kacper Rączy
eb87a31bc5
Unpin numpy ( #29421 )
...
* Unpin numpy
* Update lock file
* leave acados comment
* Fix warnings
* Fix more paramsd warnings
old-commit-hash: 62a88e504d
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554
2 years ago
Justin Newberry
7d6d3dc9ea
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
old-commit-hash: af3ed37c5c
2 years ago
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: 7fdd9fc37c
2 years ago
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: cf64b27168
2 years ago
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago