Commit Graph

6151 Commits

Author SHA1 Message Date
Adeeb Shihadeh
eec2ca1e8b CI speedup (#26096)
* CI speedup

* use the new stuff

* push

* no regressions

* try that

* don't let this slip

* fix modeld tests

* fix linter

* modernize prebuilt

* cleanup

* fix those

* increase a bit
old-commit-hash: 00494a44f4fb8f9e18ce82e22bf40fbe6bc1a805
2022-10-16 15:54:36 -07:00
HaraldSchafer
f428c9de30 Refactor model: no klblock (#26035)
* ff138dc0-d097-4818-b40e-dba5ba89d5d6/449 13274b7d-b546-4b91-a587-33b4af7dec6a/700

* b1bb39be-c6ce-4744-8e63-92969fda6bfc/449 f3ebfba1-f686-448f-be9b-b4d5010be91c/700

* model ref

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: b654ebdd25bb3903e94ca5cc6f55d53a256f5c06
2022-10-15 20:04:35 -07:00
Jason Wen
cf3eb44abc Hyundai: CAN-FD Hybrid gas pressed signal (#26086)
* Hyundai: Gate 0x105 behind hybrid CAN-FD only

* Update values.py

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 553068f8c3afd9fd2c3a3a412dd20a8e03c6c58f
2022-10-15 12:27:34 -07:00
AlexandreSato
a9c4475331 Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
old-commit-hash: df6c135cfaabe830d2447800d49daac445660c64
2022-10-15 12:15:47 -07:00
Shane Smiskol
961c613005 GM camera ACC: prevent fault when engaging at a stop (#26079)
* prevent bolt fault

* comment

* only for camera ACC

* fixup alert

* bump cereal to master

* use new name

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* only care about prevent engagement when we look at PCM
old-commit-hash: 4e82f68de2641e628f0df1aa82e5a5e935c8cce6
2022-10-14 22:21:53 -07:00
Shane Smiskol
7512d184bc GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
old-commit-hash: 91a7bb4ea3f01f40a7d8e88e857d60ef090dad2c
2022-10-14 16:54:13 -07:00
Shane Smiskol
82b6fe1c4c Fix refs
old-commit-hash: c0840e0c33257b7ee86ace2c9a0b985ae61ca71c
2022-10-14 16:50:07 -07:00
Shane Smiskol
87b9f41022 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

* update refs
old-commit-hash: 5d00e5cc71106c6c4a9b25e3a2873e9e0606544c
2022-10-14 15:53:24 -07:00
Matt Webb
6081e543c0 HKG: add missing FW versions for 2022 Kia EV6 Light (#26071)
Fingerprint 2022 Kia EV6 Light
old-commit-hash: 422167cdf96b52eaaf001f27b447f23055e31709
2022-10-13 20:51:57 -07:00
Shane Smiskol
cfe9e9c17b CAN-FD HKG: add ADAS Driving ECU query (#26075)
add ADAS Driving ECU query
old-commit-hash: ed87c0f95a42a304c1ebc2892c1c740f147c78c1
2022-10-13 19:50:09 -07:00
Cameron Clough
c52ba337b8 Hyundai docs: fix model name/year formatting (#26074)
* fix formatting so that model years can be parsed

* generate car docs
old-commit-hash: a02f42959c330d7df45c623b08c285e43c19726d
2022-10-13 19:45:42 -07:00
Shane Smiskol
b85bf30a7e FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
old-commit-hash: 7e9961b9ac8c8e22197148d3741164c072200d3c
2022-10-13 17:40:07 -07:00
Mitchell Goff
6621e58657 Added updateZoom function to map_renderer, plus custom style.json (#25997)
* Added updateZoom function to map_renderer, plus custom style.json

* Render 512x512 maps

* Define STYLE_PATH in navd sconscript
old-commit-hash: 982ea83cf9accc6aefd05169c420f457b21dcc0a
2022-10-13 14:27:59 -07:00
Vivek Aithal
7a826259c4 regen: Refactor log migrate functions to avoid needing azure keys (#26049)
* refactor migrate fns to avoid needing to use azure keys on import

* move azure key init behind a function

* resolve comments
old-commit-hash: 5f7d9a519e98b446b14866a8920dd0493b4dce26
2022-10-13 13:21:35 -07:00
hoomoose
3a6801e4ef Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 649eaf273ff245dbf8279d86d4acb9ea36a9d5d2
2022-10-13 09:34:59 -07:00
Shane Smiskol
2c335e4abf boardd: don't multiplex OBD port on external pandas (#26062)
don't multiplex on ext pandas
old-commit-hash: bf5f9adcc853c9fef6bdcfed027a588aa1940384
2022-10-12 22:34:40 -07:00
Cameron Clough
49c982cba5 Hyundai: add missing Elantra Hybrid 2023 FW versions (#26055)
* add Hyundai Elantra HEV 2023 fw

8dcf421697cd2cb0|2022-10-12--16-12-21--0

VIN: KMHLN4AJ5PU042417

* add 2023 to docs

* delete

* fix fingerprint

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7f3c070061da864bd18820ba5589e4ee7fbae0db
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh
76da219352 Hyundai: split alt gas pressed signals by EV and ICE (#26061)
old-commit-hash: 82bd082dcd3e9f38a0f7a766242b6979a611a567
2022-10-12 22:12:24 -07:00
Adeeb Shihadeh
ecfef77606 Hyundai: fix alt CAN-FD cancel (#26057)
old-commit-hash: 4ee0b8196f85b29b735c3319924f3c40cebc86e5
2022-10-12 21:54:53 -07:00
Adeeb Shihadeh
f6803bc8df Hyundai: share panda flags with CAN-FD platform (#26058)
* Hyundai: share panda flags with CAN-FD platform

* move that

* only set bit

* bump panda

* panda master

* regen + update refs for new param
old-commit-hash: c782380fc1cfcbc7b521f14db37a360aef6b53ec
2022-10-12 21:54:08 -07:00
Kurt Nistelberger
31c9cdd5a0 remove null effect assert
old-commit-hash: 8809116a2674be71de45996b9f88bda46468694b
2022-10-12 18:55:35 -07:00
HaraldSchafer
eac9ec1570 locationd: Fix GPS sensor times with fixed offsets (#25920)
* Rewind to qcom time

* Fix test

* Typo

* init unix_time fix

* add gps sensor_time_offsets

* remove all clocks code and add todo

* :emove clocks in unit test

* update refs

* update refs

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
old-commit-hash: b3324418034fcf09123b614ee2429a4e5bc9d7a5
2022-10-12 17:47:30 -07:00
Jason Young
18681091bf VW MQB: DBC updates and cleanup (#26053)
* VW MQB: DBC updates and cleanup

* bump opendbc after merge
old-commit-hash: bb61081b70e787d3defe18c74720eb4d5dbb3114
2022-10-12 17:46:26 -07:00
Jason Young
914c75d9ea Allow car port to define enable buttons (#25793)
* Allow car port to define enable buttons

* simplify

* oops
old-commit-hash: 135270f65cbde80c06aee1773b9ca802bd32f419
2022-10-12 16:27:23 -07:00
Greg Hogan
1d4e4197e2 add CAN-FD non-ISO mode support (#25947)
CAN FD non-ISO support

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5ef6f82e61794f384b541cfbe9f9a06ffc304c5
2022-10-12 15:40:19 -07:00
Kurt Nistelberger
cadd6be7a1 rawgpsd: log + skip unknown responses (#26043)
* skip DIAG_EVENT_REPORT_F events

* .

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 549452f84d0f06a92d5c03b710a300acefe8673d
2022-10-12 15:14:45 -07:00
Cameron Clough
0defa2774f Ford: cleanup and fix button press (#26033)
* cleanup

* use Veh_V_ActlBrk for vEgoRaw

* remove unused CarState.yaw_data

* less resume spam

* set steering ramp rate

* match DBC range

* add LCA/TJA notes
old-commit-hash: 80259f377f8b1aa3a337cccbc3b00bd41898cf44
2022-10-12 14:23:12 -07:00
Adeeb Shihadeh
026668b5f8 EV6 longitudinal (#26023)
* ev6 long

* update refs
old-commit-hash: 3c0904a18f4acb852193de9956965df2520104d1
2022-10-12 14:22:40 -07:00
Jason Shuler
6d8f98ab9b GM: disable checks on loopback bus (#26015)
* disabling checks on loopback bus

* Apply suggestions from code review

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ac88ad871a9fba9076eb4d02a57e34ad34839f59
2022-10-12 14:02:01 -07:00
Jason Young
6f2b741c33 VW PQ: Volkswagen Sharan Mk2 / SEAT Alhambra Mk2 (#25839)
* initial Sharan support

* placeholder torque data

* oops

* add route

* min speeds and PQ default delay
old-commit-hash: 47b19ff14891947bc5db02f3378b5eceba08ee85
2022-10-12 13:59:39 -07:00
Nelson Chen
05490107b1 RAV4 2022: Add missing engine FW (#26044)
From 23e0360acaefab4d
old-commit-hash: aa3dc7acbe889b62576a2d1eb9c6b076b1cfa6cb
2022-10-12 13:31:08 -07:00
Shane Smiskol
f3a4c0c6a5 GM camera ACC: log stock aeb/fcw (#26017)
* GM camera ACC: log aeb/fcw

* order

* fix stockAeb
old-commit-hash: 5ad89425a7b4a888ae43228af92b8839f79ec9ec
2022-10-11 22:55:21 -07:00
Shane Smiskol
6a92eb5a7a GM camera ACC: reduce LKAS faults on startup (#26039)
* GM camera ACC: no faults on start up 2.0

And by 2.0 I mean we don't need to wait for blocked msg support to be merged first to merge this without regressing accidental single blocked msg count handling.

* Send the camera counter + 1

* Keep updating the first counter until we get a message on the bus

* Only update right before sending so sent_lka_steering_cmd is updated first

* Update ref_commit
old-commit-hash: 0f94d81b7adffa9da5c4632fb5979b27695bbb53
2022-10-11 22:33:37 -07:00
Shane Smiskol
57f5abda16 Hyundai: remove 90° steering lockout (#24108)
* avoid 90 degree fault

* use 50 frames

* no panda mods

* clean up

* absolutely no faults. zero. zilch. nada

* fix initial value and comments

* try glitching at double rate instead of two in a row

* bump panda

* cut for two frames

* clean up

* bump panda

* clean up

* not today!

* bump panda to master

* prefix and simple lat_active

* prefix
old-commit-hash: f74fefaffad87471ba1d7fa351d7fd37b9505d4a
2022-10-11 18:59:16 -07:00
Kurt Nistelberger
76f9a1487c GPS test station first unittests (#25950)
* init gps test

* gps test v1

* add static signal gen script

* update readme

* remove LD_PRELOAD by using rpath, update values after testing

* remove LD_PRELOAD

* update fuzzy testing

* address comments

* cleanup

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 54d667aa155a795ff3ee4953ce508d64945fdac3
2022-10-11 18:55:10 -07:00
Kurt Nistelberger
52e592ddc1 add extra logging for rawgpsd opcode crash
old-commit-hash: 182c5c48102a8d719402eece658c16f36f3d7046
2022-10-11 17:41:20 -07:00
Shane Smiskol
4df9e825ae Use longActive for car-specific override signals (#26030)
* add override field to cruiseControl

* need to check if long *can* be active

* bump cereal to master

* revert

* better

* fix

* update refs

* rename variable
old-commit-hash: 741867813285672a723b8fc53ead65a5cbe5c6dd
2022-10-11 16:27:46 -07:00
HaraldSchafer
f9b65f9189 Low speed lateral like before (#26022)
* Add explicit cost on steering wheel movement

* Laxer low speed control

* Laxer low speed control

* Lower min speed now there is a cost

* 3m/s

* Similar to old master

* Add cost

* Crazy high

* Update ref

* comment
old-commit-hash: 2c9b150761f533a6132fac3639df24bb286386bb
2022-10-11 14:53:43 -07:00
Nelson Chen
8dc2f5e427 Add missing Corolla TSS2 firmware (#26032)
old-commit-hash: e062d2387e37f92121979803e11e9fcbb550b63b
2022-10-11 13:17:21 -07:00
Shane Smiskol
3604eadef8 Add CarInfo for Elantra GT and i30 (#26034)
Fixup car info for Elantra GT/i30
old-commit-hash: 32a4dfe2fe549edff352dc54055cff680c96755f
2022-10-11 12:53:35 -07:00
Shane Smiskol
ce1e890c5d HKG CAN-FD: log temporary steering faults (#26031)
* log hkg can-fd temporary steering faults

* bump to master
old-commit-hash: c719b3b7ddd05d8369aab13e11f99af7990c73ea
2022-10-10 23:24:14 -07:00
Shane Smiskol
d064794e80 Subaru: log stock FCW (#26012)
* log stock FCW

* Update selfdrive/car/subaru/carstate.py

* never seen 1 (could be aeb?)
old-commit-hash: f31aa6853354226baada15f6a12b57f16bc3853b
2022-10-08 23:28:33 -07:00
Greg Hogan
08234a9ea9 hyundai: fix logging stock AEB events (#25152)
old-commit-hash: 2e7fa330b346b6435d0b15524f3b5ce878d213de
2022-10-08 04:07:35 -07:00
Shane Smiskol
46e01104ad Kia: update Optima platform name (#25852)
* https://en.wikipedia.org/wiki/Kia_K5

* it's actually the same generation, but 2019+ is a facelift

* g4

* fix

* rename
old-commit-hash: 36701a82a344447fe33476f42cd83034dbc373a4
2022-10-08 00:02:57 -07:00
HaraldSchafer
a13f2deeeb Increase low speed jerk cost (#26008)
* Increase low speed jerk cost

* Update planner weight

* Update ref_commit

* Update lateral_planner.py

* cleanup and refactor

* Update ref_commit
old-commit-hash: fb074378194db28067dbb77e8cd15db6ab5fd882
2022-10-07 19:15:04 -07:00
HaraldSchafer
549a65d51e rawgpsd: publish ephemerides (#25931)
* add svpoly parsing

* Publish poly

* add source check

* add safety check for invalid gpsWeek values

* address PR comments

* add qcom ephemeris source type

* bump cereal and laika

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 57a82ced285518cad129ec61814aab48bf51910e
2022-10-07 17:27:09 -07:00
YassineYousfi
523ad86756 faster rocket launcher model (#26009)
* cache tokens 1456d261-d232-4654-8885-4d9fde883894/440 e63ab895-2222-4abd-a9a5-af86bb70e260/700

* udpate ref commit

* bump tinygrad to master
old-commit-hash: 6c5693e965b9c63f8678f52b9e9b5abe35f23feb
2022-10-07 17:22:42 -07:00
Shane Smiskol
779ad387bf GM: use ECM brake-pressed threshold (#25970)
* This brake position value disengages stock ACC, use it to avoid controls mismatch. 2016-2017 Volt will hit this threshold and disengage, must install new design of brake pedal retaining clip, TSB 16-NA-147.

* 80 hz

* comment

* bump panda

* update refs

* bump panda

* bump panda

* bump panda

* bump panda to master

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
old-commit-hash: 6ce511cc605782c25d45c66b55f859caaf7ce516
2022-10-07 16:12:58 -07:00
Adeeb Shihadeh
0645a347f2 tombstoned: remove android code
old-commit-hash: 8cee561dbfcb6e45f7ecd51adb0df67f4ebba908
2022-10-07 13:51:55 -07:00
Jason Young
5812735bbe VW MNB: Add EPS config script support (#26007)
old-commit-hash: 46e741c7cc652a9b1b266c0881ef6f9c30f5a226
2022-10-07 12:50:35 -07:00