Commit Graph

5986 Commits

Author SHA1 Message Date
Shane Smiskol
8eab496ce3 Update Santa Fe 2019 route (#23888)
* new santa fe route, mid-drive to parking lot

* bump
2022-03-01 13:47:53 -08:00
Jason Wen
47aa3f60ba 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
2022-02-28 18:39:36 -08:00
Jason Young
0502486c16 VW MQB: Add FW for 2017 Audi S3 (#23881) 2022-02-28 14:27:22 -08:00
Adeeb Shihadeh
8a19d9892e modeld: remove support for small model (#23803)
* modeld: remove support for small model

* use extra
2022-02-28 10:32:39 -08:00
Adeeb Shihadeh
1f66bc46b3 CAN FD support in packer + parser (#23877) 2022-02-28 09:32:54 -08:00
Comma Device
83159a09bf THNEED_DEBUG env var support 2022-02-28 09:30:43 -08:00
Jason Wen
6a072886e9 HKG: Add FW for 2022 Kia Niro HEV (#23863)
* HKG: Add FW for 2022 Kia Niro HEV

* Expand model year
2022-02-28 11:48:01 +01:00
sintman
4f999b44c6 Toyota: add Leuxs NX fingerprint (#23808) 2022-02-27 22:01:55 -08:00
teknonut
bfa854f31c HKG: Add FW for 2021 Hyundai Santa Fe (#23858) 2022-02-27 22:01:01 -08:00
seven121-ym
9a663214b9 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>
2022-02-27 21:57:42 -08:00
Adeeb Shihadeh
45a5297e77 Hyundai: add FW versions for 2022 Elantra 2022-02-27 11:06:23 -08:00
Robbe Derks
f539d9c0bc fix kF value for thermal PI controller (#23871) 2022-02-27 19:51:59 +01:00
Shane Smiskol
a1875ac6f0 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
2022-02-26 00:54:35 -08:00
Adeeb Shihadeh
8344f3c087 update python packages (#23864) 2022-02-25 14:34:46 -08:00
Jonathan Frey
d09dffb7cd 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>
2022-02-25 14:16:44 -08:00
Willem Melching
ca8d4e417e MacOS: ensure 1:1 rendering on HiDPI screens (#23860) 2022-02-25 14:36:27 +01:00
Igor Biletksyy
9c70e8bcad bump panda 2022-02-24 14:42:43 -08:00
Adeeb Shihadeh
71cf938c51 Subaru: add Ascent FW values (#23848) 2022-02-23 17:34:39 -08:00
martinl
160a8cfd58 Remove unused MPC_COST_LONG class (#23843) 2022-02-23 17:26:05 -08:00
Ross Fisher
49c42c3cd4 Toyota: remove outdated comment (#23844) 2022-02-23 17:03:24 -08:00
Adeeb Shihadeh
04b2545ec0 Subaru: remove Impreza CAN fingerprints (#23841)
* Subaru: remove Impreza CAN fingerprints

* fix process replay

* update refs
2022-02-23 15:44:17 -08:00
Adeeb Shihadeh
767bc1aa3b boardd: handle missing pandas 2022-02-23 13:35:56 -08:00
Robbe Derks
f4d91f71a5 this seems to about what my car converges to (#23836) 2022-02-23 16:03:31 +01:00
Willem Melching
a03685c3f9 Fix watch3 on mac (#23834) 2022-02-23 14:31:28 +01:00
Willem Melching
dc7de79dc9 replay: use VideoToolbox HW decoder on Mac (#23832)
* replay: support VideoToolbox HW decoding

* rename flag

* remove debug assert
2022-02-23 13:52:50 +01:00
Willem Melching
cc1aab2a73 scons: use correct brew prefix (#23833) 2022-02-23 13:52:38 +01:00
Willem Melching
df88280e0f replay: use QCoreApplication (#23831) 2022-02-23 13:34:31 +01:00
Andrew
df627de7bf 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>
2022-02-23 13:04:50 +01:00
Adam Wallner
52266b9cd1 Added (Ecu.eps) fingerprint for Hyundai Ioniq EV 2017 (#23823) 2022-02-23 11:58:14 +01:00
Adeeb Shihadeh
c483a9724d Honda: revert to button enable on Nidec (#23828)
* Honda: revert to button enable on Nidec

* fix test

* bump panda
2022-02-22 22:36:21 -08:00
Adeeb Shihadeh
3243d1a81e move lock clearing to uploader (#23826)
* move lock clearing to uploader

* test case
2022-02-22 22:30:11 -08:00
Greg Hogan
de178ea79c script to clear DTCs 2022-02-22 16:15:39 -08:00
Adeeb Shihadeh
0965155a5b Toyota: fix flaky EV detection (#23825) 2022-02-22 16:15:09 -08:00
Adeeb Shihadeh
c98d9791f0 adjust comma two model timing thresholds after bigmodel 2022-02-22 13:16:23 -08:00
Willem Melching
2f00271ce6 omx encoder: move writing into thread (#23771)
* omx encoder: move writing to separate thread

* fix include

* pop

* log buffers sizes

* split copy and write
2022-02-22 13:02:50 +01:00
Robbe Derks
a6214ff3b1 Fix unmetered upload over cell (fix #23811) (#23820) 2022-02-22 13:01:53 +01:00
martinl
412e43206e 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>
2022-02-22 12:17:48 +01:00
Caleb Stultz
989d072025 HKG: Kia Sorento FPv2 (#23815)
* Replace Kia Sorento FPv1 with FPv2

* keep old fingerprint

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

* another comment
2022-02-22 12:02:35 +01:00
Willem Melching
b1091d505e CARS.md add 2022 elantra 2022-02-22 11:58:36 +01:00
jdtram
6f766cbb10 2022 Hyundai Elantra firmware versions (#23818)
Added 2022 Hyundai Elantra fwdCamera, transmission, and engine fingerprints.
2022-02-22 11:57:54 +01:00
HaraldSchafer
48154703a7 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
2022-02-21 19:57:04 -08:00
Adeeb Shihadeh
768bea48d0 cabana for your terminal 2022-02-21 19:42:46 -08:00
Adeeb Shihadeh
d468d6e890 docs: fix title typo 2022-02-21 13:30:56 -08:00
Comma Device
2b652605a0 thneed: a few asserts in the optimizer for cases it will fail 2022-02-21 12:08:52 -08:00
Willem Melching
724bab8ef3 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
2022-02-21 16:39:32 +01:00
Willem Melching
ccdf069c8c onroad_test: increase camerad cpu usage after debayer changes 2022-02-21 16:18:01 +01:00
Willem Melching
428d412c1f longitudinal planner: disable change cost when stopped. not engaged or gas pressed (#23639)
* disable change cost completely on standstill and gas press

* cleanup

* set accel to zero

* clean up logic around standstill

* update ref
2022-02-21 16:14:41 +01:00
Robbe Derks
5f64f1c089 Param to allow upload over cellular (#23811)
* param to allow upload over cellular

* brackets to be consistent

* move outside loop

* fix tests

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-02-21 12:17:47 +01:00
Willem Melching
efc9084409 ui.py: fix model lead plotting 2022-02-21 11:56:20 +01:00