Commit Graph

262 Commits

Author SHA1 Message Date
Robbe Derks
8a29a9ca43 Increase expected sensor frequency for LSM6DS3 (#28863)
expected freq of lsm accel/gyro is 104Hz
old-commit-hash: c0e88991b0
2023-07-10 16:21:13 +02:00
ntegan1
1c5075bfcd v4l_encoder: enable hevc vui header timing info flag (#27156)
v4l_encoder: enable hevc vui timing info flag

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 0ddecd36cf
2023-07-09 20:38:30 +01:00
Cameron Clough
6e552fdfa8 update modem script (#28793)
old-commit-hash: 62ae247417
2023-07-03 18:21:31 +02:00
Adeeb Shihadeh
b968ab8015 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a3213
2023-06-25 19:05:58 -07:00
Dean Lee
0ac70b51fa loggerd: pass encoder_info by reference (#28694)
old-commit-hash: 36fe84ccdd
2023-06-25 14:51:28 -07:00
Dean Lee
9be7d252b8 camerad: remove unused frame_length from struct FrameMetadata (#28693)
* remove unused frame_length

* bump cereal

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9784f61f23
2023-06-25 12:51:10 -07:00
Adeeb Shihadeh
812b37fce3 rawgpsd: adjust startup time threshold
old-commit-hash: 689ff7e060
2023-06-24 22:25:31 -07:00
Adeeb Shihadeh
8d80b8445c rawgpsd tests (#28683)
* rawgpsd tests

* test xtra

* check freq

* fix

* restart lte

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5992bf4acc
2023-06-24 20:04:58 -07:00
Adeeb Shihadeh
1405732c93 bump cereal (#28650)
* bump cereal

* fix pigeond test

* bump cereal

* bump cereal

* bump cereal

* bump cereal

* update refs
old-commit-hash: a50c191f8d
2023-06-23 16:01:21 -07:00
Adeeb Shihadeh
12250870ea tici: improve amp test (#28648)
old-commit-hash: 7d6c22949a
2023-06-22 20:57:36 -07:00
Mitchell Goff
31834eac4c Remove get_model_yuv_transform function (#28568)
* remove yuv_transform from update_calibration

* Remove get_model_yuv_transform entirely
old-commit-hash: ae5bfcf248
2023-06-21 20:02:44 -07:00
Adeeb Shihadeh
ee363d69e3 fix a bunch of python warnings (#28576)
* fix a bunch of python warnings

* fix that
old-commit-hash: 111b4eee30
2023-06-16 13:22:30 -07:00
Adeeb Shihadeh
b77399b685 swaglog: fix ResourceWarning (#28575)
old-commit-hash: 056bc05489
2023-06-16 12:25:17 -07:00
Adeeb Shihadeh
cfc1a54d19 logmessaged: handle interrupted rollover (#28572)
old-commit-hash: 8704c1ff95
2023-06-15 22:05:44 -07:00
Adeeb Shihadeh
4aa12c2864 logmessaged: handle big cloudlogs (#28553)
* logmessaged: handle big cloudlogs

* revert

* switch
old-commit-hash: a1b6697629
2023-06-14 22:48:51 -07:00
Harald Schäfer
e841a5ef81 Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
old-commit-hash: 2453d3a04b
2023-06-12 00:08:00 -07:00
Harald Schäfer
f4bf6a3ddd Encoderd: Give encoder threads good names (#28508)
old-commit-hash: 5df4ac61d3
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: ac45b77d3b
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: d8f677c5eb
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: 5161c23645
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: 1fd7542eae
2023-06-10 23:44:01 -07:00
Comma Device
4eb842c0f2 test_amp: wait for panda
old-commit-hash: dec3c5a57d
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: 729d3ddcb5
2023-06-07 14:06:11 -07:00
mitchellgoffpc
3f69f4064a Lowered expected power draw for mapsd
old-commit-hash: ae0768909b
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: dd6f7116f7
2023-06-05 20:27:02 -07:00
Adeeb Shihadeh
91a47d61c5 update pylint (#28395)
* update pylint

* update config

* fix
old-commit-hash: e276d2a417
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: 04556652dc
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: b35d525cc9
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: 2bd37acef3
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: b43a875ba2
2023-05-23 19:02:22 +02:00
Adeeb Shihadeh
05d3b28bb6 tici: log disk info (#28259)
old-commit-hash: 4751d2b57c
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: 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