Commit Graph

372 Commits

Author SHA1 Message Date
Adeeb Shihadeh 048629564e bootlog: remove timestamp from filename (#31187)
* bootlog: remove timestamp from filename

* revert route

* test

* revert that

* fix loggerd test
old-commit-hash: 25043410705f2a7a275e69ec513c8889465d4ba3
2024-01-26 19:17:38 -08:00
Adeeb Shihadeh 5441587c6b mark as flaky for now
old-commit-hash: 6fbd8442164fbc4dde8949d63c67a9a600a3f896
2024-01-26 14:37:22 -08:00
Adeeb Shihadeh 9488aafba4 add flaky package
old-commit-hash: fe4abaa6f693b000056d2ce8c2492fb64c3e313d
2024-01-25 17:38:09 -08:00
Comma Device 96497667fa allow a couple retries
old-commit-hash: 076810d5bd62f357e594212be665d0e2c06a739f
2024-01-25 17:13:35 -08:00
Justin Newberry 1e197545c6 Revert "test_loggerd: make rotation test more robust" (#31168)
old-commit-hash: 979dba33cda2c54686e0e07f439ce06aa2598b1f
2024-01-25 17:11:03 -08:00
Justin Newberry 1dae90e219 test_loggerd: make rotation test more robust (#31160)
* no randomness

* lots

* Revert "lots"

This reverts commit 2052fd6f7b8dc4c53fbb7c726026070918d5de00.
old-commit-hash: 35374f4d577d0bf835ae146954010ef61a3c2fa4
2024-01-25 12:13:43 -08:00
Ruben Medina 031e88f2c9 add size to system alt image manifest entry (#31154)
old-commit-hash: 8472ae5317d98a41dae28b2cd1e72ac05b5cae04
2024-01-24 23:35:39 -08:00
Adeeb Shihadeh 12d2d861f2 Revert "Switch from json11 to nlohmann/json (#31093)"
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.

old-commit-hash: 88757c12b3371a1ba5b3ebabc9e85faad0a19d56
2024-01-22 22:41:59 -08:00
mtribiere cb3a834067 Switch from json11 to nlohmann/json (#31093)
* Initial commit

* fix release/file_common

* Update common/swaglog.cc

* Swtiched serialize cc

* move to lfs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8152f0e7650895c6f4bac5d4f00e00f
2024-01-22 22:35:47 -08:00
Adeeb Shihadeh b8fbf60097 timed: always pull time and timezone from GPS (#31112)
* timed

* rm timezoned

* just gps

* ok

* little more

* fix

* datetime

* sleep a little

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 827aa2e4fad3334e594f8a259444f9461579fa2d
2024-01-22 18:35:11 -08:00
Adeeb Shihadeh dc6a23a1bc loggerd: speedup unit tests (#31115)
* first speed it up

* pytestify

* no sleep
old-commit-hash: 694fc378dd1b4dc4b26847efb25af538133d0685
2024-01-22 17:24:42 -08:00
Justin Newberry 4080bec11d pytest: add marker for sharing the download cache (#31082)
* fix cache

* with a marker
old-commit-hash: 3846130d8e15ea71e9576ae62b69918757edc7b8
2024-01-22 16:30:59 -08:00
Adeeb Shihadeh 5e9dc2c415 cleanup tests that are now useless (#31098)
* disable that onoe

* e2e tests catch this

* rm more useless checks
old-commit-hash: 78e20cff3906ee76c356e8bdef920397e60389b4
2024-01-21 14:49:57 -08:00
Harald Schäfer 66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c384671b448f307a7ed91416886f2186d80
2024-01-21 12:09:48 -08:00
Adeeb Shihadeh 436b5dacd9 test_power_draw: check msgs expect first for cleaner error
old-commit-hash: e0d0896dcfbab482e10ef90794c746497b359321
2024-01-20 17:20:21 -08:00
Adeeb Shihadeh 972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00
Comma Device ebcfcf6087 fix param path
old-commit-hash: e2df83089fe0050d41ef3d7f9241c75b14cba134
2024-01-18 20:12:04 -08:00
Adeeb Shihadeh 8a84e369a0 bootlog doesn't block startup (#31061)
* bootlog doesn't block startup

* keep params

* fix

* cleanup
old-commit-hash: c4362bd958d1473b97ae336fd0e9bd7b50fe4fb9
2024-01-18 20:04:08 -08:00
Adeeb Shihadeh 6124ecf1c1 uploader: restrict qcam upload on metered connctions (#31047)
* uploader: restrict qcam upload on metered connctions

* route requesting

* rename

* str

* cleanup

* strip dongle

* upload bookmarked segments

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2280ac50b76264dadd170e8f23bf0c3bf68ef61c
2024-01-17 21:41:58 -08:00
Adeeb Shihadeh 3d85d3d857 uploader: delay uploading crash and boot logs on metered connections (#31045)
* uploader: delay uploading some files on metered connections

* just crash and boot for now
old-commit-hash: 19630c5af989fb62d1c920e54f838969c6158453
2024-01-17 17:43:41 -08:00
Adeeb Shihadeh 6c21bbacae update param in loggerd unit test
old-commit-hash: 5f1e7649e3725667a7a753a89f31834aa28eb2b1
2024-01-17 15:08:36 -08:00
Adeeb Shihadeh 269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e9ee9c930238f697bfe3b69f6be368e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh d6a8213c80 uploader cleanup (#31035)
* Reapply "uploader cleanup" (#31033)

This reverts commit a2723989bced503a4506684a4a6fdc6c8101f7b2.

* always sleep

* more cleanup

* little more

* fix linter

* little more
old-commit-hash: 0b5fd7287e715707e32b7e6978e296918dd34234
2024-01-17 14:24:09 -08:00
Justin Newberry 7f09117bf0 Revert "uploader cleanup" (#31033)
old-commit-hash: 5e4df41b2f4c379157844dc4c19ef496ca658088
2024-01-17 11:07:38 -08:00
Adeeb Shihadeh 4580cd1eb9 uploader cleanup (#31029)
* cleanup

* startup cleanup

* step

* Update test_uploader.py
old-commit-hash: c6c6a441eb61c7ac28fb94b05b91fbb8837b9236
2024-01-16 19:54:07 -08:00
Adeeb Shihadeh 8277f37c4b camerad: move ae test to pytest/catch2 (#30994)
* mv ae gray test

* cleanup
old-commit-hash: 3e601b5e8fcaf2fd0885cc64949fa1349a8069eb
2024-01-13 15:40:25 -08:00
Justin Newberry f087595f90 test_proclog: fix conflict with pytest (#30989)
old-commit-hash: 884de6e4570545ccf4ee3e6ff8d2f59e4a0847c6
2024-01-13 00:30:55 -05:00
Justin Newberry c8cc30112d rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
old-commit-hash: 3d73512c0702598d27e04039976fe0a91d5952f0
2024-01-12 12:53:50 -08:00
Justin Newberry 5087dcc5bb More migration to segmentrangereader (#30959)
* filter log message

* ffr

* gtfs

* gtfs
old-commit-hash: 32dfb3f8f28df60657e8d94c53d219e4606f2375
2024-01-11 10:14:10 -08:00
Adeeb Shihadeh 1d1514449c OS04C10 support (#30658)
* getting frames

* ok

* support both output

* cleanup

* fix unused

* undo

* fix release files

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd1d7eb4d2e590c56a570e6f45189eb10401401c
2024-01-09 14:19:10 -08:00
Adeeb Shihadeh e905a35467 tici: check that peripherals are fully booted (#30942)
* tici: check that peripherals are fully booted

* default

* typo

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f191321fddca4eafb55c992415209a9389e2617
2024-01-08 15:09:38 -08:00
Adeeb Shihadeh cef8286550 camerad: log request id (#30935)
* camerad: log request id

* bump cereal

* bump cereal
old-commit-hash: 91c5c5eca765c990ff185a4a0bda7207eb55787d
2024-01-08 09:16:50 -08:00
Adeeb Shihadeh 5a6275785f timezoned: set only from gps (#30904)
* timezoned: set only from gps

* unused
old-commit-hash: 3c4150c542c6117292f29f2fa4906b0090d8e9b9
2024-01-03 20:18:29 -08:00
Adeeb Shihadeh 6e43c6af77 timezoned: run while onroad (#30903)
old-commit-hash: 115047d85860806958f50e241155d5f2bde5fa53
2024-01-03 17:53:40 -08:00
Dean Lee 16266338c6 uploader.py/listdir_by_creation: list directories only (#30806)
list only directories

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a1f53c70e6d955898a3ddb95b74d1d6b3f40da3e
2023-12-26 16:05:45 -08:00
Dean Lee cbbbaf22b7 camerad: zero memory before returning from MemoryManager::alloc (#30781)
* zero memory

* remove redundant memset

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9080d23627849aafc4969d39df50cc615ffecdf
2023-12-18 13:54:11 -08:00
Dean Lee 6ae3e95542 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
royjr d41f215df8 dependency: remove pycurl package (#30771)
* Update qcomgpsd.py

* Update url_file.py

* remove pycurl

* requests -> urllib3

* unused

* redundant

* fix import

* Revert "requests -> urllib3"

This reverts commit 7ca39e618917986f50356519d2795a432e3a5280.

* headless

* fix trail

* use requests.exceptions.RequestException

* use fp.tell

* fix indents

* reorder imports

* change timeout

* fix debug timing

* remove exception

* add timeout

* missing headers

* move to constructor

* move import

* unused import

* fix debug

* try

* no retries
old-commit-hash: 70624ffc819c29d842cb68fd86f42eac95421b10
2023-12-17 16:25:25 -08:00
Dean Lee 9c4376a57f camerad/CameraBuf: remove deprecated rgb_stride (#30758)
old-commit-hash: ea7e701052f8da1fb562746c62bdb5a64410ea76
2023-12-15 19:48:26 -08:00
Adeeb Shihadeh c0c898d83a uploader: reduce max qlog/qcam size (#30746)
old-commit-hash: 37351cbdc1e40c5d990035d867008aec44b64c76
2023-12-14 22:30:46 -08:00
Adeeb Shihadeh ffc40a2fd1 athena: cleanup unused methods
old-commit-hash: ea94a6d89fa00f9852e8ee6b5c8203199c1a06e8
2023-12-13 20:27:54 -08:00
Dean Lee 5ab1fc7674 encoder: reduce memory allocations and copying (#28704)
* reduce memory allocations and copying

* #include <vector>
old-commit-hash: a4179a7c230e687bebd15581ccdb3f7d34a690f4
2023-12-12 19:15:47 -08:00
Justin Newberry b914f0a27f soundd/micd: retry getting stream (#30701)
retry soundd/micd
old-commit-hash: 4f3a186a6faa9f95b0764069a79f86693973bfb2
2023-12-12 15:58:24 -08:00
Dean Lee 89395a7a3f camerad/CameraBuf: rename yuv_type to stream_type (#30695)
old-commit-hash: 62670e66bfb93f2d203abcb675f93ccac39d768a
2023-12-11 21:53:27 -08:00
Justin Newberry 6601d7d8b5 soundd/micd: increase stream buffer size (#30685)
* increase buffer

* update cpu refs

* go to 100ms

* correct spot
old-commit-hash: b0831fb117dde77334b6355975011611afc5d76f
2023-12-11 17:25:37 -08:00
Shane Smiskol f5d1c4f371 ruff: check newline (#30668)
* check newline

* nothing catches this
old-commit-hash: 97da129e11e58b07d5d136093827cd1c62311fea
2023-12-09 13:24:18 -08:00
Dean Lee 4dba841726 camerad: Remove deprecated 'fps' parameter (#30662)
remove parameter fps
old-commit-hash: 8a530621b482d57aaf6797d9169abb055302f50d
2023-12-09 08:10:53 -08:00
Justin Newberry 2d50661b94 soundd/micd: more robust setup procedure (#30640)
* just use the default device :/

* Ruff

* this seems like the most reliable way

* Ruff

* move comments too

* wait for devices

* fix that

* and that

* ruff

* add logging for avaliable devices

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bc70c94f75f64c31998b9796f20ec6e310cae347
2023-12-08 17:59:31 -08:00
Dean Lee 2b98a08180 camerad: remove camera_id (#30654)
* remove camera_id

* use variable
old-commit-hash: ea0b8920f578e2b6f348d2e18b5783166731c880
2023-12-08 16:15:58 -08:00
Dean Lee 0b2219bb1f camerad: move ar0231_register_lut to AR0231 (#30652)
old-commit-hash: 21d5d7d07a278635a1166aef5d5b209e32986382
2023-12-08 14:57:29 -08:00