Adeeb Shihadeh
16c36b0d8b
sensord: error -> warning for expected failures
9 months ago
Harald Schäfer
e70dc90a45
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
11 months ago
Harald Schäfer
e71ec4e8d7
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
11 months ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
11 months ago
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
12 months ago
Adeeb Shihadeh
147ccc7a58
move pigeond to system/ubloxd/ ( #31848 )
...
* move pigeond to system/ubloxd/
* update release
* more
* mv test
1 year ago
Cameron Clough
995250ae49
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
1 year ago
Adeeb Shihadeh
daceb171bd
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
1 year ago
Adeeb Shihadeh
135deb4324
sensord: fix IRQ affinity ( #31384 )
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
a1d36961cf
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
1 year ago
Adeeb Shihadeh
4cae08e636
rename rawgpsd to qcomgpsd ( #30493 )
...
* rename rawgpsd to qcomgpsd
* fix more paths
* that moved
* forgot the d
1 year ago
Harald Schäfer
c0942dbf9f
Rm laika deps in rawgpsd ( #30452 )
...
* Rm more laikad references
* rawgpsd usage of laika
* bugfix
1 year ago
Harald Schäfer
95c6d5140a
Rm more laika references ( #30451 )
...
Rm more laikad references
1 year ago
Justin Newberry
2ad82cbfb0
Pytest: default settings on PC improvements ( #30441 )
...
* always multithreaded
* multithreaded
* pkill correct process
* escape more
* load for interfaces
1 year ago
Justin Newberry
aec7cea30d
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
1 year ago
Adeeb Shihadeh
9c7e5ca6ea
rawgpsd: add flag for cold start ( #30224 )
...
* rawgpsd: add flag for cold start
* other datasheet is wrong
* keep things in a good state
2 years ago
Harald Schäfer
56dea7b0b4
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
2 years ago
Adeeb Shihadeh
f0aa631818
cleanup up old lib64 references ( #30246 )
...
* cleanup sensord
* rm rest
* fix that
* update that
2 years ago
Adeeb Shihadeh
377722fd5e
Update Python packages and pre-commit hooks ( #30149 )
...
* Update Python packages and pre-commit hooks
* fixes
* Update common/transformations/README.md
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* fix
---------
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Adeeb Shihadeh
ccc8e099b6
sensord: test update for provisioning ( #29942 )
...
sensord: update for provisioning
2 years ago
Adeeb Shihadeh
0908be80bd
sensord: test updates for provisioning ( #29768 )
...
* sensord: test updates for provisioning
* fix
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Greg Hogan
de97d32fe0
gnss raw measurements through nmea port ( #29745 )
...
* gnss measurements through nmea port
* document values
* flags always zero
* fix linter errors
* fix linter errors
2 years ago
Greg Hogan
5058f31908
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
2 years ago
Dean Lee
9c7bf50703
cpplint: add filter `whitespace/tab` ( #29588 )
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Adeeb Shihadeh
239d6a24be
sensord: fix LSM magnetometer thermal variation ( #29265 )
...
* do set reset for every measurement cycle
* use one sensorvec
* convert from continuous to manual mode
* separate the set/reset and TM_M
* make magnetometer readings manual, set appropriate sleep
* add more sleep and check validity of values
* add magnetometer to a separate thread
* refactor
* bugfix
* each sensor in a new thread, handle generically
* bugfix
* rm global
* update cpu
* update test
* update test
* revert cereal change
* split out temp sensors
* little more
* fix
* fix
* bump cereal
* linter fixes
---------
Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
d3fb75a972
sensord: run as many sensors as possible ( #29564 )
2 years ago
Adeeb Shihadeh
42769345d5
sensord: lower temperature sensor freq to 2Hz ( #29563 )
2 years ago
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>
2 years ago
Adeeb Shihadeh
6a66b75556
sensord: setup per-sensor threads ( #29558 )
...
* sensord: setup per-sensor threads
* revert cereal
* more cleanup
* bump cereal
* update test
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Adeeb Shihadeh
f5071411cb
sensord: rm light sensor ( #29503 )
2 years ago
Dean Lee
3eef63af9b
common: C++ RateKeeper ( #29374 )
...
* c++ RateKeeper
* add to files_common
* use util::random_int
* improve monotor_time
* remove ~ratekeeper
2 years ago
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
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2 years ago
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2 years ago
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
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
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Adeeb Shihadeh
42e106dd47
rawgpsd: accept alt assistance file ( #29202 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
f310d501f4
rawgpsd: better download proc cleanup ( #29199 )
...
* rawgpsd: better download proc cleanup
* more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
14001be605
rawgpsd: retry injecting assistance data ( #29115 )
...
* rawgpsd: retry injecting assistance data
* sleep a bit
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9113816e1d
rawgpsd: fix double setup ( #29108 )
...
* rawgpsd: fix double setup
* speedup test
* update that one
* minimal diff
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
5fb2f7072b
rawgpsd: speedup tests ( #29110 )
...
* rawgpsd: speedup tests
* fix that one
* little more
* prevent subtle bugs
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
d92c9aef23
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago