Commit Graph

169 Commits

Author SHA1 Message Date
Harald Schäfer
f7771c5538 Qcom gps: retry assistance (#28723)
* Retry assistance

* rm whitespace

* Only inject when it's there

* will be rmd anyway

* Update test

* Actually disable internet in test

* Fix tests

* cleanup test

* fix tests more

* add late assist test

* use process

* Dont double clear

* ignore

* Small improvements

* Make tests

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8965b0e60433bbc262cfa70e5b40954a195ac56
2023-07-13 14:52:47 -07:00
Harald Schäfer
92c77ef506 Rawgpsd: cleanup init (#28890)
* Rawgpsd: cleanup init

* back to default

* Fix injection time check

* add quotes

* change to 12 hrs

* Fixes
old-commit-hash: 80eff1b6ce6600c8b93846ac6e096cf38f9ec695
2023-07-11 23:05:25 -07:00
Dean Lee
434a7c3505 logger: use reference in range based loop (#28894)
old-commit-hash: f1a1456f274881d08b8b3858aa3feeeb8f4a128c
2023-07-11 19:28:50 -07:00
Harald Schäfer
ef407c9ad9 Qcom rawgps: Timestamp svpolys (#28738)
* Timestamp svpolys

* leap seconds handled fine

* Fix error

* bump laika

* Update test route

* update ref
old-commit-hash: 47ee0932db6911dd7fc064ae3a17e929d341c94e
2023-07-11 13:22:09 -07:00
Harald Schäfer
71e5af04c3 Laikad: fix qcom report collection (#28879)
* Make report aggregation variable

* Add laikad test now it passes

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 221cd0ab09fb3e33db010efde52459148e0aba2a
2023-07-11 01:25:49 -07:00
Harald Schäfer
6a37f17f65 Test rawgpsd: Make sure we get fix (#28875)
* Add fix test

* Add laika to test

* Add fix test

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 771e410262a10ce2ecdd6fedda1bf262d91b6f9a
2023-07-11 00:51:26 -07:00
Adeeb Shihadeh
0fbdad53ab rawgpsd: bring back SUPL config (#28858)
old-commit-hash: f2bbb33a8a87171a8e27ad0a6af89f4f3b2e9f4e
2023-07-10 13:26:50 -07:00
Robbe Derks
8a29a9ca43 Increase expected sensor frequency for LSM6DS3 (#28863)
expected freq of lsm accel/gyro is 104Hz
old-commit-hash: c0e88991b0e02cc05d98091375104f7bc88121fb
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: 0ddecd36cf4772bbfc3dc62f871cd3660a568ce6
2023-07-09 20:38:30 +01:00
Cameron Clough
6e552fdfa8 update modem script (#28793)
old-commit-hash: 62ae247417c63b698b02e89462655891b68fe821
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: d4bd0a321326ef463fe37997d1e57c73f3df98c0
2023-06-25 19:05:58 -07:00
Dean Lee
0ac70b51fa loggerd: pass encoder_info by reference (#28694)
old-commit-hash: 36fe84ccdd2e757510ce9438ddcabd2961f19108
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: 9784f61f231ba1ba70c7e086014d6a385f078ae0
2023-06-25 12:51:10 -07:00
Adeeb Shihadeh
812b37fce3 rawgpsd: adjust startup time threshold
old-commit-hash: 689ff7e06056c3bc679ebbb1e5700bdce9b9d796
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: 5992bf4acc11bd49206b2b0c16926a129cd11f20
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: a50c191f8df547d65b539438a4f0e9a1a8efb205
2023-06-23 16:01:21 -07:00
Adeeb Shihadeh
12250870ea tici: improve amp test (#28648)
old-commit-hash: 7d6c22949a42b90fa2fc67608a53f6cdce52ebac
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: ae5bfcf248e20036998331d5db3cf44c323fe802
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: 111b4eee30d3a8f79d082b78e9158cbe262f1a14
2023-06-16 13:22:30 -07:00
Adeeb Shihadeh
b77399b685 swaglog: fix ResourceWarning (#28575)
old-commit-hash: 056bc05489030d5769a627b691afb35691257842
2023-06-16 12:25:17 -07:00
Adeeb Shihadeh
cfc1a54d19 logmessaged: handle interrupted rollover (#28572)
old-commit-hash: 8704c1ff952b5c85a44f50143bbd1a4f7b4887e2
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: a1b6697629912ed4432a222f2cdb451f1dbc576a
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: 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