Cameron Clough
303b5532ad
soundd: change system sound mixer volume ( #26633 )
...
* test changing sound volume
* create system/hardware/pc/hardware.h
* soundd: use Hardware::set_volume
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.
* don't run command in background
* pactl: use default sink
old-commit-hash: 02b5b6fe1f
2022-11-30 15:36:25 -08:00
Adeeb Shihadeh
5bf27eff97
spi goes on boardd core
...
old-commit-hash: 4478241bea
2022-11-21 17:17:36 -08:00
Adeeb Shihadeh
d87ea66802
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
old-commit-hash: b549e8174e
2022-11-10 21:10:34 -08:00
Adeeb Shihadeh
461206de1c
boardd: SPI support ( #26374 )
...
* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 8ba9a5107b
2022-11-08 13:21:07 -08:00
ZwX1616
426286f24f
DM: add use of e2e preds ( #26078 )
...
* try ml
* de56
* j914ef75a
* jd1124586
* jd1124586
* d112
* oops
* set
* update ref
* use offset
* bump DM power usage
* new ref
old-commit-hash: d522492ba0
2022-10-17 19:40:06 -07:00
Adeeb Shihadeh
c31c77668f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 1f5187892f
2022-10-07 10:39:11 -07:00
Adeeb Shihadeh
c18d23c8be
CI: re-enable power draw test ( #25988 )
...
* CI: re-enable power draw test
* adjust for ngrl
old-commit-hash: 9e6265ce21
2022-10-06 15:01:57 -07:00
Adeeb Shihadeh
fa3e33b8e8
agnos 6.1 ( #25973 )
...
* agnos 6.1
* staging manifest
* no casync
* prod manifest
old-commit-hash: ef24c0b2ce
2022-10-05 16:40:39 -07:00
Adeeb Shihadeh
497bc99c27
agnos updater: set timeout on download ( #25927 )
...
old-commit-hash: 74f741d0be
2022-09-29 13:18:01 -07:00
Cameron Clough
23a4e66b17
configure mypy outside of pre-commit environment ( #25892 )
...
* add mypy config matching precommit
* use local mypy, add files to config
* excludes too
* fix config
* pylint is sad now... did it get updated?
* fix typing hints
* ignore
* this should be a regexp
* mypy doesn't like Deque despite inheriting MutableSequence
* more excludes
* Revert "pylint is sad now... did it get updated?"
This reverts commit 250c632f18ecb3d33ffb931e15425f9314a0964b.
old-commit-hash: 4e310b807f
2022-09-27 20:43:05 -07:00
Adeeb Shihadeh
a8a9f16845
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
old-commit-hash: dc65f8a60a
2022-09-22 15:56:17 -07:00
Willem Melching
7451db46cf
sensord: use interrupts to improve LSM6DS3 timing accuracy ( #24525 )
...
* change LSM6DS3TR(-c) gyroscope and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com >
old-commit-hash: 84a3c355e5
2022-09-12 22:29:31 -07:00
Adeeb Shihadeh
caac56b92e
USB power mode cleanup ( #25619 )
...
* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
old-commit-hash: 28cb1897cb
2022-08-31 21:13:53 -07:00
Adeeb Shihadeh
0325a33752
add pyside2 package ( #25602 )
...
old-commit-hash: c6b749fb96
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
2022-08-30 11:20:55 -07:00
HaraldSchafer
f7d1aad21e
Update model replay commit for calib change ( #25357 )
...
* Update model replay commit for calib test
* more reliable baseline
* update docker login
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 9fbbefbc94
2022-08-03 22:35:03 -07:00
Adeeb Shihadeh
70d4f03b9a
power monitor: fix missing numpy import
...
old-commit-hash: e7b3ebdb17
2022-08-01 20:02:53 -07:00
Comma Device
6ef3ae8918
update tici power monitor
...
old-commit-hash: 82fbd14144
2022-08-01 19:25:35 -07:00
Willem Melching
dfcd3a2910
casync unittests ( #25306 )
...
* simple extract test
* add test with loopback
* test for chunk reuse
* test seeding
* add instructions
* cleanup
* install casync
* make more tests work without a loopback
old-commit-hash: 753f4c7fab
2022-07-29 17:46:19 +02:00
Willem Melching
8b39650d99
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
old-commit-hash: b2c1098cd8
2022-07-28 14:58:23 +02:00
Adeeb Shihadeh
e2734a6157
Revert "Revert "remove casync from agnos manifest for now""
...
This reverts commit c64c00fd5d49d4e0bda48bcf4e476655073c70a5.
old-commit-hash: 15846435fe
2022-07-22 10:01:08 -07:00
Adeeb Shihadeh
4523108a02
Revert "remove casync from agnos manifest for now"
...
This reverts commit 7c34965678fada52c65250d32819ab04980afaa5.
old-commit-hash: 0c5668d96e
2022-07-21 21:05:52 -07:00
Willem Melching
54bbb9332e
casync: only when run from updater ( #25130 )
...
* casync: only when run from updater
* also here
old-commit-hash: 906a8a912c
2022-07-12 19:28:48 -07:00
Willem Melching
76ef2d83d4
casync: manifest compare script ( #25129 )
...
* casync compare script
* typo
* cleanup output
old-commit-hash: 205f6f7414
2022-07-12 16:09:21 +02:00
Adeeb Shihadeh
5fd0c500a1
remove casync from agnos manifest for now
...
old-commit-hash: 8ea982264e
2022-07-08 13:05:25 -07:00
Willem Melching
32da08eb11
casync: increase chunk download timeout
...
old-commit-hash: 35c8c0e600
2022-07-08 19:19:57 +02:00
Willem Melching
e737b50c2d
casync: handle hash failure ( #25081 )
...
* casync: handle hashing failure due to IO errors
* fix comment
* all exceptions
* fix typo
* Update system/hardware/tici/agnos.py
old-commit-hash: b6df0cd242
2022-07-08 15:44:16 +02:00
Adeeb Shihadeh
0b0e11827d
AGNOS 5.2 ( #25011 )
...
* AGNOS 5.2
* casync manifest
old-commit-hash: c9fa5ef11a
2022-07-08 00:23:46 -07:00
Willem Melching
5dc7f22545
casync: compute seed caibx url on the fly ( #25046 )
...
* compute seed hash on the fly
* more logging
* partition name in url
* fix comment
old-commit-hash: 4080f729be
2022-07-06 13:04:25 +02:00
Willem Melching
e3c24c5cc4
casync: reuse requests session in RemoteChunkReader ( #25045 )
...
old-commit-hash: 50434d612e
2022-07-06 12:08:51 +02:00
Willem Melching
0f37257d29
casync: build_chunk_dict optimize for resuming ( #25038 )
...
old-commit-hash: 06a8ac627c
2022-07-05 18:06:08 +02:00
Willem Melching
3230474724
add casync support to agnos updater ( #23654 )
...
* add casync option to agnos updater
* open if necessary
* add python implementation
* last chunk can be small
* check flags
* cleaner check
* add remote and file stores
* remote caibx file
* print stats
* use python implementation
* clean up imports
* add progress
* fix logging
* fix duplicate chunks
* add comments
* json stats
* cleanup tmp
* normal image is still sparse
* Update system/hardware/tici/agnos.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update system/hardware/tici/agnos.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* add some types
* remove comment
* create Chunk type
* make readers a class
* try agnos 5.2
* add download retries
* catch all exceptions
* sleep between retry
* revert agnos.json changes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 3900781092
2022-07-05 16:55:32 +02:00
Robbe Derks
a6efa2c7d3
Log SOM power draw ( #24975 )
...
* log SOM power draw
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 684d4b75a1
2022-06-27 15:33:46 +02:00
ZwX1616
cd2a98aa11
fullframe DM model ( #24860 )
...
* Revert "put cereal on master"
This reverts commit 4646c132bae7358079c9b2867725f8382906c1e5.
* Revert "Revert fullframe DM model (#24812 )"
This reverts commit 59e8af4c3101785cead69a9880cc03e0a18081e1.
* revert revert cereal
* clip6
* 0.8 is fair
* Fiction compensation should be based on error
* Update refs
* Add deadzone
* not that
* good mg
* ref
* ref
* ee8f
* minor tweak
* ref
* recompile
* ref
* cereal
* match driverstatus
* new ref
* new ref
* pass token through jenkins credentials
* quote
* fix snpe dead weights
* final ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 1f2f9ea9c9
2022-06-20 16:24:51 -07:00
Adeeb Shihadeh
6ce60227f4
bump up modeld power draw threshold
...
old-commit-hash: 0d0f5926a0
2022-06-14 21:12:49 -07:00
Adeeb Shihadeh
9e945d4d93
set AGNOS from /AGNOS file
...
old-commit-hash: 9cda2d6338
2022-06-11 18:43:24 -07:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
2022-06-11 16:38:24 -07:00