Commit Graph

184 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1945c356c2 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>
2023-07-20 21:56:57 -07:00
Cameron Clough
98a30f10f4 deleter: preserve flagged segments (#28814) 2023-07-20 21:30:26 +01:00
Dean Lee
269ceca27a common/swaglog: remove trailing semicolon from macros (#29042) 2023-07-19 19:46:42 -07:00
Harald Schäfer
9054590c95 Rawgpsd: retry even more on setup (#29045) 2023-07-19 18:54:27 -07:00
Vivek Aithal
f7471f9108 [Qcom GPS] BearingAccuracyDeg should not be 0 when inaccurate (#28989)
change bearingAccuracyDeg from 0 to 180 deg, when invalid
2023-07-18 11:21:11 -07:00
Harald Schäfer
601d133bba 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
2023-07-17 23:58:57 -07:00
Harald Schäfer
8f3037c956 Cloudlog: cleanup zmq cloudlog warnings (#28896)
* Laikad: cleanup zmq cloudlog warnings

* Handle in cloudlog

* whitespace

* whitespace

* suppress before reconnecting in thread
2023-07-17 23:06:13 -07:00
Dean Lee
65fe3c8c34 encoder: remove function publisher_init, init PubMaster in constructor (#28980) 2023-07-17 19:25:41 -07:00
Cameron Clough
f14447ad66 loggerd: fix whitespace and indentation 2023-07-17 22:55:20 +01:00
Adeeb Shihadeh
e2b5d1e29a mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
2023-07-16 14:39:34 -07:00
Dean Lee
06aef9edd3 encoder: remove public function encoder_init (#28971) 2023-07-15 23:57:44 -07:00
Dean Lee
cbed057789 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>
2023-07-15 12:41:49 -07:00
Dean Lee
713d2ec586 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
2023-07-15 10:39:40 -07:00
Harald Schäfer
966c5f476a Qcom gps: retry logs setup (#28952) 2023-07-15 10:31:30 -07:00
Cameron Clough
5d45d1fadc loggerd: add types to tests and use pathlib (#28943) 2023-07-14 15:12:11 +01:00
Harald Schäfer
c8965b0e60 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>
2023-07-13 14:52:47 -07:00
Harald Schäfer
80eff1b6ce Rawgpsd: cleanup init (#28890)
* Rawgpsd: cleanup init

* back to default

* Fix injection time check

* add quotes

* change to 12 hrs

* Fixes
2023-07-11 23:05:25 -07:00
Dean Lee
f1a1456f27 logger: use reference in range based loop (#28894) 2023-07-11 19:28:50 -07:00
Harald Schäfer
47ee0932db Qcom rawgps: Timestamp svpolys (#28738)
* Timestamp svpolys

* leap seconds handled fine

* Fix error

* bump laika

* Update test route

* update ref
2023-07-11 13:22:09 -07:00
Harald Schäfer
221cd0ab09 Laikad: fix qcom report collection (#28879)
* Make report aggregation variable

* Add laikad test now it passes

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-11 01:25:49 -07:00
Harald Schäfer
771e410262 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>
2023-07-11 00:51:26 -07:00
Adeeb Shihadeh
f2bbb33a8a rawgpsd: bring back SUPL config (#28858) 2023-07-10 13:26:50 -07:00
Robbe Derks
c0e88991b0 Increase expected sensor frequency for LSM6DS3 (#28863)
expected freq of lsm accel/gyro is 104Hz
2023-07-10 16:21:13 +02:00
ntegan1
0ddecd36cf 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>
2023-07-09 20:38:30 +01:00
Cameron Clough
62ae247417 update modem script (#28793) 2023-07-03 18:21:31 +02:00
Adeeb Shihadeh
d4bd0a3213 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
2023-06-25 19:05:58 -07:00
Dean Lee
36fe84ccdd loggerd: pass encoder_info by reference (#28694) 2023-06-25 14:51:28 -07:00
Dean Lee
9784f61f23 camerad: remove unused frame_length from struct FrameMetadata (#28693)
* remove unused frame_length

* bump cereal

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-25 12:51:10 -07:00
Adeeb Shihadeh
689ff7e060 rawgpsd: adjust startup time threshold 2023-06-24 22:25:31 -07:00
Adeeb Shihadeh
5992bf4acc rawgpsd tests (#28683)
* rawgpsd tests

* test xtra

* check freq

* fix

* restart lte

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-24 20:04:58 -07:00
Adeeb Shihadeh
a50c191f8d bump cereal (#28650)
* bump cereal

* fix pigeond test

* bump cereal

* bump cereal

* bump cereal

* bump cereal

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

* Remove get_model_yuv_transform entirely
2023-06-21 20:02:44 -07:00
Adeeb Shihadeh
111b4eee30 fix a bunch of python warnings (#28576)
* fix a bunch of python warnings

* fix that
2023-06-16 13:22:30 -07:00
Adeeb Shihadeh
056bc05489 swaglog: fix ResourceWarning (#28575) 2023-06-16 12:25:17 -07:00
Adeeb Shihadeh
8704c1ff95 logmessaged: handle interrupted rollover (#28572) 2023-06-15 22:05:44 -07:00
Adeeb Shihadeh
a1b6697629 logmessaged: handle big cloudlogs (#28553)
* logmessaged: handle big cloudlogs

* revert

* switch
2023-06-14 22:48:51 -07:00
Harald Schäfer
2453d3a04b Encoderd: refactor msg getters and setters (#28509)
* Encoderd: refactor msg getters and setters

* whitespace

* whitespace

* whitespace
2023-06-12 00:08:00 -07:00
Harald Schäfer
5df4ac61d3 Encoderd: Give encoder threads good names (#28508) 2023-06-11 23:25:16 -07:00
Harald Schäfer
ac45b77d3b 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
2023-06-11 22:23:40 -07:00
Harald Schäfer
d8f677c5eb 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>
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
5161c23645 Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit 1fd7542eae.
2023-06-11 08:27:09 -07:00
Harald Schäfer
1fd7542eae Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
2023-06-10 23:44:01 -07:00
Comma Device
dec3c5a57d test_amp: wait for panda 2023-06-09 15:36:41 -07:00
Mitchell Goff
729d3ddcb5 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>
2023-06-07 14:06:11 -07:00
mitchellgoffpc
ae0768909b Lowered expected power draw for mapsd 2023-06-06 11:58:32 -07:00
Mitchell Goff
dd6f7116f7 Test power usage for mapsd and navmodeld (#28378)
* Test power usage for mapsd and navmodeld

* Send LLK message from thread

* Use threading.Event
2023-06-05 20:27:02 -07:00
Adeeb Shihadeh
e276d2a417 update pylint (#28395)
* update pylint

* update config

* fix
2023-06-04 14:06:04 -07:00
Adeeb Shihadeh
04556652dc 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>
2023-06-02 22:35:05 -07:00
Harald Schäfer
b35d525cc9 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
2023-05-26 17:24:09 +02:00