Commit Graph

6448 Commits

Author SHA1 Message Date
George Hotz bd0cc655fb encoderd: support remote encoder behind env var (#24490)
* remote encoder

* remote encoder on PC, fix type

Co-authored-by: Comma Device <device@comma.ai>
2022-05-10 16:53:47 -07:00
George Hotz 2008db47c2 encoderd: make work on PC (#24483)
* don't use the codec in video_writer

* this produces broken videos for some reason

* bugfix

* refactor on the class

* works on device

* fix codec

* no codec enum

* fix pc

* move into dirs

* these includes also

* rename it ffmpegencoder

* add avcodec_close

Co-authored-by: Comma Device <device@comma.ai>
2022-05-10 15:20:51 -07:00
George Hotz 01ab99d416 simplify and fix clamp (#24479)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-10 14:21:22 -07:00
Shane Smiskol f9af3ddf4c CARS.md: update Honda Ridgeline supported years (#24484)
* update supported ridgeline years

* update supported ridgeline years
2022-05-09 22:00:31 -07:00
Shane Smiskol e2ada3b9a8 CARS.md: clicking stars doesn't change page location (#24482) 2022-05-09 20:29:58 -07:00
Shane Smiskol ac1566b4c4 cars: move common car info to subclass (#24481)
* clean up values a bit and make HondaCarInfo for package

* also move min_steer_speed which had 12 occurrences

* odyssey has ALC down to 0

* do Nissan, Mazda, and Chrysler
2022-05-09 18:50:10 -07:00
Adeeb Shihadeh b8dad70f70 update python packages (#24478) 2022-05-09 15:44:02 -07:00
Ross Fisher 32e4dc3869 tools: add link to jungle repo (#24477) 2022-05-09 14:24:09 -07:00
Comma Device 5ac22d80de faster modem restart 2022-05-09 14:06:55 -07:00
George Hotz dded24662f update compressed vipc to function on packets 2022-05-09 13:44:09 -07:00
ZwX1616 4354f7cd28 clean up gamma variable names (#24476) 2022-05-09 13:38:39 -07:00
Shane Smiskol 6163dd5ca0 URLFile: raise exception if remote URL doesn't exist when using cache (#24432)
* URLFile returns empty bytes if using cache and remote file doesn't exist

* better exception

* assert on cached files
2022-05-09 13:31:55 -07:00
ntegan1 bf269bd883 Tools: allow uncompressed logs (#24471) 2022-05-09 12:07:19 -07:00
Gijs Koning f7c2eefad9 Bump laika (#24454)
* Fix after laika repo changes

* Update laika
2022-05-09 04:05:08 -07:00
Adeeb Shihadeh ce0cc1f228 tici modem restart script 2022-05-08 19:18:07 -07:00
Shane Smiskol 191fbd4f67 Camry TSS2: use torque controller (#24268)
* use measurements from harald

* update from table

* average of hybrid and non-hybrid
2022-05-07 21:34:17 -07:00
Willem Melching ba89faa5f7 uploader: ensure requests.put gets file like object (#24462) 2022-05-07 15:42:47 +02:00
Shane Smiskol ed41b14b55 Chrysler: reduce ACC faults when disengaging on gas (#24445) 2022-05-07 01:23:19 -07:00
Shane Smiskol 75efad52ea Chrysler: add ACC fault signal (#24398)
* add accFaulted event for Chrysler

* add the signal

* no class variables

* available when not 1

* revert

* bump opendbc to master

* if not 0
2022-05-07 01:00:43 -07:00
HaraldSchafer 29afd53d88 Latcontrol torque: fix integrator induced ping pong (#24458)
* Latcontrol torque: fix integrator induced ping pong

* Reset on disengage since unwind resets anywayh

* Might be overkill

* rm whitespace

* update ref
2022-05-06 22:17:21 -07:00
George Hotz ac343433a2 sync qcam p frames (#24459)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 21:47:58 -07:00
Shane Smiskol c955e273d4 Toyota: fill steerFaultPermanent (#24410)
* Toyota: fill steerFaultPermanent

* same behavior as before, 0 is also fault (0 is most likely initializing)

* think this was just wrong (2 or 10 would mean we think it's a fault)
2022-05-06 16:56:40 -07:00
George Hotz ed3be29bfa no encoder throttle (#24457)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 16:31:21 -07:00
Adeeb Shihadeh f1bae8ca88 remove from car bug too 2022-05-06 13:21:38 -07:00
Adeeb Shihadeh 43912eb252 update issue template 2022-05-06 13:21:08 -07:00
Adeeb Shihadeh 7bcecbfd0d cell testing script 2022-05-06 11:20:04 -07:00
Joost Wooning 49e10dc773 debayering: fill outer image borders (#24441)
* debayering: fill outer image borders

* correct conditions

* try something else

* remove global check

* update ref

Co-authored-by: Comma Device <device@comma.ai>
2022-05-06 18:27:41 +02:00
Willem Melching 9ef17a877f sanity check on debayer time in CI (#24453)
* check debayer time

* set actual threshold

* also print mean and max
2022-05-06 17:27:54 +02:00
Willem Melching 85975e3dd9 test_debayer.py some PC fixes (#24449)
* test_debayer.py some PC fixes

* fix rgb shape
2022-05-06 16:32:44 +02:00
Gijs Koning e6f9f12d1c Test gnssUblox message processing (#24404)
* Add simple test for processing ublox messages

* Add simple test for processing ublox messages

* Update selfdrive/locationd/test/test_ublox_processing.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update

* Push laika ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-06 06:44:38 -07:00
Gijs Koning 634f630e08 Bump laika and cereal (#24451) 2022-05-06 06:44:09 -07:00
Gijs Koning b64fe6e339 Laikad: the basics for ublox msg processing (#24359)
* Add laikad that receives ublox messages and publishes corrected measurements and position fix

* types

* cleanup

* laikad version 1 with uncorrected measurements

* push

* Fix glonass frequency and delete redundant test

* Update after cereal and cleanup

* Add test, fix laikad and remove process replay for now

* update laika

* add hatanaka to packages. Used to decompress orbit data

* Fix pip
2022-05-06 04:41:14 -07:00
Joost Wooning df8f024e19 uploader: size limit for automatic uploading of qlogs/qcams (#24403)
* uploader: size limit for automatic uploading of qlogs/qcams

* move check to add logging

* use constant

* mark as uploaded

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-06 11:47:58 +02:00
Willem Melching 95fa6b1df8 camerad: get embedded statistics and data by embedding in pixel data (#24353)
* camerad: AR0231 read embedded data and statistics

* reorder

* remove unrelated camera config
2022-05-06 11:47:14 +02:00
Adeeb Shihadeh b16e612102 remove eon debug scripts 2022-05-05 19:42:18 -07:00
Adeeb Shihadeh 66fbce638f uploader: compress rlogs (#24447) 2022-05-05 19:13:06 -07:00
Left5566 4beb764aed Toyota: add missing Prius TSS2 engine FW (#24438)
Prius 2021  DongleID/route c3834a2fe82b632b|2022-05-05--19-39-41
2022-05-05 11:59:15 -07:00
Brandon Zimmerman da74085d56 Toyota: add missing FW versions for 2022 Lexus ES 300h (#24431)
* Add 2022 Lexus ES Hybrid f/w - LEXUS_ESH_TSS2

2022 Lexus ES Hybrid

* change carinfo

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-05 11:20:53 -07:00
Shane Smiskol 6efb42613b Toyota: Add missing FW versions for RAV4 Hybrid 2022 (#24430) 2022-05-05 10:21:46 -07:00
Joost Wooning d8c0cf5d55 debayering: typedef half as float to run on pc (#24439)
* debayering: typedef half as float to run on pc

* add casts to literals

* define existing half type

* remove test code
2022-05-05 17:38:39 +02:00
Joost Wooning 9da9b773eb test for comparing debayer results to ref commit (#24420)
* test for comparing debayering results to ref commit

* fix run on device

* print more useful diff

* limit to diff output

* remove env var

* ref

* more useful diff

* use real local work size

* remove pyopencl install

* update ref

* include rgb_to_yuv

* fix diff

* get kernel build out of loop

Co-authored-by: Comma Device <device@comma.ai>
2022-05-05 16:05:37 +02:00
Joost Wooning 1f9907122a make debayering consistent at edges (#24437) 2022-05-05 13:06:13 +02:00
Adeeb Shihadeh 1bc6f2fa7d increase cruiseMismatch threshold (#24428) 2022-05-04 15:58:08 -07:00
Adeeb Shihadeh 674a2061fd CI: allow triggering prebuilt workflow manually 2022-05-04 15:08:08 -07:00
Shane Smiskol e3fd6a7c50 Add azure-storage-blob to dev packages (#24426)
* add azure-storage-blob

* same
2022-05-04 15:00:47 -07:00
Adeeb Shihadeh 2466233b1c body: opt-out logging (#24423)
* body: opt-out logging

* wait a bit

* little better

* fix that too

Co-authored-by: Comma Device <device@comma.ai>
2022-05-04 14:57:39 -07:00
Adeeb Shihadeh 930d0c01a9 latency logger: better errors and minor cleanup 2022-05-04 14:16:27 -07:00
Lukas Petersson 43d2a3c187 warning instead assert (#24424)
* warning instead assert

* warning description
2022-05-04 14:05:41 -07:00
Willem Melching e8892481ab ui: fix HUD drawing order (#24419) 2022-05-04 12:12:13 +02:00
Willem Melching 3fc01ec15a cameraview.cc: set alignment to 1 when copying texture (#24418) 2022-05-04 11:44:16 +02:00