Commit Graph

6554 Commits

Author SHA1 Message Date
Willem Melching dfd521325d camerad: log debayer + yuv processing time (#23894)
* camerad: log debayer + yuv processing time

* bump cereal
old-commit-hash: aabd9a0dff9240fdf2beb2b83b9b35ec0d1bb0b6
2022-03-02 13:56:00 +01:00
Vivek Aithal 5bad0f4400 locationd, paramsd: Check conditions before updating kalman filters (#23789)
* update filters only when all messages are alivbe and valid

* update message valid and fix unit test

* update refs

* move check outside loop

* modify fake message fn in test

* deprecate inputsOK and resolve PR comments

* avoid double looped list comprehension

* follow import conventions

* modify paramsd valid to only be invalid in case of commIssue

* update refs
old-commit-hash: 7e6903b58f141b94d645f25c5e0ce15825b60075
2022-03-02 01:01:29 -08:00
Adeeb Shihadeh 63bbcd7279 better steer fault names (#23890)
* better steer fault names

* bump cereal
old-commit-hash: 87849f93b165507ad980dbefdcf9c376d5165a18
2022-03-01 22:53:55 -08:00
George Hotz c975d35f49 minor cleanups, fix non binary compile (#23882)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 825c924c1cf63cc915f94e9e46cf0e3228451e18
2022-03-01 16:05:44 -08:00
Shane Smiskol 79d5f584d8 Update Santa Fe 2019 route (#23888)
* new santa fe route, mid-drive to parking lot

* bump
old-commit-hash: 8eab496ce3d6e3f81e833e42b2af1bb264bd00a4
2022-03-01 13:47:53 -08:00
Jason Wen 10b5e4ecd1 Hyundai: Add FW for 2022 Ioniq Plug-in Hybrid (#23862)
* Add car port: Hyundai Ioniq Plug-in Hybrid 2022

* minSteerSpeed is 0

* Remove from crc8 checksum

* Add test route

* Revert "Add test route"

This reverts commit a76ddca8889ba1b94a0475c4e5bd4da664c22ddb.

* Revert "Remove from crc8 checksum"

This reverts commit eb2be0a20ca1f7159a671a2b3eebefae3071a77c.

* Revert "minSteerSpeed is 0"

This reverts commit 3f40eba611cf5aeacfcc66b2f77da04a25f7ebdb.

* Revert "Add car port: Hyundai Ioniq Plug-in Hybrid 2022"

This reverts commit f4084989d00733aec039ee04dab4b4246deca542.

* Hyundai: Add FW for 2022 Ioniq Plug-in Hybrid

* Remove IONIQ_PHEV from STEER_MAX = 255

* Add additional FW version
old-commit-hash: 47aa3f60ba415eb5d25c9e82daba9fc5c63c37e0
2022-02-28 18:39:36 -08:00
Jason Young 841db8a94a VW MQB: Add FW for 2017 Audi S3 (#23881)
old-commit-hash: 0502486c16ded0af30e0e1f569683b1b4420bde6
2022-02-28 14:27:22 -08:00
Adeeb Shihadeh 2e91f016bb modeld: remove support for small model (#23803)
* modeld: remove support for small model

* use extra
old-commit-hash: 8a19d9892efacc7078f1dbbddf45afedd8afe2ec
2022-02-28 10:32:39 -08:00
Adeeb Shihadeh 8f3e51f73f CAN FD support in packer + parser (#23877)
old-commit-hash: 1f66bc46b3b837c44e6f04b9b8c39ae608977266
2022-02-28 09:32:54 -08:00
Comma Device ed59474387 THNEED_DEBUG env var support
old-commit-hash: 83159a09bfc814fba66d6f1b9ec9e317dc202713
2022-02-28 09:30:43 -08:00
Jason Wen 2df2e0d476 HKG: Add FW for 2022 Kia Niro HEV (#23863)
* HKG: Add FW for 2022 Kia Niro HEV

* Expand model year
old-commit-hash: 6a072886e90dfb271285466df093929b594301da
2022-02-28 11:48:01 +01:00
sintman 4678cae5b6 Toyota: add Leuxs NX fingerprint (#23808)
old-commit-hash: 4f999b44c6a6d54ec499676f5f8019208a59dfd4
2022-02-27 22:01:55 -08:00
teknonut ed1c3bb860 HKG: Add FW for 2021 Hyundai Santa Fe (#23858)
old-commit-hash: bfa854f31c6e874055cf10fc7b1fa2665b19bfe6
2022-02-27 22:01:01 -08:00
seven121-ym 156fe4f533 Subaru: add FW for 2019 Subaru Impreza (#23873)
* Update values.py

* Update selfdrive/car/subaru/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9a663214b98345f2da51dec9c03e362bedf10b41
2022-02-27 21:57:42 -08:00
Adeeb Shihadeh 9c5a470241 Hyundai: add FW versions for 2022 Elantra
old-commit-hash: 45a5297e77b70f02c1f5566f1205c895f54a0f7c
2022-02-27 11:06:23 -08:00
Robbe Derks 1edd9bfb60 fix kF value for thermal PI controller (#23871)
old-commit-hash: f539d9c0bce0b3b992ab1a3ff128de01fefa3c41
2022-02-27 19:51:59 +01:00
Shane Smiskol 961b11e7aa Toyota: fix learning bad offsets for some models (#23810)
* Update carstate.py

* comments

* use initializing

* bump opendbc

* bool

* check both

* bump opendbc

* and on TSS-P the initializing bit isn't set
old-commit-hash: a1875ac6f090f372aa3f348f439f0589be16ca10
2022-02-26 00:54:35 -08:00
Adeeb Shihadeh fe6f6ef4ff update python packages (#23864)
old-commit-hash: 8344f3c087d6e9c24a2a5ad38ca555e05d9af89b
2022-02-25 14:34:46 -08:00
Jonathan Frey baab5d7a7b Cython acados and minor (#23835)
* acados_ocp_solver_pyx.pyx: implement get_stats for timings and ints

* long_mpc: use acados timers

* acados_ocp_solver_pyx.pyx: fix dynamics_get

* acados_ocp_solver_pyx.pyx: get statistics

* use acados_ocp_solver_pyx.pyx from commaai/cython2 branch

* acados_ocp_solver_pyx.pyx: implement store_iterate

* acados_ocp_solver_pyx.pyx: implement get_residuals

* acados_ocp_solver_pyx.pyx: fix set() for empty fields

* acados_ocp_solver_pyx.pyx: load_iterate

* cython acados: add print_statistics

* test_following_distance: fix typo

* test_longitudinal: unique names for test maneuvers

* longitudinal MPC: comments for evaluation

* longitudinal MPC: add comments to eval acados residuals

* long_mpc: use qp_solver_cond_N = 1

* long MPC: comments, simplify set_cur_state

* update acados version in build script

* longitudinal mpc: weigh a_change in 1 place only

* update ref

* Update ref

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: d09dffb7cd99aefb7e3c251265f2cfd9ae9e72f8
2022-02-25 14:16:44 -08:00
Willem Melching 7e12817e02 MacOS: ensure 1:1 rendering on HiDPI screens (#23860)
old-commit-hash: ca8d4e417e53e5869ad77e8bfd5da62a78a88de3
2022-02-25 14:36:27 +01:00
Igor Biletksyy 334d679060 bump panda
old-commit-hash: 9c70e8bcad3c4095bd02139cc18fdadf0345ded7
2022-02-24 14:42:43 -08:00
Adeeb Shihadeh 89466907cb Subaru: add Ascent FW values (#23848)
old-commit-hash: 71cf938c519e28f0fd0c160b7ae7e778e52280a3
2022-02-23 17:34:39 -08:00
martinl 2caf297f69 Remove unused MPC_COST_LONG class (#23843)
old-commit-hash: 160a8cfd58588a5451bd6c06c3d78e22465cff87
2022-02-23 17:26:05 -08:00
Ross Fisher aefdfa377e Toyota: remove outdated comment (#23844)
old-commit-hash: 49c42c3cd4579767d5a8b84ca0e46146d02b5a43
2022-02-23 17:03:24 -08:00
Adeeb Shihadeh 9bd6dbea43 Subaru: remove Impreza CAN fingerprints (#23841)
* Subaru: remove Impreza CAN fingerprints

* fix process replay

* update refs
old-commit-hash: 04b2545ec013d27e4022604101014f5cf9e6e43b
2022-02-23 15:44:17 -08:00
Adeeb Shihadeh 11ca91fadc boardd: handle missing pandas
old-commit-hash: 767bc1aa3b37b6bdc368629e0c91b87715eabc94
2022-02-23 13:35:56 -08:00
Robbe Derks f767c1b930 this seems to about what my car converges to (#23836)
old-commit-hash: f4d91f71a54becb04cddba9ad62edff4573d9fd4
2022-02-23 16:03:31 +01:00
Willem Melching 1597a03cec Fix watch3 on mac (#23834)
old-commit-hash: a03685c3f93d5c9909ea0f5aee2542be5b0a8eb8
2022-02-23 14:31:28 +01:00
Willem Melching 760564da61 replay: use VideoToolbox HW decoder on Mac (#23832)
* replay: support VideoToolbox HW decoding

* rename flag

* remove debug assert
old-commit-hash: dc7de79dc9d546465030acab1df1d9cc36e1d4d6
2022-02-23 13:52:50 +01:00
Willem Melching b9a0e6ff9b scons: use correct brew prefix (#23833)
old-commit-hash: cc1aab2a73362bb12ca35ef99518dcb955920185
2022-02-23 13:52:38 +01:00
Willem Melching 33a4fda7fd replay: use QCoreApplication (#23831)
old-commit-hash: df88280e0fa2f3b7799c48306c6ce9abdf3ebfb4
2022-02-23 13:34:31 +01:00
Andrew c8ef3e4990 fix mac_setup w/ tools+plotjuggler (#23552)
* fix pycurl issue:
* use newer curl backend for pip install
* update lib paths based on brew prefix
* fix cert issue when using pycurl using certifi
* make output setup nicer

* fix linter

* typo

* dont need that actually

* revert

* pipenv in brew

* forgot this

* make brew available on fresh install

* undo

* more undo

* oops

* use sytem curl, but homebrew openssl

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: df627de7bf10e2267f7aa66ec9830d004e699b0a
2022-02-23 13:04:50 +01:00
Adam Wallner ab90df48fd Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 (#23823)
old-commit-hash: 52266b9cd18643978442c46ec583aed1d78cbdf4
2022-02-23 11:58:14 +01:00
Adeeb Shihadeh ca0cb66a09 Honda: revert to button enable on Nidec (#23828)
* Honda: revert to button enable on Nidec

* fix test

* bump panda
old-commit-hash: c483a9724d7218493678f24d7649ab383c157b90
2022-02-22 22:36:21 -08:00
Adeeb Shihadeh ef2106ebd2 move lock clearing to uploader (#23826)
* move lock clearing to uploader

* test case
old-commit-hash: 3243d1a81e5cfdf687ee406d92903ee44fe781d3
2022-02-22 22:30:11 -08:00
Greg Hogan ff7419bf32 script to clear DTCs
old-commit-hash: de178ea79ccb66f0ed15f0ea98e93068b2e41ca6
2022-02-22 16:15:39 -08:00
Adeeb Shihadeh 30b63dc0d4 Toyota: fix flaky EV detection (#23825)
old-commit-hash: 0965155a5bf93bc5c0f14f437d9bc7d505f32a91
2022-02-22 16:15:09 -08:00
Adeeb Shihadeh 4ab3f4c5de adjust comma two model timing thresholds after bigmodel
old-commit-hash: c98d9791f049c7cdc0c9154c963755b1239e451c
2022-02-22 13:16:23 -08:00
Willem Melching 5517800a59 omx encoder: move writing into thread (#23771)
* omx encoder: move writing to separate thread

* fix include

* pop

* log buffers sizes

* split copy and write
old-commit-hash: 2f00271ce611f8df3ed44e3a1b87b69327a5bc08
2022-02-22 13:02:50 +01:00
Robbe Derks eda2f8c090 Fix unmetered upload over cell (fix #23811) (#23820)
old-commit-hash: a6214ff3b10114f727c9ec89dfa0ac275979f62f
2022-02-22 13:01:53 +01:00
martinl d4db9082db Subaru: add FW for Impreza Limited UDM 2017 (#23802)
* FPv2: Add Subaru Impreza Limited USM 2017

* test_fw_query_on_routes.py: add subaru support

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 412e43206e819193839eab5525fdb6358349856b
2022-02-22 12:17:48 +01:00
Caleb Stultz 888924bb97 HKG: Kia Sorento FPv2 (#23815)
* Replace Kia Sorento FPv1 with FPv2

* keep old fingerprint

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 989d072025cf7f02d71b3c35d117f3af4096c10f
2022-02-22 12:14:34 +01:00
Greg Hogan 56631af8bf hyundai: custom fw version for sonata eps (#23816)
* hyundai: custom fw version for sonata eps

* another comment
old-commit-hash: 35fe2605cf3e4da25d4b76c48120223aaa737f90
2022-02-22 12:02:35 +01:00
Willem Melching 78824585b8 CARS.md add 2022 elantra
old-commit-hash: b1091d505e270ac57bf50adbb2bc8e01e7f6e9ee
2022-02-22 11:58:36 +01:00
jdtram 655bac856d 2022 Hyundai Elantra firmware versions (#23818)
Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.
old-commit-hash: 6f766cbb103a7561e20c7cae46dc590bd903d2b6
2022-02-22 11:57:54 +01:00
HaraldSchafer fc042cd85a Fix tici bigmodel (#23817)
* Fix bigmodel on tici: cam intrinsics arent static

* Give TICI route own name for import

* Make function useable in offline test

* typo

* change tici ecam focal to trained focal

* No shadow variable

* Fixed ref

* Force update this time

* Update model replay ref commit
old-commit-hash: 48154703a7ebad8cfea4b9cfd0e37eee132fc32f
2022-02-21 19:57:04 -08:00
Adeeb Shihadeh 41de03aa6e cabana for your terminal
old-commit-hash: 768bea48d04f8f6e517db0458c1d979b00508c89
2022-02-21 19:42:46 -08:00
Adeeb Shihadeh 6cbe5ff2fb docs: fix title typo
old-commit-hash: d468d6e890e62970be22a5cdcfeadb2393dfc71d
2022-02-21 13:30:56 -08:00
Comma Device 123fd2f6ee thneed: a few asserts in the optimizer for cases it will fail
old-commit-hash: 2b652605a08178e539d7ff7ab7e009b4da29bd46
2022-02-21 12:08:52 -08:00
Willem Melching d4f372cfd7 Update raw_logger/framereader to new new ffmpeg api (#23799)
* Update raw_logger/framereader to new new ffmpeg api

* Can be removed now

* Handled by avcodec_free_context

* handle EAGAIN and clean up
old-commit-hash: 724bab8ef3aaad2c69b53fafc68f7afa0ebbe659
2022-02-21 16:39:32 +01:00