Commit Graph

196 Commits

Author SHA1 Message Date
Adeeb Shihadeh
e33973cdd4 pre-commit: autoupdate hooks (#29198)
* Update pre-commit hook versions

* fix

* bump submodules

* one more

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 39ce23420c34d74256e6bda07ffb4016541b3d19
2023-08-01 12:32:21 -07:00
Adeeb Shihadeh
8519efbc9b rawgpsd: better download proc cleanup (#29199)
* rawgpsd: better download proc cleanup

* more

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f310d501f4c5305fbe4577030ea4adf8178812ec
2023-08-01 12:31:04 -07:00
Dean Lee
b80325aa04 swaglog: enable type-checked against format string (#29096)
* check&fix fmt

* bump rednose

* correct format string

* bump rednose

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 940954c13e4fb352618448e435b5c1a722fdc3aa
2023-07-31 17:49:50 -07:00
Maxime Desroches
8ceef4903b hardware: move gpio_export (#29154)
old-commit-hash: eec99436c1c5489e2e49dc0760725f6fc6b9e47d
2023-07-26 15:12:01 -07:00
Adeeb Shihadeh
b54936dbfc tici: add siren gpio
old-commit-hash: 67ef6dd84427be43e9d40df23360acf37e22059e
2023-07-26 11:35:11 -07:00
Adeeb Shihadeh
f5dc651c0a tici: better cleanup in amp test (#29146)
old-commit-hash: ed07c3ceda0b48a62f68a57541f1a9f788c1648d
2023-07-25 21:41:31 -07:00
Mitchell Goff
49b07db500 Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
old-commit-hash: f0ae0c34cda2d032bc270efe6360a1dd1bbd77f2
2023-07-25 01:08:39 -07:00
Adeeb Shihadeh
709125ed04 rawgpsd: retry injecting assistance data (#29115)
* rawgpsd: retry injecting assistance data

* sleep a bit

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14001be60575eddce59bd23c16a97fc896ae299f
2023-07-23 22:10:36 -07:00
Adeeb Shihadeh
8932524fe8 rawgpsd: fix double setup (#29108)
* rawgpsd: fix double setup

* speedup test

* update that one

* minimal diff

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9113816e1dd08f7368bcc311d2514dc91033540c
2023-07-23 15:59:26 -07:00
Adeeb Shihadeh
a51824c339 rawgpsd: speedup tests (#29110)
* rawgpsd: speedup tests

* fix that one

* little more

* prevent subtle bugs

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5fb2f7072bec37ab4da3ca6558834a9e2fffcb9b
2023-07-23 15:38:47 -07:00
Dean Lee
c4aeaba7c6 loggerd: check userFlag outside the while loop (#29095)
* improve check userFlag

* rename to ServiceState

* setxattr once
old-commit-hash: c0c00e1997a6919701a183b9d4757a74b17ac141
2023-07-23 12:33:06 -07:00
Adeeb Shihadeh
3dfd770fb0 tici: speedup power save setting (#29100)
* speedup

* update type

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d92c9aef23fc789d50bfd03ae09a3abbf23a8429
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh
b0c3778aae agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2c127cfe1f2d1930e33f2f3af7a1eb4
2023-07-20 21:56:57 -07:00
Cameron Clough
b120aec2f5 deleter: preserve flagged segments (#28814)
old-commit-hash: 98a30f10f447b3c28d92f089012ec66c93066bf0
2023-07-20 21:30:26 +01:00
Dean Lee
05b2a0b884 common/swaglog: remove trailing semicolon from macros (#29042)
old-commit-hash: 269ceca27a5fedc1eadd71503cf13450a061b382
2023-07-19 19:46:42 -07:00
Harald Schäfer
fccb8f0a6d Rawgpsd: retry even more on setup (#29045)
old-commit-hash: 9054590c95b6abbe002e7b44dd14249ded12bf8d
2023-07-19 18:54:27 -07:00
Vivek Aithal
cb60085777 [Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate (#28989)
change bearingAccuracyDeg from 0 to 180 deg, when invalid
old-commit-hash: f7471f9108472cc53ea88052df32927d16c68289
2023-07-18 11:21:11 -07:00
Harald Schäfer
a94a56db49 qcom gps: Always pull in thread (#28951)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* Always pull in thread

* Stop downloading when you have fix

* check if exist

* Atomic move after download

* Increase wait

* merge
old-commit-hash: 601d133bbaa1d737fca20db96bb13b2b1ded6b92
2023-07-17 23:58:57 -07:00
Harald Schäfer
fa823fadd2 Cloudlog: cleanup zmq cloudlog warnings (#28896)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* suppress before reconnecting in thread
old-commit-hash: 8f3037c956343453957571b61cfd1c3063cbbbab
2023-07-17 23:06:13 -07:00
Dean Lee
bd93cd7db3 encoder: remove function publisher_init, init PubMaster in constructor (#28980)
old-commit-hash: 65fe3c8c344233832e6aa79a2007ff5624a2c914
2023-07-17 19:25:41 -07:00
Cameron Clough
c22ad5e0cf loggerd: fix whitespace and indentation
old-commit-hash: f14447ad660b16755449a6fbe7fc0b9426227c50
2023-07-17 22:55:20 +01:00
Adeeb Shihadeh
30a6fa35aa mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
old-commit-hash: e2b5d1e29a3efeefc0679e116e6f6e16a815425c
2023-07-16 14:39:34 -07:00
Dean Lee
ad461bedb2 encoder: remove public function encoder_init (#28971)
old-commit-hash: 06aef9edd35b09382fac2616b190816bd8fe9a98
2023-07-15 23:57:44 -07:00
Dean Lee
d4cd751101 encoderd: get avaiable streams from vipc server (#28935)
* get avaiable streams

* use std::thread

* assert buf size

* Update system/loggerd/encoderd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbed0577899433be6c351b402b59a2104eb7f952
2023-07-15 12:41:49 -07:00
Dean Lee
b59b27e01e loggerd/encoder: refactor constructors to take EncoderInfo as parameter (#28921)
* refactor constructors to take EncoderInfo as parameter

* remove last arg codec

* use macro to init function pointers
old-commit-hash: 713d2ec5865e4d64b5bb543f6641783e75e72d0b
2023-07-15 10:39:40 -07:00
Harald Schäfer
8f7729809d Qcom gps: retry logs setup (#28952)
old-commit-hash: 966c5f476a83455ad165b6ad6c44599c66550e9a
2023-07-15 10:31:30 -07:00
Cameron Clough
182ef3fe52 loggerd: add types to tests and use pathlib (#28943)
old-commit-hash: 5d45d1fadc145dddca23a402300274901257fa01
2023-07-14 15:12:11 +01:00
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