Commit Graph

6992 Commits

Author SHA1 Message Date
George Hotz 210508d3f1 sync qcam p frames (#24459)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ac343433a22984109401a9de97eab28220e38e72
2022-05-06 21:47:58 -07:00
Shane Smiskol 188a2eea94 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)
old-commit-hash: c955e273d40dfd5c07a8505dbaf7b34766eee42f
2022-05-06 16:56:40 -07:00
George Hotz 7ebca5b349 no encoder throttle (#24457)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3be29bfa975a4cbdb4abf85cda3726f64e3caf
2022-05-06 16:31:21 -07:00
Adeeb Shihadeh 19aefbeaf7 remove from car bug too
old-commit-hash: f1bae8ca8832fd9a408a60863e735c642c9e6b6d
2022-05-06 13:21:38 -07:00
Adeeb Shihadeh 0b2c94f33c update issue template
old-commit-hash: 43912eb2523ea0b36183138cf1c800c63b01bcbb
2022-05-06 13:21:08 -07:00
Adeeb Shihadeh 8bf3214ce3 cell testing script
old-commit-hash: 7bcecbfd0d1b3d5f47e263b86d64012f30944ab5
2022-05-06 11:20:04 -07:00
Joost Wooning 9ffe2ceb0e 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>
old-commit-hash: 49e10dc773780884f2aab309b7dc2436fe6f473a
2022-05-06 18:27:41 +02:00
Willem Melching 7a855eff47 sanity check on debayer time in CI (#24453)
* check debayer time

* set actual threshold

* also print mean and max
old-commit-hash: 9ef17a877fa0cb4b0d9e7017c152dadbfb94a9aa
2022-05-06 17:27:54 +02:00
Willem Melching 1dab87e416 test_debayer.py some PC fixes (#24449)
* test_debayer.py some PC fixes

* fix rgb shape
old-commit-hash: 85975e3dd91421ac3fffd03f75428257ce42b5b8
2022-05-06 16:32:44 +02:00
Gijs Koning 0010b565f5 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>
old-commit-hash: e6f9f12d1c9faae8f718306bcd2862278a083351
2022-05-06 06:44:38 -07:00
Gijs Koning a5d66024ec Bump laika and cereal (#24451)
old-commit-hash: 634f630e08c2ad91701a1f3c80574549fd12170c
2022-05-06 06:44:09 -07:00
Gijs Koning c082f26d63 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
old-commit-hash: b64fe6e339c8b8b3f5016a9c58b553c91abc5bdf
2022-05-06 04:41:14 -07:00
Joost Wooning 08da73721c 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>
old-commit-hash: df8f024e19de2d7a528b5921f73895f2078cf03a
2022-05-06 11:47:58 +02:00
Willem Melching 171915797a camerad: get embedded statistics and data by embedding in pixel data (#24353)
* camerad: AR0231 read embedded data and statistics

* reorder

* remove unrelated camera config
old-commit-hash: 95fa6b1df86b62d98e14319f5bd5cbb1621214a2
2022-05-06 11:47:14 +02:00
Adeeb Shihadeh ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102558c6b94a0c1b7127596dab6f5b2d0
2022-05-05 19:42:18 -07:00
Adeeb Shihadeh 2e45c3bd68 uploader: compress rlogs (#24447)
old-commit-hash: 66fbce638f1a6a2bc9c08c4a17d5efe47fb91651
2022-05-05 19:13:06 -07:00
Left5566 75688d1d80 Toyota: add missing Prius TSS2 engine FW (#24438)
Prius 2021  DongleID/route c3834a2fe82b632b|2022-05-05--19-39-41
old-commit-hash: 4beb764aed74cfda7b873d87bb82f3a5117df3e8
2022-05-05 11:59:15 -07:00
Brandon Zimmerman e9224b83ca 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>
old-commit-hash: da74085d561198af0d06422df1758222edcc6d64
2022-05-05 11:20:53 -07:00
Shane Smiskol 175df17d71 Toyota: Add missing FW versions for RAV4 Hybrid 2022 (#24430)
old-commit-hash: 6efb42613b79d53dbe4f802e1d6357953c6253d1
2022-05-05 10:21:46 -07:00
Joost Wooning fd4ecc78b5 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
old-commit-hash: d8c0cf5d55890cc46aff51f1fe1345e339863000
2022-05-05 17:38:39 +02:00
Joost Wooning 8dea381a77 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>
old-commit-hash: 9da9b773eba344e9e59aeaa8a2c0235aadbd1f44
2022-05-05 16:05:37 +02:00
Joost Wooning 1f1bcb246e make debayering consistent at edges (#24437)
old-commit-hash: 1f9907122a9bda9279d73f698addaa0e22796059
2022-05-05 13:06:13 +02:00
Adeeb Shihadeh a6f314bc56 increase cruiseMismatch threshold (#24428)
old-commit-hash: 1bc6f2fa7db49ebd3d29063e2a93234488b88db0
2022-05-04 15:58:08 -07:00
Adeeb Shihadeh 0fc498d05b CI: allow triggering prebuilt workflow manually
old-commit-hash: 674a2061fd9f0213b14851d82832cff6d684d12f
2022-05-04 15:08:08 -07:00
Shane Smiskol 3960317d60 Add azure-storage-blob to dev packages (#24426)
* add azure-storage-blob

* same
old-commit-hash: e3fd6a7c5074d5f06edf4738f46347844a5cef4f
2022-05-04 15:00:47 -07:00
Adeeb Shihadeh 5e42de3e36 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>
old-commit-hash: 2466233b1cf5195bc4005c647d00408c838fe1a8
2022-05-04 14:57:39 -07:00
Adeeb Shihadeh 0195ae1464 latency logger: better errors and minor cleanup
old-commit-hash: 930d0c01a90ba6a7b321516a276cc0e6e6862514
2022-05-04 14:16:27 -07:00
Lukas Petersson 24c9e250f9 warning instead assert (#24424)
* warning instead assert

* warning description
old-commit-hash: 43d2a3c187368a7c6ddf40c03766f7a3a95dfb24
2022-05-04 14:05:41 -07:00
Willem Melching 1ccab5f034 ui: fix HUD drawing order (#24419)
old-commit-hash: e8892481abc7e3c529be35dd093614c50e6bfbbd
2022-05-04 12:12:13 +02:00
Willem Melching 44a92a53d0 cameraview.cc: set alignment to 1 when copying texture (#24418)
old-commit-hash: 3fc01ec15acc5a4f8fdd427240dfc178362760dd
2022-05-04 11:44:16 +02:00
Willem Melching 43b558f6db map.cc: fix crash on older route with missing liveLocationKalman values
old-commit-hash: 9307fe434cf7e9adb68a12d0b9073ebcf75e1f3e
2022-05-04 11:37:31 +02:00
Adeeb Shihadeh 9424f67e19 body: opt-in logging (#24416)
old-commit-hash: 670126cbf15ceecb03279e6fa9779798d905cb99
2022-05-03 23:46:59 -07:00
Adeeb Shihadeh d097c4df26 manager: start process by callback (#24417)
old-commit-hash: cdf6338388c4f2e054de0e76eb1401a2993360ce
2022-05-03 23:30:35 -07:00
Jason Young 2708e96fab update joystick README for webjoystick (#24413)
old-commit-hash: 0771addd144a6822fca8209be53994c0db009bbb
2022-05-03 17:03:17 -07:00
Adeeb Shihadeh 98e1937b9d ui: new notcar battery design (#24412)
* ui: new notcar battery design

* if charging

* cleanup

* remove that

* slower

* real colors

* relative from left

* fix that
old-commit-hash: 043a309d67da9c4d4671303b370e04aa29cd115d
2022-05-03 16:51:44 -07:00
ntegan1 af82274bac LatControlTorque: log desired/actual lateral accel (#24406)
* log torque lateral accel

* bump cereal

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9a44d4c4e0895f88dd5cd716ce3e2d6ebeab3457
2022-05-03 14:18:46 -07:00
Adeeb Shihadeh b9311fa3f4 body: log charging status (#24409)
* body: log charging status

* update refs
old-commit-hash: 986a991a09cc38375ded9f9809388a4384abf169
2022-05-03 13:27:19 -07:00
Shane Smiskol 3fd58709ca Chrysler: clean up CarController (#24337)
* clean up

* max range is 15

* use wheel buttons counter and clean up

* no

* try spamming 10 times with next counter value

* try 50 hz

* this is dead code

* revert behavior changes, just clean up

* revert more

* also that

* no multiline can creation

* sort imports
old-commit-hash: 3f0b06b16e638036adb7fe5110b6b5c38d30f1fe
2022-05-03 13:17:24 -07:00
Adeeb Shihadeh 09083a81da one day you'll be a submodule
old-commit-hash: c994dfdd8af6b9ed8df5a7ee93dde45e84a1d6e2
2022-05-03 13:00:01 -07:00
Joost Wooning d4579132d4 camerad: allow to log raw camera frames (#24393)
* camerad: log raw camera frames with env var

* dont qlog

* cleaner

* only road camera

* use vision buf len

* use static counter to handle frame skips

* we already have cnt

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 05f606c8121c89990225ff873c2779fcb3790ead
2022-05-03 17:30:22 +02:00
Willem Melching be08693d5c delay bz2 compression from logging to uploading (#24392)
* remove log_name

* log without compression

* fix tests

* remove extension for bootlog

* another test fix

* uploader compresses

* also compress in athena

* only compress qlog

* more generic check in do_upload

* fix bootlog compression

* lower loggerd cpu usage

* dont link against bz2

* set core affinity to little cluster

* handle old files
old-commit-hash: 77a6f3d034a7b17d70b750b9ea454310f4b8edf1
2022-05-03 14:09:17 +02:00
Adeeb Shihadeh b35ac8b532 UI: add battery percent to body (#24401)
* UI: add battery percent to body

* little smaller

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 061b18805e131aeff6582730d1b6d2994ce7f985
2022-05-02 21:34:06 -07:00
Adeeb Shihadeh 754512ce13 UI: better double click on touch screens (#24400)
* UI: better double click on touch screens

* lower

* just right

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d7c6121ba826a0646db8fadf9bd0b89f153c5576
2022-05-02 19:18:50 -07:00
Shane Smiskol e63294da62 Add ACC faulted status to carState (#24399)
* add accFaulted bool to carState

* same for VW

* remove import

* bump

* move to common

* bump cereal to master
old-commit-hash: 5b105facaee86fcd1eb58bccfa1d7d7d9f02a6df
2022-05-02 18:05:00 -07:00
Dylan Herman 11b9cb9fb5 enable numpy mypy typing (#24387)
* enable numpy mypy typing

* remove --warn-return-any

* merge conflict and syntax

* merge conflict

* merge conflict

* add type to img var
old-commit-hash: 603942ffe0f5f0dba9f14f1293306bc0482e0032
2022-05-02 16:48:04 -07:00
HaraldSchafer a5ed9358a5 Latcontrol torque: update tuning (#24357)
* Little more chill

* Update ref

* Update refs
old-commit-hash: 8cdeaf9aee158bf11869132f82863bec4489e4f9
2022-05-02 14:42:18 -07:00
Shane Smiskol 3f784d2612 bump panda
old-commit-hash: 055f5b2a09d70f9992a1f1fb3e6735da9497e29a
2022-05-02 13:37:04 -07:00
Shane Smiskol 121b708ba1 Change safetyParam to uint16_t (#24376)
* bump panda & cereal

* bump panda

* rest of references

* regen TOYOTA with safety param 578, TOYOTA2 with 329

* regen rest of routes

* update ref

* bump cereal
old-commit-hash: 4190d2608a536e1b28fb999a72bbf5b80810743d
2022-05-02 13:34:31 -07:00
Willem Melching 4f495c36b5 camerad: cleanup DM exposure and move into camera_qcom2.cc (#24391)
* camerad: cleanup DM exposure and move into camera_qcom2.cc

* remove include
old-commit-hash: 6e0c25d654771ad13cd276481fc652989f681c2c
2022-05-02 12:04:23 +02:00
Willem Melching 02c6540945 bump cereal
old-commit-hash: b361632cc23d059023614d665376a4706986299b
2022-05-02 10:24:33 +02:00