ZwX1616
d7acbd3313
no if tici
2 years ago
ZwX1616
7c6adf4f39
clean up
2 years ago
Comma Device
564de17343
balance costs
2 years ago
Comma Device
3c40fa9f8d
b2b
2 years ago
ZwX1616
453a8a8959
simplify
2 years ago
Comma Device
89d52bbff1
remove
2 years ago
ZwX1616
6a5fec2d98
clean up
2 years ago
Comma Device
9d093962ba
n4ot g
2 years ago
ZwX1616
e68cb90438
make separate score func
2 years ago
Comma Device
f395d02ff1
wip
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
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
ZwX1616
e6e33531ca
camerad: lower cost for OX high gain idxs ( #26775 )
2 years ago
Shane Smiskol
20dba2f33d
Micd: update sound levels in callback ( #26674 )
...
* update once reached 4096
* update once reached 4096
* reduce
* debug & cmt
* fix
* fifo again
* fix
* clean that up
* update filter on demand
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
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
Shane Smiskol
de061eacbe
soundd: lower max volume breakpoint ( #26673 )
...
* revert tune
* remove hanning window
* retune from hanning window
* add hanning back
* update once reached 4096
* Revert "update once reached 4096"
This reverts commit 0898cbeec7
.
2 years ago
Shane Smiskol
d087fab2c0
micd: apply A-weighting to the sound pressure level ( #26668 )
...
* record
* record
* draft
* some clean up
* some clean up
* wishful tuning
* log pressure level (db) for debugging
* fix
* tuning
* ignore complex to real warning
* remove this
* Update selfdrive/ui/soundd/sound.cc
* Update system/micd.py
* remove warning supp
* bump cereal to master
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
ZwX1616
2153bfe27a
camerad: minor ae improvement to OX ( #26566 )
2 years ago
Adeeb Shihadeh
4478241bea
spi goes on boardd core
2 years ago
Adeeb Shihadeh
94aa39bdd4
enable experimental longitudinal control on devel ( #26544 )
2 years ago
Adeeb Shihadeh
b549e8174e
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
3 years ago
ZwX1616
5eaf525c18
camerad: fix OX flicker ( #26439 )
3 years ago
Kurt Nistelberger
4ec1c7e614
CI: camera box update ( #26414 )
...
* check if all frames are laggy
* apply tolerance
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 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
aab4b79416
CI: set OX frame sync tolerance ( #26347 )
...
* ox tolerate
* int
* update comments
3 years ago
ZwX1616
fdd125853f
camerad: fix OX not having vignetting comp ( #26329 )
3 years ago
Rohit Bernard
9377448888
sim: Converting RGB frames to NV12 format in OpenCL ( #26169 )
...
* convert carla rgb frames to nv12
* code cleanup
* move kernel
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
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
Dean Lee
379b7cf8b6
proclogd: fix wrong type for rss ( #25923 )
...
rss is long
3 years ago
Adeeb Shihadeh
74f741d0be
agnos updater: set timeout on download ( #25927 )
3 years ago
Dean Lee
2e5b50c2d7
test_proclog: add cmdline check in buildProcLogerMessage ( #25891 )
3 years ago
Adeeb Shihadeh
2384a9ee67
fix autobrightness for OX03C10 ( #25915 )
...
* fix autobrightness for OX03C10
* fix scaling
* use cur ev
* oops
* bump cereal
3 years ago
Adeeb Shihadeh
1c6dc12a04
camerad: improved frame sync and skip tests ( #25904 )
...
* camerad: cleanup frame sync and skip tests
* fix linter
Co-authored-by: Comma Device <device@comma.ai>
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
ZwX1616
4ed0abd197
camerad: recalibrate ox colors for HDR ( #25874 )
...
re
3 years ago
ZwX1616
bae94a0070
camerad: fix OX page faults ( #25853 )
3 years ago
Dean Lee
8870b439dd
camerad: fix class/struct forward declaration mistake ( #25842 )
3 years ago
Dean Lee
8ae3199578
camerad: make sure cl_context is valid for lifetime of camerad ( #25735 )
3 years ago
Dean Lee
78fd303d50
camerad: cleanup CameraBuf::acquire ( #25737 )
...
* cleanup
* add that back
* less indent
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Dean Lee
5bb230cde4
camerad: remove function camera_autoexposure ( #25733 )
3 years ago
Dean Lee
25ce997f37
CameraBuf: remove unused member 'camera_state' ( #25736 )
3 years ago
Dean Lee
467c4f7fb3
camera_qcom2: remove unneeded static keywords ( #25780 )
3 years ago