Commit Graph

131 Commits

Author SHA1 Message Date
Shane Smiskol
8a7283d315 uploader: check upload key value (#28206)
* fix check

* tests

* fix test

* fix

* xattr truthy and falsy tests

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 7f7637f3e5
2023-05-16 21:55:24 -07:00
Adeeb Shihadeh
a82cf8d494 AGNOS 7 (#26908)
* agnos 7

* no caibx

* new build

* agnos 7.1

* prod manifest
old-commit-hash: 951bab8e18
2023-05-12 17:22:09 -07:00
Adeeb Shihadeh
2f8939dd0e 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>
old-commit-hash: 1a3125bb8f
2023-05-10 13:56:44 -07:00
Adeeb Shihadeh
3689bd2e77 loggerd: log HW-specific extras (#28084)
* loggerd: log HW-specific extras

* fix value

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e24d28fd45
2023-05-08 19:21:22 -07:00
ZwX1616
a18a41659d camerad: write static AE settings only once (#28134)
* this is free

* illusion of choice
old-commit-hash: 78ba67e211
2023-05-08 18:43:54 -07:00
Adeeb Shihadeh
09fe521cfe tizi: more amp retries (#28082)
old-commit-hash: 9b0d140400
2023-05-04 11:07:40 -07:00
Robbe Derks
51576bdd30 Dynamic device type (#28011)
* tizi_device_type

* fix test

* also change it in the C versin
old-commit-hash: 21bcd7db63
2023-05-04 12:12:01 +02:00
Adeeb Shihadeh
a6f06fc98c pandad: support GPIO recovery when in bootstub (#28090)
pandad: recover when in bootstub

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8a6312ef14
2023-05-03 20:27:32 -07:00
Adeeb Shihadeh
e631d24d77 Jenkins tuneup (#28095)
* tuneup

* use service messages

* logmono

* not passive
old-commit-hash: d5a0a4b3e8
2023-05-03 16:52:20 -07:00
Cameron Clough
c0fa2f3ea2 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
old-commit-hash: 7126363093
2023-04-26 20:45:58 -07:00
Cameron Clough
3bb5167aa8 uploader: add missing types
old-commit-hash: e03efa723b
2023-04-21 23:06:47 -07:00
Cameron Clough
6626f3036f uploader: add typing (#28001)
* uploader: add typing

* fix types
old-commit-hash: a27ce83b28
2023-04-21 22:03:26 -07:00
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: f832a71038
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: 8f1753aaab
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: c9804f8ec2
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: 767ed4295f
2023-04-06 23:38:16 -07:00
Adeeb Shihadeh
57f3632aa1 update manifest path in test
old-commit-hash: 9eda72d871
2023-04-05 22:39:57 -07:00
Adeeb Shihadeh
827ebdacaf tici: move tests to tests/
old-commit-hash: 39a1a917e7
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: fdb3488f6b
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: 4b1f77d54a
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: 038d34aa7f
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: 08be9eed08
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: c25ce02639
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: 25a7f87b42
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: be659c976c
2023-03-21 17:28:38 -07:00
Dean Lee
cf52038858 camerad: remove deprecated focus parameters from FrameMetadata (#27638)
old-commit-hash: a86730a2c6
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: d26d8b3ba9
2023-03-16 10:59:27 +01:00
Harald Schäfer
515645da51 LaikaD new cache version (#27596)
old-commit-hash: 38cb42f76a
2023-03-15 20:26:19 -07:00
Harald Schäfer
9512d91684 Sat info from ublox (#27526)
* squashed

* bump cereal
old-commit-hash: 153ffa3f68
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: 5c70482761
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: 2749205b4a
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: 7d32554fe3
2023-03-09 18:48:32 -08:00
Harald Schäfer
6d6137ef5a Update amplifier config (#27443)
* update tizi amplifier

* Update attenuation
old-commit-hash: 75eaca3cf3
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: c97911dbad
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: 231e9a950d
2023-03-08 13:07:33 -08:00
Adeeb Shihadeh
3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb215980
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: 6f40f0d442
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: ebd25b8a7d
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: 3892c60980
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: 6fb5661abb
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: 0374d4817d
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: feba2f3fe5
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: e2e780e7c6
2023-01-24 16:34:41 -08:00
Adeeb Shihadeh
16dabbd686 fix typo AR0321 -> AR0231 (#26993)
old-commit-hash: ef42652368
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: bc8e2032f7
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: 028527423c
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: 922bedaf47
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: 3d44b6b3ac
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: cd8e03d53e
2022-12-31 21:00:50 -08:00
ZwX1616
2bbf68c63b camerad: lower cost for OX high gain idxs (#26775)
old-commit-hash: e6e33531ca
2022-12-12 16:35:25 -08:00