Commit Graph

193 Commits

Author SHA1 Message Date
Maxime Desroches 8ceef4903b hardware: move gpio_export (#29154)
old-commit-hash: eec99436c1
2023-07-26 15:12:01 -07:00
Adeeb Shihadeh b54936dbfc tici: add siren gpio
old-commit-hash: 67ef6dd844
2023-07-26 11:35:11 -07:00
Adeeb Shihadeh f5dc651c0a tici: better cleanup in amp test (#29146)
old-commit-hash: ed07c3ceda
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: f0ae0c34cd
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: 14001be605
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: 9113816e1d
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: 5fb2f7072b
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: c0c00e1997
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: d92c9aef23
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 c5132f8a27.

* 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: 1945c356c2
2023-07-20 21:56:57 -07:00
Cameron Clough b120aec2f5 deleter: preserve flagged segments (#28814)
old-commit-hash: 98a30f10f4
2023-07-20 21:30:26 +01:00
Dean Lee 05b2a0b884 common/swaglog: remove trailing semicolon from macros (#29042)
old-commit-hash: 269ceca27a
2023-07-19 19:46:42 -07:00
Harald Schäfer fccb8f0a6d Rawgpsd: retry even more on setup (#29045)
old-commit-hash: 9054590c95
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: f7471f9108
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: 601d133bba
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: 8f3037c956
2023-07-17 23:06:13 -07:00
Dean Lee bd93cd7db3 encoder: remove function `publisher_init`, init PubMaster in constructor (#28980)
old-commit-hash: 65fe3c8c34
2023-07-17 19:25:41 -07:00
Cameron Clough c22ad5e0cf loggerd: fix whitespace and indentation
old-commit-hash: f14447ad66
2023-07-17 22:55:20 +01:00
Adeeb Shihadeh 30a6fa35aa mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
old-commit-hash: e2b5d1e29a
2023-07-16 14:39:34 -07:00
Dean Lee ad461bedb2 encoder: remove public function `encoder_init` (#28971)
old-commit-hash: 06aef9edd3
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: cbed057789
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: 713d2ec586
2023-07-15 10:39:40 -07:00
Harald Schäfer 8f7729809d Qcom gps: retry logs setup (#28952)
old-commit-hash: 966c5f476a
2023-07-15 10:31:30 -07:00
Cameron Clough 182ef3fe52 loggerd: add types to tests and use pathlib (#28943)
old-commit-hash: 5d45d1fadc
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: c8965b0e60
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: 80eff1b6ce
2023-07-11 23:05:25 -07:00
Dean Lee 434a7c3505 logger: use reference in range based loop (#28894)
old-commit-hash: f1a1456f27
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: 47ee0932db
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: 221cd0ab09
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: 771e410262
2023-07-11 00:51:26 -07:00
Adeeb Shihadeh 0fbdad53ab rawgpsd: bring back SUPL config (#28858)
old-commit-hash: f2bbb33a8a
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: 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