Adeeb Shihadeh
d92c9aef23
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
1945c356c2
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 c5132f8a27
.
* 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>
2 years ago
Adeeb Shihadeh
e2b5d1e29a
mapsd: rendering tests ( #28981 )
...
* mapsd: rendering tests
* run
* speedup
2 years ago
Cameron Clough
62ae247417
update modem script ( #28793 )
2 years ago
Adeeb Shihadeh
d4bd0a3213
tici: let gpu sleep sooner ( #28698 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
7d6c22949a
tici: improve amp test ( #28648 )
2 years ago
Adeeb Shihadeh
111b4eee30
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
2 years ago
Comma Device
dec3c5a57d
test_amp: wait for panda
2 years ago
Mitchell Goff
729d3ddcb5
Check msg count in test_power_draw ( #28444 )
...
* Check msg count in test_power_draw.
* Use drain_sock
* Bug fix
* Combine into a single table
* Check camera state msgs and no default value for Proc.msgs
* Update system/hardware/tici/tests/test_power_draw.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
mitchellgoffpc
ae0768909b
Lowered expected power draw for mapsd
2 years ago
Mitchell Goff
dd6f7116f7
Test power usage for mapsd and navmodeld ( #28378 )
...
* Test power usage for mapsd and navmodeld
* Send LLK message from thread
* Use threading.Event
2 years ago
Kacper Rączy
b43a875ba2
params: specify path using PARAMS_ROOT ( #28257 )
...
* Add PARAMS_ROOT env var
* Change getenv type signature
* Use getenv default_val
2 years ago
Adeeb Shihadeh
4751d2b57c
tici: log disk info ( #28259 )
2 years ago
Adeeb Shihadeh
951bab8e18
AGNOS 7 ( #26908 )
...
* agnos 7
* no caibx
* new build
* agnos 7.1
* prod manifest
2 years ago
Adeeb Shihadeh
1a3125bb8f
bootlog: log agnos partition hashes ( #28141 )
...
* bootlog: log agnos partition hashes
* full path
* trimming
* slot
* boot is big
* give some time to start
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
e24d28fd45
loggerd: log HW-specific extras ( #28084 )
...
* loggerd: log HW-specific extras
* fix value
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9b0d140400
tizi: more amp retries ( #28082 )
2 years ago
Robbe Derks
21bcd7db63
Dynamic device type ( #28011 )
...
* tizi_device_type
* fix test
* also change it in the C versin
2 years ago
Adeeb Shihadeh
8a6312ef14
pandad: support GPIO recovery when in bootstub ( #28090 )
...
pandad: recover when in bootstub
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
d5a0a4b3e8
Jenkins tuneup ( #28095 )
...
* tuneup
* use service messages
* logmono
* not passive
2 years ago
Adeeb Shihadeh
f832a71038
pandad: wait for internal panda to come up ( #27705 )
...
* pandad: wait for internal panda to come up
* test
* more checks
2 years ago
Adeeb Shihadeh
8f1753aaab
tizi: enable fan for shutdown ( #27890 )
...
* tizi: enable fan for shutdown
* Update system/hardware/tici/hardware.py
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
767ed4295f
tizi: retry amp comms ( #27735 )
...
* tizi: retry amp comms
* ensure all config is written together
* simple test
* check errors
* test shutdown
* a tici exclusive
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
9eda72d871
update manifest path in test
2 years ago
Adeeb Shihadeh
39a1a917e7
tici: move tests to tests/
2 years ago
Adeeb Shihadeh
fdb3488f6b
tizi: only affine panda USB IRQ when it's used ( #27816 )
...
only affine panda USB IRQ when it's used
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
038d34aa7f
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
c25ce02639
tici: turn off fan after boot ( #27680 )
...
* tici: turn off fan after boot
* tmp if
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
2749205b4a
allow running amp config script standalone ( #27587 )
...
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Harald Schäfer
75eaca3cf3
Update amplifier config ( #27443 )
...
* update tizi amplifier
* Update attenuation
2 years ago
Adeeb Shihadeh
ebd25b8a7d
test_power_draw: add header to output table ( #27511 )
...
* test_power_draw: add header to output table
* units
2 years ago
George Hotz
3892c60980
tinygrad: bump to 0.5 ( #27505 )
...
* bump tinygrad to 0.5
* update release files
* ref commit + bump tinygrad
* save 220 mW
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Cameron Clough
6fb5661abb
setup: add serial to request headers ( #27237 )
...
* setup: add dongle ID to request headers
* rename openpilot
* fix str
* hardware: get_serial
* set serial instead
* fix typo
* static
* fixes
2 years ago
Adeeb Shihadeh
922bedaf47
tici: remove hardcoded max brightness ( #26859 )
...
* tici: remove hardcoded max brightness
* fix that one
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
3d44b6b3ac
alt amp config ( #26858 )
...
* alt amp config
* fix
* not executable
* comment
* consistency
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Shane Smiskol
060b69ee2f
micd: revert check playing sound (high cpu usage) ( #26672 )
...
* don't use hardware
* check micd proc
* use pactl package
* cleanup
* Revert "cleanup"
This reverts commit baf9887e2d
.
* Revert "use pactl package"
This reverts commit 0c1f3a4b86
.
* Revert "micd: don't update filtered sound level if playing sound (#26652 )"
This reverts commit 86cd919a57
.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42
.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Cameron Clough
86cd919a57
micd: don't update filtered sound level if playing sound ( #26652 )
...
* add is_sound_playing to hardware.py
* micd: don't update filtered sound level if playing sound
2 years ago
Cameron Clough
108ff15f5d
micd: scale sound volume with ambient noise level ( #26399 )
...
* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746
.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Cameron Clough
02b5b6fe1f
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 4bbd870746
.
* don't run command in background
* pactl: use default sink
2 years ago
Adeeb Shihadeh
4478241bea
spi goes on boardd core
2 years ago
Adeeb Shihadeh
b549e8174e
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
2 years ago
Adeeb Shihadeh
8ba9a5107b
boardd: SPI support ( #26374 )
...
* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
ZwX1616
d522492ba0
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
3 years ago
Adeeb Shihadeh
1f5187892f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
9e6265ce21
CI: re-enable power draw test ( #25988 )
...
* CI: re-enable power draw test
* adjust for ngrl
3 years ago
Adeeb Shihadeh
ef24c0b2ce
agnos 6.1 ( #25973 )
...
* agnos 6.1
* staging manifest
* no casync
* prod manifest
3 years ago
Adeeb Shihadeh
74f741d0be
agnos updater: set timeout on download ( #25927 )
3 years ago
Cameron Clough
4e310b807f
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 250c632f18
.
3 years ago
Adeeb Shihadeh
dc65f8a60a
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
3 years ago
Willem Melching
84a3c355e5
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>
3 years ago