Adeeb Shihadeh
0eacf34e15
sensord: add note about shared IRQ
2026-04-22 16:49:29 -07:00
Adeeb Shihadeh
2266a9dd9c
sensord: clean up SensorEventData struct ( #37883 )
2026-04-22 13:13:39 -07:00
Adeeb Shihadeh
f8372ccc4d
sensord: remove mmc5603nj support ( #37881 )
...
* sensord: remove mmc5603nj support
* lil more
* lil more
2026-04-22 12:53:07 -07:00
probablyanasian
b6432e705d
Fix LSM6DS3 sensors test ( #37855 )
...
* fix temperature test + add std dev test for temp
* loosen gyro limit, no axis on temp mean
* whitespace fix
* add std_max to all sensors/tests
2026-04-18 20:27:58 -07:00
Adeeb Shihadeh
b03e7821d4
replace smbus2 package with minimal implementation ( #37061 )
...
* replace smbus2 package with minimal implementation
* cleanup
* fix up
2026-02-01 17:26:58 -08:00
Adeeb Shihadeh
10db1edc7f
merge common.util and common.utils ( #36951 )
...
* common: merge common.util and common.utils
* cleanup
* cleanup
2026-01-19 15:50:00 -08:00
Adeeb Shihadeh
1252188b4b
sensord: tighten temperature threshold ( #36994 )
...
* sensord: tighten temperature threshold
* lil more
2026-01-13 14:33:13 -08:00
Adeeb Shihadeh
752ef8696a
sensord: remove last of dual IMU support ( #36881 )
2025-12-15 19:04:11 -08:00
Adeeb Shihadeh
67cbeebc7b
sensord: magnetometer is only for tizi
2025-11-18 10:10:32 -08:00
Adeeb Shihadeh
b695715753
sensord: reset LSM ( #35872 )
...
* sensord: reset LSM
* they'll be ready in time
* switch to SW_RESET, BOOT not working for some reason
2025-08-01 10:13:39 -07:00
Adeeb Shihadeh
f79f7b6584
sensord: fix temp scale ( #35621 )
2025-06-30 14:50:25 -07:00
Adeeb Shihadeh
2f80854644
sensord: rewrite in Python ( #35353 )
...
* py sensord
* fix up mmc
* temp
* port over accel
* lil more
* kinda works
* rm that
* gpiochip
* mostly there
* lil more
* lil more
* irq timestamps
* fix ts
* fix double deg2rad
* test passes
* fix up mypy
* rm one more
* exception
* lint:
* read in all events
* bump that
* get under budget:
* accel self test
* gyro self-test
* keep these readable
* give it more cores
* debug
* valid
* rewrite that
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-05-30 13:31:07 -07:00
Adeeb Shihadeh
50aaa69137
sensord: cleanup, prep for rewrite ( #35352 )
...
* rm bmx
* thanks claude
* fix
* fix mypy
2025-05-26 17:49:44 -07:00
Adeeb Shihadeh
8f8f185a95
sensord: add new config ( #34442 )
...
* sensord: add new config
* fix mypy
2025-01-21 16:26:13 -08:00
Adeeb Shihadeh
a683b7d99c
sensord: increase time jump tolerance
...
diffs on the order of ~5ms are somewhat common and false positives
2024-11-11 14:21:50 -08:00
Adeeb Shihadeh
1932aff0d9
sensord: cleanup logging ( #33875 )
...
Co-authored-by: Comma Device <device@comma.ai >
2024-10-25 17:41:23 -07:00
Adeeb Shihadeh
47aee33ad2
sensord: fix timestamp race condition ( #33867 )
...
Co-authored-by: Comma Device <device@comma.ai >
2024-10-24 14:00:13 -07:00
Dean Lee
48abdf825b
sensord: Handle EINTR for GPIO event reading ( #33715 )
...
handle eintr
2024-10-09 13:42:53 -07:00
Dean Lee
7fa8e3d8a6
sensord: fix redundant assignment ( #33707 )
...
fix redundant assignment
2024-10-02 10:10:26 -07:00
Adeeb Shihadeh
7b5d3dbbca
sensord: error -> warning for expected failures
...
old-commit-hash: 16c36b0d8b
2024-08-06 17:25:03 -07:00
Harald Schäfer
05ed3d8c15
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 >
old-commit-hash: e70dc90a45
2024-06-09 17:44:34 -07:00
Harald Schäfer
f870a968e9
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
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
2024-06-03 15:48:56 -07:00
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cf
2024-05-25 12:41:17 -07:00
cl0cks4fe
639a634f7c
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 >
old-commit-hash: dd9d5d4528
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
5733c516c3
move pigeond to system/ubloxd/ ( #31848 )
...
* move pigeond to system/ubloxd/
* update release
* more
* mv test
old-commit-hash: 147ccc7a58
2024-03-12 17:13:13 -07:00
Cameron Clough
9bd90112d0
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 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh
db71508d61
sensord: fix IRQ affinity ( #31384 )
...
old-commit-hash: 135deb4324
2024-02-08 16:40:43 -08:00
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
2023-12-06 17:27:51 -08:00
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
2023-12-03 10:50:17 -08:00
Adeeb Shihadeh
ca85e5b82a
rename rawgpsd to qcomgpsd ( #30493 )
...
* rename rawgpsd to qcomgpsd
* fix more paths
* that moved
* forgot the d
old-commit-hash: 4cae08e636
2023-11-18 23:23:16 -08:00
Harald Schäfer
91920dcf66
Rm laika deps in rawgpsd ( #30452 )
...
* Rm more laikad references
* rawgpsd usage of laika
* bugfix
old-commit-hash: c0942dbf9f
2023-11-13 20:38:24 -08:00
Harald Schäfer
9bf8ee6c86
Rm more laika references ( #30451 )
...
Rm more laikad references
old-commit-hash: 95c6d5140a
2023-11-13 16:52:57 -08:00
Justin Newberry
efaa3ea500
Pytest: default settings on PC improvements ( #30441 )
...
* always multithreaded
* multithreaded
* pkill correct process
* escape more
* load for interfaces
old-commit-hash: 2ad82cbfb0
2023-11-13 10:45:24 -08:00
Justin Newberry
3027a428cb
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
old-commit-hash: aec7cea30d
2023-11-07 17:35:44 -08:00
Adeeb Shihadeh
b76d7d0068
rawgpsd: add flag for cold start ( #30224 )
...
* rawgpsd: add flag for cold start
* other datasheet is wrong
* keep things in a good state
old-commit-hash: 9c7e5ca6ea
2023-10-25 15:05:07 -07:00
Harald Schäfer
7c4d29c3d1
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
old-commit-hash: 56dea7b0b4
2023-10-23 00:15:39 -07:00
Adeeb Shihadeh
c3aa58b492
cleanup up old lib64 references ( #30246 )
...
* cleanup sensord
* rm rest
* fix that
* update that
old-commit-hash: f0aa631818
2023-10-14 20:39:15 -07:00
Adeeb Shihadeh
a9153a39cc
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 >
old-commit-hash: 377722fd5e
2023-10-03 15:31:26 -07:00
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2023-09-21 18:25:15 -07:00
Adeeb Shihadeh
1bbc16633c
sensord: test update for provisioning ( #29942 )
...
sensord: update for provisioning
old-commit-hash: ccc8e099b6
2023-09-15 18:50:43 -07:00
Adeeb Shihadeh
6a3da36632
sensord: test updates for provisioning ( #29768 )
...
* sensord: test updates for provisioning
* fix
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0908be80bd
2023-09-05 15:32:57 -07:00
Greg Hogan
ada436be39
gnss raw measurements through nmea port ( #29745 )
...
* gnss measurements through nmea port
* document values
* flags always zero
* fix linter errors
* fix linter errors
old-commit-hash: de97d32fe0
2023-09-02 16:58:34 -07:00
Greg Hogan
de996d76bb
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
old-commit-hash: 5058f31908
2023-08-29 22:24:37 +00:00
Dean Lee
228d30d5a9
cpplint: add filter whitespace/tab ( #29588 )
...
old-commit-hash: 9c7bf50703
2023-08-24 08:06:58 -07:00
Dean Lee
0984736972
cpplint: add filter build/include_subdir ( #29585 )
...
old-commit-hash: 21da5a216f
2023-08-24 15:42:17 +01:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5
2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
8960a0912b
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 >
old-commit-hash: 239d6a24be
2023-08-23 14:21:10 -07:00
Adeeb Shihadeh
44f1d480f9
sensord: run as many sensors as possible ( #29564 )
...
old-commit-hash: d3fb75a972
2023-08-23 14:07:00 -07:00