Commit Graph

147 Commits

Author SHA1 Message Date
Harald Schäfer
e841a5ef81 Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
old-commit-hash: 2453d3a04b38c59447184bde08e76aed66be3439
2023-06-12 00:08:00 -07:00
Harald Schäfer
f4bf6a3ddd Encoderd: Give encoder threads good names (#28508)
old-commit-hash: 5df4ac61d37334c568745d7b78e2853d48d481bb
2023-06-11 23:25:16 -07:00
Harald Schäfer
1581ba80f8 Encoderd: give every camera stream list of encoder streams (#28480)
* Compiles

* fixed something

* CLEANUP

* todo

* More cleanup

* Add TODO

* Update loggerd.cc

* remove write here too
old-commit-hash: ac45b77d3bd86d7f6fc6fdb740bdfd28a5dea9e8
2023-06-11 22:23:40 -07:00
Harald Schäfer
0705a97292 Encoderd: encoders don't write, they only encode (#28499)
* Encoders dont write, they encode

* Delete words

* unused

---------

Co-authored-by: Harald Schaefer <torq_boi@Haralds-MacBook-Air.local>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d8f677c5eb8c3e5e7e42042144680e5ac454fe52
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
22882d740c Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit eed43696f113feeac757b147a782b8c063638a63.

old-commit-hash: 5161c2364538236b51674fbc63c7f9666e95928b
2023-06-11 08:27:09 -07:00
Harald Schäfer
c4bc3964a6 Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
old-commit-hash: 1fd7542eae10e78fb363548da428a9c7a907638e
2023-06-10 23:44:01 -07:00
Comma Device
4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d5893bd2f456fc88d3799300095a02e
2023-06-09 15:36:41 -07:00
Mitchell Goff
8150598441 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>
old-commit-hash: 729d3ddcb55a294f244304e0d455424ce85c84a8
2023-06-07 14:06:11 -07:00
mitchellgoffpc
3f69f4064a Lowered expected power draw for mapsd
old-commit-hash: ae0768909bbcf51325a0a8ed0e623a0177c13c18
2023-06-06 11:58:32 -07:00
Mitchell Goff
bcf4099d90 Test power usage for mapsd and navmodeld (#28378)
* Test power usage for mapsd and navmodeld

* Send LLK message from thread

* Use threading.Event
old-commit-hash: dd6f7116f70159c4f61e72f028abbdaeecc5eec9
2023-06-05 20:27:02 -07:00
Adeeb Shihadeh
91a47d61c5 update pylint (#28395)
* update pylint

* update config

* fix
old-commit-hash: e276d2a417a5133fb91c93b2ef30df68a7d5f225
2023-06-04 14:06:04 -07:00
Adeeb Shihadeh
3952090f7f rawgpsd: fix loading assistance data (#28381)
* rawgpsd: fix loading assistance data

* needs a specific name

* cleanup

* more logging

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 04556652dc15460aa51cd3315982106a66526efb
2023-06-02 22:35:05 -07:00
Harald Schäfer
c957a61c12 Assisted GPS qcom (#28278)
* Assisted GPS works

* cleanup

* add error handling

* use pycurl instead with timeout

* Add file size check

* More cleanup

* more cleanup

* Dont crash on large file
old-commit-hash: b35d525cc90f4ad5b4213872eacf7429a517c0fa
2023-05-26 17:24:09 +02:00
Kacper Rączy
c63d3378c9 ubloxd: enable satReport parsing (#28037)
* Uncomment satReport parsing. New ublox recv callback logic in process_replay

* Typo

* Update replay ref commit

* Update ref commit again
old-commit-hash: 2bd37acef37f2526c562865eddeaf0b5cd856a05
2023-05-25 07:41:45 +02:00
Kacper Rączy
c4a75225e8 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
old-commit-hash: b43a875ba26685d7aa4eab3972c580810d5108d0
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh
05d3b28bb6 tici: log disk info (#28259)
old-commit-hash: 4751d2b57c986599c45280e45867e778cb8bc9d4
2023-05-22 16:53:07 -07:00
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: 7f7637f3e51ca01ad26a77336cc0b1991664f5bc
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: 951bab8e18147f55235424d0d8518ad7ad823e9d
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: 1a3125bb8fae70485256099b1be36dfd55129e7d
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: e24d28fd4512d8fd41a4a9ba610b1d450a3734a0
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: 78ba67e211bd1df3d4f7ba6e1cd331e90e238ee1
2023-05-08 18:43:54 -07:00
Adeeb Shihadeh
09fe521cfe tizi: more amp retries (#28082)
old-commit-hash: 9b0d140400381db831ab3f8c7d758bf446f10feb
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: 21bcd7db630d5abb41f00e3e9d3a025c26337a92
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: 8a6312ef1459ffccd482c7ffb2ec28d41f82bca4
2023-05-03 20:27:32 -07:00
Adeeb Shihadeh
e631d24d77 Jenkins tuneup (#28095)
* tuneup

* use service messages

* logmono

* not passive
old-commit-hash: d5a0a4b3e8a52b5a0e1da325c15cdb99d2a71350
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: 712636309324844465017a7785236a55030114b0
2023-04-26 20:45:58 -07:00
Cameron Clough
3bb5167aa8 uploader: add missing types
old-commit-hash: e03efa723b7a20f412029fa946eef99b95a5a798
2023-04-21 23:06:47 -07:00
Cameron Clough
6626f3036f uploader: add typing (#28001)
* uploader: add typing

* fix types
old-commit-hash: a27ce83b28ae8938df87600fb3bcdcf9b0f839bf
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: 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