Cameron Clough
7126363093
uploader: log actual uploaded file size ( #28000 )
...
* uploader: log actual uploaded file size
The size will be less if compressed before uploading.
* cleanup
* fix return type
* add request to FakeResponse
* cleanup
* fix
2 years ago
Cameron Clough
e03efa723b
uploader: add missing types
2 years ago
Cameron Clough
a27ce83b28
uploader: add typing ( #28001 )
...
* uploader: add typing
* fix types
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
Shane Smiskol
c9804f8ec2
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
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
ZwX1616
4b1f77d54a
OX03C10: improve tone mapping ( #27754 )
...
Co-authored-by: Comma Dev1ce & Y. Yousfi <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
08be9eed08
sensord: remove hardcoded irq from test ( #27759 )
...
* sensord: remove hardcoded irq from test
* fix linter
---------
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
ZwX1616
25a7f87b42
camerad: reduce daytime HDR blur ( #27644 )
...
* 60hz
* be dynamic
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
be659c976c
log current bootlog ( #27645 )
...
* log current bootlog
* rm path
* mv that
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Dean Lee
a86730a2c6
camerad: remove deprecated focus parameters from FrameMetadata ( #27638 )
2 years ago
Robbe Derks
d26d8b3ba9
Improve OX frame timing jitter ( #27582 )
...
* frame timing script
* enable vsync output and improve fsin tracking
* increase measurement time
* fix python linting
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Harald Schäfer
38cb42f76a
LaikaD new cache version ( #27596 )
2 years ago
Harald Schäfer
153ffa3f68
Sat info from ublox ( #27526 )
...
* squashed
* bump cereal
2 years ago
Harald Schäfer
5c70482761
Use structs in laika ( #27585 )
...
* doesnt crash
* New cacher
* unused import
* help linter
* Annotate list
* print error
* fix caching bugs
* wrong name
* small fixes
* fix sum
* wrong brackets
* fix tests
* update ref
* bump submodules
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
7d32554fe3
Parse GLONASS ephemeris from mystery satellites ( #27541 )
...
parse unknown glonass
2 years ago
Harald Schäfer
75eaca3cf3
Update amplifier config ( #27443 )
...
* update tizi amplifier
* Update attenuation
2 years ago
Adeeb Shihadeh
c97911dbad
ubloxd: move to system/ ( #27536 )
...
* ubloxd: move to system/
* more fixes
* add missing sconscript
* fix valgrind tests
* uncomment
2 years ago
Harald Schäfer
231e9a950d
Pigeond: Request sat info msgs ( #27529 )
...
request sat info msgs
2 years ago
Adeeb Shihadeh
94eb215980
loggerd: move to system/ ( #27534 )
2 years ago
Adeeb Shihadeh
6f40f0d442
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
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
0374d4817d
setup pre-built master-ci ( #27205 )
...
* try this
* add as release branch
* set the name
* build on master-ci
2 years ago
Cameron Clough
feba2f3fe5
fix micd input device ( #27160 )
...
* try no device
* unused
* move sounddevice import
2 years ago
ZwX1616
e2e780e7c6
ci: intra-camera timing check ( #27069 )
...
* test frame time
* 1 is still much tighter than 5
2 years ago
Adeeb Shihadeh
ef42652368
fix typo AR0321 -> AR0231 ( #26993 )
2 years ago
ZwX1616
bc8e2032f7
camerad: reduce ox LFM noise ( #26949 )
...
* wip
* make separate score func
* n4ot g
* clean up
* remove
* simplify
* b2b
* more than 0
* this is fine
* led
* balance costs
* clean up
* no if tici
* box view
* new baselines
* Revert "new baselines"
This reverts commit f7a5d059ed
.
* Revert "box view"
This reverts commit a57924be36
.
* maximize dcg
Co-authored-by: Comma Dev1ce <device@comma.ai>
2 years ago
ZwX1616
028527423c
camerad: rework ox exposure score ( #26948 )
...
* wip
* make separate score func
* n4ot g
* clean up
* remove
* simplify
* b2b
* balance costs
* clean up
* no if tici
* box view
* new baselines
* Revert "new baselines"
This reverts commit f7a5d059ed
.
* Revert "box view"
This reverts commit a57924be36
.
Co-authored-by: Comma Device <device@comma.ai>
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