Commit Graph

2059 Commits

Author SHA1 Message Date
Shane Smiskol 8da61ba4cc Honda Nidec: put max PCM gas into CarControllerParams (#26645)
* limit gas

* bump panda

* not sure why it was represented like this
old-commit-hash: 997b2e11aef4ccc801a075dea13ed4aa9a5de27c
2022-11-30 20:36:19 -08:00
Shane Smiskol 5f8b46eabe Build panda/SConscript (#26646)
* panda/SConscript

* think this is right?

* bump panda

* fix test_models

* use a filter

* bump panda to mater

* more aesthetic ordering

* alphabetical :(

* alphabetical :(
old-commit-hash: 01dac5d06bcd518e6c2daab8c41979b0553b73a6
2022-11-30 20:27:55 -08:00
Shane Smiskol d6f6b0de91 Car interface: set tire stiffness in common function (#26625)
* common stiffness

* GM uses factors
old-commit-hash: 712b9014d708ce77e87e2d1bb4dfe2d7665a8414
2022-11-29 12:50:27 -08:00
Vivek Aithal 238e63bc2a [controlsd] Refactor apply_deadzone in Lateral Torque Control (#26626)
rename apply_slack to apply_center_deadzone, remove unused prius offline values
old-commit-hash: 3a4f19f0ee454a9c8d7c55d66e794ef20c4b4f01
2022-11-29 12:46:08 -08:00
Shane Smiskol 8aadc8dda6 Car interface: set common params after port (#26613)
* remove pylint exception, _get_params takes no defaults

* clean up

* mock uses it too

* unused

* unused

* fix that

* bump

* Update selfdrive/car/interfaces.py
old-commit-hash: 860f441e2f122173c5034656aeed5706fd41e38f
2022-11-29 11:49:13 -08:00
Jason Young e03b42a61c VW PQ: Follow-to-Stop support (#26616)
old-commit-hash: 44e9ea23bd6900d9d43216855bbc68704e4358ba
2022-11-29 11:15:16 -08:00
Vivek Aithal 5bc529bf20 [controlsd] Toyota Prius 2017 (#26455)
* increase lag on prius

* better offline values computation

* split prius ecu more, set deadzone to 0

* add deadzone back

* replace deadzone with slack

* reduce deadzone to 0.2

* update refs
old-commit-hash: 0706b03e8cf41f7d51c9a42f01bda2084bfe3be6
2022-11-29 10:47:13 -08:00
Shane Smiskol 832b2d7168 mock: remove steering angle (#26614)
* fix yaw rate in mock interface

* clean that up

* revert

* clean up
old-commit-hash: b4da592a3ca9bfda7766ecb5021a8ce17dfd6abe
2022-11-29 01:54:59 -08:00
Andrew ada0539d18 Hyundai: add more Kia K5 FW (#26590)
* add some values

* consistent ,

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f64e69eb11e1b9efc5fb3f9b893d1e42a9809d0f
2022-11-29 01:13:43 -08:00
uppercaseVar c6990585bb Add ECU fw for 2016 Golf GTI (#26591)
Added ECU for 2016 Golf GTI
old-commit-hash: b2fd699c21656d6cc7959c3ecd900b5a08456950
2022-11-29 01:08:58 -08:00
Erich Moraga 6bab37e878 Add missing RAV4_TSS2 ABS f/w (#26617)
`@IDJ#0879` 2019 Toyota RAV4 (ICE)  DongleID/route e7cd4ae3bee72b52|2022-11-29--14-33-40
old-commit-hash: b18dfef8a6fdd1b38be316193f704b380e8f0dd2
2022-11-29 01:03:02 -08:00
Shane Smiskol 263e4d15d5 Hyundai: remove custom accel limit function for default values (#26611)
* Update interface.py

* Update interface.py
old-commit-hash: 12ecc7b4bc42f70d73729367c32d200cca5afcc3
2022-11-28 16:01:54 -08:00
Shane Smiskol aa5deae8f9 IsoTpParallelQuery: log errors in qlogs (#26609)
log these in qlogs
old-commit-hash: 08b49e5671c04aaa17d8b56e2351d1bd14195dae
2022-11-28 15:00:37 -08:00
Jason Young 2edfdf3843 VW PQ: Fix cruise fault detection, cleanup (#26588)
old-commit-hash: 82158c8378a34ab0d82566d1149e1769e877c4ac
2022-11-28 14:55:57 -08:00
Jason Young 6a7a660aaf VW MQB: Add FW for 2022 Volkswagen Arteon (#26603)
old-commit-hash: 38cd262de3436a3a239210c6e8c71933e6a79871
2022-11-28 14:55:09 -08:00
Shane Smiskol bcdbd8edb9 Toyota: alert when in standstill (#26585)
* add resume required alert

* possibly need this (pressing resume with brake held does nothing)

* better text (has both meanings)

* try this

* Revert "try this"

This reverts commit 5b2991929b62f5bcd9bfa0767d709b5fe83b094b.

* no alert with interceptor

* check long
old-commit-hash: 3253b8590002fa5f56e003add3f5f47a21870873
2022-11-25 16:00:58 -08:00
Robbe Derks 9790dffe6d Fix Tesla cancel button definition (#26596)
misinterpreted the dbc
old-commit-hash: 1efc8b9c78880778f4f604058c639ebdb2e12ff5
2022-11-25 13:20:20 +01:00
Shane Smiskol c82a646888 Toyota: always log cruise standstill (#26586)
these cars def are in cruise standstill, no sense to not log
old-commit-hash: 059e4f5730618812221b080c69f83fb36b68c5a7
2022-11-22 23:43:23 -08:00
Shane Smiskol d9908b3029 Toyota: whitelist FW queries (#26584)
whitelist toyota
old-commit-hash: 13cdddc6c806c963b65c477d409329ea717c7e11
2022-11-22 22:28:11 -08:00
Jason Young 0d2373312e VW MQB: Redundant brake pressed signals (#26401)
* VW MQB: Redundant brake pressed signals

* retry CI

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 636ff5979fc19fe0a965fbceae214694c97c1e3d
2022-11-22 16:18:42 -08:00
Shane Smiskol cf287d796b GM Cam: log when cruise not adaptive (#26581)
* bump opendbc

* log when nonAdaptive

* Update ref_commit
old-commit-hash: 9fdbe9f397b79f33c0653f4e9dd3b1cbb2e92273
2022-11-22 15:18:10 -08:00
Shane Smiskol ee961b62f8 Car docs: add a make-specific init function (#26565)
* add a hook function for makes to implement custom docs logic

* don't need this

* use the pre-defined list for honda's harnesses

* one line 😎

* Update selfdrive/car/docs_definitions.py

* i didn't know you didn't need a pass!

* don't change docs order
old-commit-hash: 1367f84425b5fbdb3ecf8452b134b641998e404a
2022-11-21 18:01:08 -08:00
Erich Moraga d037490c40 Add missing HIGHLANDERH_TSS2 ABS & engine f/w (#26534)
`@shakir07#1323` 2020 Highlander Hybrid  DongleID/route ce56baaf82559131|2022-11-16--23-54-01
old-commit-hash: be3d6527adb3f58500e7c9f2d689b4821c233791
2022-11-21 16:22:01 -08:00
Adeeb Shihadeh ad2864ea70 docs: update Toyota DSU footnote (#26568)
old-commit-hash: 548888d6341a4f44ea2e4154fb8c820c3fc38e4e
2022-11-21 15:59:42 -08:00
martinl 94e14da8aa Add FPv2: 2022 Subaru Outback Wilderness (#26540)
Add FPv2: 2022 Outback Wilderness / @valtou
old-commit-hash: 62ad278829bbe7e6756f4bb3c44386e9c85d731c
2022-11-21 15:34:20 -08:00
AlexandreSato 8797c594e6 Lexus UX Hybrid 2020 Fingerprint (#26551)
Lexus UX 2020 Fingerprint alex.takeda@gmail.com
old-commit-hash: 5402e02785ce2dffa404acf888fcc36d3df133fa
2022-11-21 15:28:34 -08:00
Igor Biletskyy 13c3dc40db body: fix UDS reqests (#26552)
* bump body

* add new fw version
old-commit-hash: 5b8aed2ebf80ba0875ed21b8130a6ab7451e5740
2022-11-20 11:44:04 -08:00
Adeeb Shihadeh c74523921d body: add can fingerprint (#26548)
old-commit-hash: 649663e06d43a6d1b05fe83120391f3bd2401b8f
2022-11-19 14:45:34 -08:00
Tim Wilson 713ec37e49 Add video_link for GMC Sierra (#26506)
* Add video_link for GMS Sierra

* fix precommit

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 187f8c177a1a4d507a4ca145463f852cee3ce7aa
2022-11-17 02:03:13 -08:00
Vivek Aithal b274f3cff0 [torqued] Non-zero offline friction (#26513)
add non zero friction values
old-commit-hash: 3b71a9780dab0eed22dc277ce26a4d95c97f07df
2022-11-15 19:45:15 -08:00
Vivek Aithal 71696403fb [torqued] Make torqued work on Hyundai Tucson (#26511)
* changes to get offline values

* set tucon values

* move to params.yaml
old-commit-hash: d4fd0c3c8798317e4af87642af30ddbcd39fc4d6
2022-11-15 18:41:43 -08:00
hoomoose e0e94e4c8c Hyundai: longitudinal support for all CAN-FD EV and Hybrids (#26345)
* Update values.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update values.py

* Update values.py

* Update interface.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* cleanup

* update docs

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c5df76a6c8784af3bec64827a2dbab464d8ce39
2022-11-15 16:19:30 -08:00
Harald Schäfer beccaa2e76 More Honda rate limit (#26509)
* More Honda rate limit

* Update ref_commit
old-commit-hash: fbf3ef0895182ffab90ddda83fa485b02d5a76d6
2022-11-15 14:21:00 -08:00
Tim Wilson d985096170 Add video link for Volt (#26504)
old-commit-hash: bdc432d21824cc83627bb5d1abd5e99b4bc62fc3
2022-11-15 10:55:43 -08:00
Harald Schäfer 88135d52cb Rate limit honda steer (#26500)
* Rate limit honda steer

* Update ref_commit
old-commit-hash: e58f6fbc11424e8059d6a86a4f0990f604c3a22f
2022-11-15 00:46:47 -08:00
Jason Wen 5c11b2529b HKG: Car Port for 2022 Kia Stinger (#26397)
* HKG: Car Port for 2022 Kia Stinger

* Substitute KIA STINGER GT2 2018 torque params

* bump panda

* Add test route

* Update CARS.md

* Not this checksum

* Update test route

* Update CARS.md

* Harness C -> Harness K

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d766fee14e94011e261c8c557098a7223c87014
2022-11-14 19:46:29 -08:00
Jason Young 944b19d27d VW MQB: Add missing FW for 2016 Škoda Superb (#26484)
* VW MQB: Add missing FW for 2016 Škoda Superb

* regen CARS.md
old-commit-hash: 41e5c79948216af2d416dcea2bceb1ba53855022
2022-11-14 12:04:59 -08:00
Shane Smiskol 74d58ab0d6 GM: match stock enabling behavior (#26442)
* add first draft enable button timeout

* use allow_enable

* it doesn't count if brakePressed

* enable on rising edge of resume (matches stock)

* not today

* add comment describing the fault this avoids

* cleaner

* handle incrementing speed

* rename

* add test for not changing speed if enabled changes mid-press

* spacey

* ugh

* bumpo

* need this to fix a fault (draft)

* already have

* this should be cancel

* fine to do for all

* fine to do for all

* bump

* bumpo

* bump to master

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update ref_commit
old-commit-hash: 15383d30161de7646edf770153b0f81d15338c54
2022-11-13 21:13:46 -08:00
Shane Smiskol a570984aa3 interfaces: disable on falling edge of cancel button (#26493)
* both

* Update ref_commit
old-commit-hash: ca37d0c8cc43a88189c2a96b02aed0edfe5aa32e
2022-11-13 20:50:28 -08:00
Shane Smiskol dc27f0de03 GM: handle run-away set speed (#26480)
* GM: Handle run-away set speed

* bumpo

* This is a test of both PRs combined

* tempbump

* Revert "tempbump"

This reverts commit b73e04fca25e6a1bac889e44afac6430d5ad7c30.

* Revert "This is a test of both PRs combined"

This reverts commit 22cc0e6900e0f0470f14ed55e7846e4b1d570826.

* fix

* bump

* fix that

* Bump to master

* fix fix
old-commit-hash: 65f494d845bbfa47293ad3158a68bc38c1b4dcff
2022-11-12 02:02:30 -08:00
Shane Smiskol 0371e47fac controlsd: resume does not increment speed while cruise standstill (#25470)
* fix runaway set speed for GM

* fix runaway set speed for GM

* Handle resuming to exit standstill generically

* clean that up

* ugh i want to fix all the formatting

* class that manages v_cruise

* better name

* move around

* add depressed_state

* fine to update on pressed change, better name

* cmt

* we need to check CS. button_change_state only works if we exit standstill on rising edge not falling edge

* no defaultdict
old-commit-hash: 76ac3d4c99df24f068aee3baedb796f65dfcca66
2022-11-11 19:43:30 -08:00
Jason Wen 434324bfcb HKG: Bump Kia Telluride support to 2022 (#26467)
old-commit-hash: f6189b32351b21ad528486ee69c55666a1ef0d55
2022-11-11 11:40:21 -08:00
Shane Smiskol 1ea7e49e8d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
old-commit-hash: 74b6e22a7dc8e0b1ec051f00037506d23a017ae8
2022-11-10 19:06:31 -08:00
Nelson Chen fcf4893f7d Toyota: add missing engine FW for RAV4H_TSS2 (#26432)
"rav4 hybrid xse 2020"

From Rogrhoa#2158 on Discord.

Example Route: 64edc30d23cad8cb|2022-11-09--20-02-03
old-commit-hash: d3122cc77e169d8eb87663741bacc165f7062d56
2022-11-09 19:59:12 -08:00
Shane Smiskol ab5e2b66e8 Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort

* Update ref_commit
old-commit-hash: e1001a3036fb93d6d0340d139d4ae2a1f2419d52
2022-11-09 18:27:30 -08:00
AlexandreSato abd77480dc Toyota: Add missing Corolla Cross FW verions (#26426)
* add geraldo fingerprint

* add to non-H

* Update selfdrive/car/tests/routes.py

* Update non-us cross model years

* add test route

* Update routes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 52378c97ecde4c489e18e23d01021f27c3acf073
2022-11-09 16:06:36 -08:00
Shane Smiskol 4980210416 Hyundai: add missing Sonata 2022 FW versions (#26428)
* Added FW Versions for 2022 Elantra and 2022 Sonata. 

Added for CAR.ELANTRA_2021 :

Ecu.transmission :  b’\xf1\x87CXMQFM3421815JB2ww\x96y\xaa\x98x\x87\x88wtwTfuwWh\x9f\xff\x8a\xff\xff\xffE\xe3\xf1\x89HT6VA640A1\xf1\x82CCN0N20NS5\x00\x00\x00\x00\x00\x00'

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x82CNDWD0AMFCXCSG8A'


Added for CAR.SONATA :

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x81HM6M1_0a0_J10'

Ecu.transmission: 
b'\xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x81T02832A1  \xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x82VDN8T25XXX832NS8'

* Update values.py

* Removed FW Versions for Elantra_2021.

* fix

Co-authored-by: humza2000 <111622889+humza2000@users.noreply.github.com>
old-commit-hash: 048cce2149db34ea0e32df3673248fbbc8e804ad
2022-11-09 16:04:19 -08:00
Shane Smiskol fc733027f5 interrfaces: more complete PID tests (#26422)
* more complete PID tests

* doesn't need to be fancy

* less fancy
old-commit-hash: 0ca9d1810c39d96ec0ebefc80df16dd68eb3387e
2022-11-09 12:10:08 -08:00
Vivek Aithal 66231d85de [controlsd] Toyota Rav4 TSS2 bugfix (#26421)
bugfix toyota rav4 pid init values
old-commit-hash: c64e2c228a57dd82685f9ca4251c49e953e1ac69
2022-11-09 12:09:55 -08:00
Jason Young 7dcbc23732 VW PQ: Fix exception with openpilot longitudinal (#26417)
* VW PQ: Fix exception in long control

* move default value to init
old-commit-hash: 34f580e75ee148398e6a44980053c20bf10f9797
2022-11-09 01:55:37 -08:00