Adeeb Shihadeh
29eb4d3a35
pandad: wait for internal panda to come up ( #27705 )
...
* pandad: wait for internal panda to come up
* test
* more checks
old-commit-hash: f832a71038f5d50f991d36d7860bfc0ef912794e
2023-04-14 14:18:13 -07:00
Adeeb Shihadeh
9ab3f160fb
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 >
old-commit-hash: 8f1753aaab70f5498a57c430393cd0f84693306b
2023-04-13 15:35:07 -07:00
Shane Smiskol
1f46287206
quectel: move vertical accuracy sanity check ( #27819 )
...
* Update rawgpsd.py
* remove from locationd
* Update system/sensord/rawgps/rawgpsd.py
* flip
old-commit-hash: c9804f8ec20fd60a42c17d61d07da83406c5ff31
2023-04-10 20:46:12 -07:00
Adeeb Shihadeh
7b329bcc59
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 >
old-commit-hash: 767ed4295f9924a98df5dcd79b8bd71d73511d73
2023-04-06 23:38:16 -07:00
Adeeb Shihadeh
57f3632aa1
update manifest path in test
...
old-commit-hash: 9eda72d8712d3bd2a56b66d61ae99c1952c97272
2023-04-05 22:39:57 -07:00
Adeeb Shihadeh
827ebdacaf
tici: move tests to tests/
...
old-commit-hash: 39a1a917e78280ce654135944bb342ca923d8bc3
2023-04-05 22:17:57 -07:00
Adeeb Shihadeh
119c910a36
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 >
old-commit-hash: fdb3488f6bbe34500e1694abd56160168937e5e3
2023-04-05 21:08:14 -07:00
ZwX1616
2a5ca702e7
OX03C10: improve tone mapping ( #27754 )
...
Co-authored-by: Comma Dev1ce & Y. Yousfi <device@comma.ai >
old-commit-hash: 4b1f77d54ab550c94e70bc374eaf3b887ae0ed84
2023-04-05 19:46:04 -07:00
Adeeb Shihadeh
3d9dfbf2bd
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 >
old-commit-hash: 038d34aa7f25bff127d1265f6b1446cf40fe414b
2023-04-05 16:35:27 -07:00
Adeeb Shihadeh
dd59af2a15
sensord: remove hardcoded irq from test ( #27759 )
...
* sensord: remove hardcoded irq from test
* fix linter
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 08be9eed0820ecedcec63a92f32bc5b1077713a2
2023-03-30 19:36:03 -07:00
Adeeb Shihadeh
aa5aeb3ba3
tici: turn off fan after boot ( #27680 )
...
* tici: turn off fan after boot
* tmp if
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c25ce02639a86f6627314ecd3b3c101d82d7498f
2023-03-24 16:48:07 -07:00
ZwX1616
897271fc32
camerad: reduce daytime HDR blur ( #27644 )
...
* 60hz
* be dynamic
* cast
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 25a7f87b424b2a4fd116aff5a5a83ecd1fd87f07
2023-03-22 13:44:29 -07:00
Adeeb Shihadeh
3913d4197f
log current bootlog ( #27645 )
...
* log current bootlog
* rm path
* mv that
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: be659c976c633876a58ee282550f9ccf52a1e504
2023-03-21 17:28:38 -07:00
Dean Lee
cf52038858
camerad: remove deprecated focus parameters from FrameMetadata ( #27638 )
...
old-commit-hash: a86730a2c601188c480285c45999efa00c3b3d4a
2023-03-21 16:55:06 -07:00
Robbe Derks
4f560215ba
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 >
old-commit-hash: d26d8b3ba9787dc02b9c116d7e750a3b36dd0846
2023-03-16 10:59:27 +01:00
Harald Schäfer
515645da51
LaikaD new cache version ( #27596 )
...
old-commit-hash: 38cb42f76aa9fe21b0e71569934864d578499c8e
2023-03-15 20:26:19 -07:00
Harald Schäfer
9512d91684
Sat info from ublox ( #27526 )
...
* squashed
* bump cereal
old-commit-hash: 153ffa3f68bc316d17b46a94327bdc5777f39b4f
2023-03-15 01:21:18 -07:00
Harald Schäfer
20dfe96afa
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
old-commit-hash: 5c704827619e774c9877b4598af06d1c6bca80d2
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh
7bd3d642aa
allow running amp config script standalone ( #27587 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 2749205b4a8d87b18051d3fa8c680b2e9a849a33
2023-03-14 20:55:41 -07:00
Harald Schäfer
faf6e27f46
Parse GLONASS ephemeris from mystery satellites ( #27541 )
...
parse unknown glonass
old-commit-hash: 7d32554fe36dd428efa45f9998b3cb0e018d9a40
2023-03-09 18:48:32 -08:00
Harald Schäfer
6d6137ef5a
Update amplifier config ( #27443 )
...
* update tizi amplifier
* Update attenuation
old-commit-hash: 75eaca3cf360614dcc86a7028921bbf022e30fa9
2023-03-09 11:12:42 -08:00
Adeeb Shihadeh
de9a100719
ubloxd: move to system/ ( #27536 )
...
* ubloxd: move to system/
* more fixes
* add missing sconscript
* fix valgrind tests
* uncomment
old-commit-hash: c97911dbad15c3cc7dc577b305ab9aed775e021f
2023-03-08 16:11:18 -08:00
Harald Schäfer
bc53c9199c
Pigeond: Request sat info msgs ( #27529 )
...
request sat info msgs
old-commit-hash: 231e9a950dc32b322602815a25486fdc50ec2091
2023-03-08 13:07:33 -08:00
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb2159802d3dba99620db0b08731c68a7e4733
2023-03-08 11:20:49 -08:00
Adeeb Shihadeh
47d30174d3
sensord: move to system/ ( #27531 )
...
* sensord: move to system/
* add gitignore to releaes files
old-commit-hash: 6f40f0d4427f4238c3939a64d1d6baa7d77f1ecc
2023-03-08 10:56:54 -08:00
Adeeb Shihadeh
37af774ab0
test_power_draw: add header to output table ( #27511 )
...
* test_power_draw: add header to output table
* units
old-commit-hash: ebd25b8a7de29542be7c6a213c578bc363999857
2023-03-06 16:13:29 -08:00
George Hotz
2fe836f158
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 >
old-commit-hash: 3892c6098085ad05878f78aef0afefac55e38306
2023-03-06 15:50:28 -08:00
Cameron Clough
0276badcc0
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
old-commit-hash: 6fb5661abba34971e547941e0f6a6625bef3b75a
2023-02-06 20:02:30 -08:00
Adeeb Shihadeh
858a5654b1
setup pre-built master-ci ( #27205 )
...
* try this
* add as release branch
* set the name
* build on master-ci
old-commit-hash: 0374d4817d4730fb76adcee07252adf39759dd25
2023-02-05 15:45:01 -08:00
Cameron Clough
cc0090c8d2
fix micd input device ( #27160 )
...
* try no device
* unused
* move sounddevice import
old-commit-hash: feba2f3fe566114325f8c9119540fb19cf401a4a
2023-01-30 17:41:42 -08:00
ZwX1616
6b64d20006
ci: intra-camera timing check ( #27069 )
...
* test frame time
* 1 is still much tighter than 5
old-commit-hash: e2e780e7c650878c2b3305531efe8239d6a99933
2023-01-24 16:34:41 -08:00
Adeeb Shihadeh
16dabbd686
fix typo AR0321 -> AR0231 ( #26993 )
...
old-commit-hash: ef42652368bb56a93e75f172062ac9f6aca29563
2023-01-17 19:52:06 -08:00
ZwX1616
93679d10fc
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 f7a5d059eda70fa4d49e3024923da30e8821f42b.
* Revert "box view"
This reverts commit a57924be36e7d6abc2585aca9575c74cd583ef86.
* maximize dcg
Co-authored-by: Comma Dev1ce <device@comma.ai >
old-commit-hash: bc8e2032f7aaafb172e4b2505e7cdc5da1970eb9
2023-01-17 14:16:28 -08:00
ZwX1616
0dc7085d41
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 f7a5d059eda70fa4d49e3024923da30e8821f42b.
* Revert "box view"
This reverts commit a57924be36e7d6abc2585aca9575c74cd583ef86.
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 028527423c86800e5f260377533c1f8024658f67
2023-01-13 21:32:15 -08:00
Adeeb Shihadeh
4641431306
tici: remove hardcoded max brightness ( #26859 )
...
* tici: remove hardcoded max brightness
* fix that one
* cleanup
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 922bedaf47effb448c056a1844c13ecd7a26a244
2023-01-01 19:47:02 -08:00
Adeeb Shihadeh
82a91d59c4
alt amp config ( #26858 )
...
* alt amp config
* fix
* not executable
* comment
* consistency
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 3d44b6b3ac6d1f207e01d4cbf225bd929255ca1e
2023-01-01 19:15:44 -08:00
Adeeb Shihadeh
b3e47c691b
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 >
old-commit-hash: cd8e03d53ed210aec46a2ff728cb4a830314a21a
2022-12-31 21:00:50 -08:00
ZwX1616
2bbf68c63b
camerad: lower cost for OX high gain idxs ( #26775 )
...
old-commit-hash: e6e33531cad4f50c94d5522dc430900828467317
2022-12-12 16:35:25 -08:00
Shane Smiskol
43a80f7dd8
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 >
old-commit-hash: 20dba2f33d870d81347ff7045911797a286c9128
2022-12-02 18:38:04 -08:00
Shane Smiskol
16859211f5
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 baf9887e2d3e7dce8c24a93e970bb5a2d3609d50.
* Revert "use pactl package"
This reverts commit 0c1f3a4b865e44052affa57323ae4a21d274d6e3.
* Revert "micd: don't update filtered sound level if playing sound (#26652 )"
This reverts commit 6703f6fa0297ad587ce80fcf1af432c402ba4e7e.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42bdfd2f7f8bf226978a518d984fb154.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 060b69ee2f5148140ec696cbc950b83f700fd671
2022-12-02 15:25:34 -08:00
Shane Smiskol
4548cf9592
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 0898cbeec736916ffaee5e963df048b48636ece5.
old-commit-hash: de061eacbe772b1a9be73d4a3864fad6e05037ac
2022-12-02 02:23:51 -08:00
Shane Smiskol
4dfeb1ddeb
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 >
old-commit-hash: d087fab2c0af6baf104591dade313311aeed1e4b
2022-12-02 00:11:29 -08:00
Cameron Clough
8242a86d96
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
old-commit-hash: 86cd919a57be22fa0ccf324a8767999309df60e4
2022-12-01 12:52:06 -08:00
Cameron Clough
9bcf83f493
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 4bbd870746ec86d1c9871a6175def96cf7f751a6.
* 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 >
old-commit-hash: 108ff15f5dc16f79a36a2d33397b36dba42d70cf
2022-11-30 21:56:03 -08:00
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: 02b5b6fe1f9f919f0cafea3efc6be2403a3f7139
2022-11-30 15:36:25 -08:00
ZwX1616
8a32eec398
camerad: minor ae improvement to OX ( #26566 )
...
old-commit-hash: 2153bfe27a99b2ecd36ff91fcd10c3e71d952bbe
2022-11-23 13:08:04 -08:00
Adeeb Shihadeh
5bf27eff97
spi goes on boardd core
...
old-commit-hash: 4478241bea02cb673983aa6b97428702a54dd1c2
2022-11-21 17:17:36 -08:00
Adeeb Shihadeh
4cb61240b3
enable experimental longitudinal control on devel ( #26544 )
...
old-commit-hash: 94aa39bdd406400ab48765d8b50f08e03ecf9eb8
2022-11-21 16:18:51 -08:00
Adeeb Shihadeh
d87ea66802
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
old-commit-hash: b549e8174e4f8ccd2be3c324e47333e721db3914
2022-11-10 21:10:34 -08:00
ZwX1616
0ec1b66315
camerad: fix OX flicker ( #26439 )
...
old-commit-hash: 5eaf525c18becad63205fd3add4bfe540f70b01a
2022-11-09 21:49:24 -08:00