Commit Graph

216 Commits

Author SHA1 Message Date
Scott Leibrand
5b6ba63253 One-word grammar fix to docs/INTEGRATION.md (#26621)
Grammar fix
old-commit-hash: 7b1122e831
2022-11-29 00:38:18 -08:00
Adeeb Shihadeh
ad2864ea70 docs: update Toyota DSU footnote (#26568)
old-commit-hash: 548888d634
2022-11-21 15:59:42 -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: 9c5df76a6c
2022-11-15 16:19:30 -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: 2d766fee14
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: 41e5c79948
2022-11-14 12:04:59 -08:00
Jason Wen
434324bfcb HKG: Bump Kia Telluride support to 2022 (#26467)
old-commit-hash: f6189b3235
2022-11-11 11:40:21 -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: 52378c97ec
2022-11-09 16:06:36 -08:00
Jason Wen
62990e317e HKG: Car Port for Genesis GV70 2022 (#26373)
* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update docs

* Update selfdrive/car/hyundai/values.py

* GV70 does radar SCC, separate them

* One more

* bump panda

* Gate 0x1A0 away from bus 6

* Can't leave out the OG

* EV6 non-HDA2 too?

* bump panda

* bump panda

* Check 0x1a0 based on param

* bump panda

* bump panda

* bit simpler

* fix bit op

* fixes

* bump panda to master

* cmt

* flip

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d62cdc400c
2022-11-07 23:03:36 -08:00
Jason Wen
353659debc Hyundai: update Ioniq 5 HDA I supported model years (#26376)
* Hyundai: Add FW for 2023 Ioniq 5 HDA2

* Update values.py

* Update CARS.md

* Update values.py

* Update CARS.md
old-commit-hash: 1b6e37daa6
2022-11-07 16:51:32 -08:00
Jason Wen
1270e7fda9 Hyundai CAN-FD: support 2023 Kia Sportage & 2022 Hyundai Santa Cruz (#25434)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* update docs!

* GV70 is a radar-SCC car :( (another PR)

* fix removed sportage hybrid versions

* update docs

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: e4342b5e16
2022-11-04 18:44:38 -07:00
Jason Wen
6c8b431849 Hyundai: Add FW for 2023 Ioniq 5 HDA2 (#26145)
old-commit-hash: 31dbd21f07
2022-11-04 16:32:40 -07:00
Jason Young
d860ffedc2 VW MQB: Enable experimental long (#26359)
* VW MQB: Harness updates

* don't need the variant footnote

* VW MQB: Enable experimental long

* autogen doc fixes

* rename that
old-commit-hash: 9382d55280
2022-11-04 12:45:35 -07:00
Jason Young
fde3b16086 VW MQB: Harness updates and docs cleanup (#26313)
* VW MQB: Harness updates

* don't need the variant footnote

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9e65be9b1
2022-11-03 14:37:21 -07:00
Jason Young
3689cff113 VW MQB: Add FW for 2021 Audi Q3 (#26343)
* VW MQB: Add FW for 2021 Audi Q3

* update docs
old-commit-hash: d172cbbcc8
2022-11-03 13:33:01 -07:00
Shane Smiskol
da68ac1b66 car docs: auto-generate footnote for DSU cars (#26321)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* fix autoResume

* fix autoResume 2
old-commit-hash: 3e69973819
2022-11-03 01:00:33 -07:00
Shane Smiskol
6a7ce3a4d6 GM camera ACC: vision-only ACC behind toggle (#25631)
* put gm camera voacc behind disable radar toggle

* bump panda

* bump panda

* bump panda

* experimental long

* fixes

* car control notes and fixes for Bolt EUV

* might enable stop and go

* consistent name

* min enable speed seems to be around 5 kph

* camera acc can engage under 5 kph if stopped

* comment

* comment

* remove this for now

* only real brake

* comments

* update max brake

* bump

* clean up/fix

* same if

* simplify

* fix

* old comment

* no brake_pressed

* temporary fault fix

* tune longitudinal

* update docs

* bump panda

* GM camera ACC cars have no regen in ACC

* cleaner

* cleaner

* fix

* set max gas

* fixes

* fix LKAS unavailable warning from camera

* only camera

* bump panda

* bump panda

* bump panda

* bump panda

* clean up gmcan

* clean up CC

* flip

* rm

* rm comment

* clean up

* custom starting/stopping probably not needed

* Update selfdrive/car/gm/carcontroller.py

* fix crash

* long tuning

* we need long control state to resume

* CAMERA_ACC_CAR not needed

* no interp on accel

* tuning

* formatting

* formatting

* formatting

* formatting

* formatting

* no need to init ccp

* makes more sense now
old-commit-hash: 2fb7b4ffad
2022-11-02 02:46:29 -07:00
Shane Smiskol
1f144eeaa8 docs: expose available openpilot longitudinal control (#26312)
* openpilot -> openpilot available

* note for dsu cars

* common footnotes

* Revert "note for dsu cars" - another PR

This reverts commit 7f18742fdaaf5f86a1f1caa041b8b027d4b767cf.

* space

* better?

* Update selfdrive/car/docs_definitions.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* typo

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b76829c725
2022-11-01 15:55:21 -07:00
Adeeb Shihadeh
0a733af268 update car docs
old-commit-hash: 87e26b09c1
2022-10-25 15:57:29 -07:00
Jason Wen
c2141b7f48 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 92b458c709
2022-10-24 18:40:01 -07:00
HaraldSchafer
3ca9b7f02e Pipenv -> poetry (#24858)
* Try poetry

* Remove casadi for now

* Update docker

* Copy pipfiles

* add casadi back

* Too many slashes

* New poetry api

* Install system

* Try again

* No more pipenv

* new dependencies

* updates

* poetry 1.2.1, install dev dependencies

* keep install pipenv for xx for now?

* add pre-commit checks for poetry

* poetry lock is too slow

* update pip

* migrate to poetry groups

* update lockfile

* don't need to specify dev group unless it is made optional

* always install poetry

* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx

* use env for docs docker image

* alphabetical

* poetry 1.2.2

* add dev dependencies for typing

added in aacf6ae3

* remove constraint

* fix PIPENV_SYSTEM

* remove constraint

* don't need this here

* bump

* bump pipenv

adds support for installing local pyprojects (can add openpilot as dependency of xx)

* README improvements

* probably not necessary

* bump pip

* maybe not necessary?

* revert

* don't install openpilot itself into the virtual env

* remove PySide2 and shiboken2

reverts 3e41c775cbf670740ac648a8614d2d6b433312fe

* remove Pipenv, add xx dependencies, sync system python

* add pipenv as xx dep

* semver package constraints, use old lockfile versions

* fix casadi

* remove whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* disable poetry cache

* cleanup

* prefer config file

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a98d105cb9
2022-10-21 16:23:56 -07:00
Jason Wen
50b9a3be02 HKG: Car Port for Kia Sportage Hybrid 2023 (#26106)
* HKG: Car Port for Kia Sportage Hybrid 2023

* Add torque values

* Add test route

* Fix CARS.md

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1766cf9fc2
2022-10-19 14:31:02 -07:00
Shane Smiskol
31d274d7a4 GM camera ACC: show under enable speed alert (#26148)
* fix the fault more generically

* fix

* need this

* some clean up

* comment and use standstill

* comment

* add comment

* better fix

* rm

* better (for now)

* update docs
old-commit-hash: e46d162b1e
2022-10-19 01:28:46 -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: a02f42959c
2022-10-13 19:45:42 -07:00
Cameron Clough
74557258df update car compatibility docs
changes from 5adbbe9

old-commit-hash: 40dc05db6d
2022-10-13 10:40:53 -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: 7f3c070061
2022-10-12 22:28:07 -07:00
Cameron Clough
0f07fb6f2c docs: specify Lexus Safety System+ package for RX 2016 (#25974)
* docs: specify Lexus Safety System+ package for RX 2016

This package isn't standard on the 2016 MY.

https://cdn.dealereprocess.org/cdn/brochures/lexus/2016-rx350.pdf

* hybrid too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c8b7d297b6
2022-10-05 15:39:40 -07:00
Cameron Clough
c7b936584f docs: update Hyundai packages (#25851)
* LKAS is part of same package as SCC for Elantra 2017-2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2017-elantra.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-elantra.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-elantra.pdf

* LKAS is standard on all trims for Elantra 2021

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-elantra.pdf

* LKAS is part of same package as SCC on Genesis 2016

TODO: confirm 2015

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2016-genesis.pdf

* LKAS is part of same package as SCC for Ioniq Hybrid 2017-19

Same package 2017-18
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2017-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-ioniq.pdf
SEL and Limited on 2019
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* LFA is part of same trim as SCC on Ioniq Hybrid 2020-22

TODO: confirm for 2022

SEL and Limited includes both SCC and LFA
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-ioniq.pdf

* Remove Ioniq Hybrid 2020-21 until harnesses verified

All three model years were added in a single PR - need to lookup
routes and see if there are users with 2020-21 MY vehicles.
https://github.com/commaai/openpilot/pull/22610

* LKAS is on same trim as SCC for Ioniq Electric 2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* SCC and LKA are on all trims for Ioniq Electric 2020

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf

* LKA and SCC are on same trims for Ioniq Plug-in Hybrid 2019

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-ioniq.pdf

* SCC and LFA are on all trims for Ioniq Plug-in Hybrid 2020-21

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniq.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-ioniq.pdf

* LKAS is standard on Kona Electric 2018-21

SCC only on Ultimate trim, LKAS on all

(2018 UK only) https://www1.hyundai.news/fileadmin/uk/press-kits/20180828_kona_electric/Hyundai_Kona_Electric_-_Technical_data_and_specifications.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-kona.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-konaelectric.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2021-konaelectric.pdf

* LKAS is part of same package as SCC for Sonata 2018-19

Tech Package includes SCC and LKAS

https://cdn.dealereprocess.org/cdn/brochures/hyundai/2018-sonata.pdf
https://cdn.dealereprocess.org/cdn/brochures/hyundai/2019-sonata.pdf

* define LKAS package explicitly

* remove package where default

* LFA part of same trim as SCC for Seltos 2021

https://cdn.dealereprocess.org/cdn/brochures/kia/2021-seltos.pdf

* LKAS is on all trims with SCC for Sorento 2019

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-sorento.pdf

* LKAS is on all trims with SCC for Stinger 2018-20

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-stinger.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-stinger.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2020-stinger.pdf

* remove min steer speed definition from docs for Optima 2016

* LFA is included in same trim as SCC for Niro Hybrid 2022

https://cdn.dealereprocess.org/cdn/brochures/kia/2022-niro.pdf

* update docs

* remove Ioniq Hybrid 2020-21, add note

* update docs

* remove LKAS for Kona Hybrid 2020 and Niro Hybrid 2021, likely included in SCC trims

* update docs

* Revert "remove Ioniq Hybrid 2020-21, add note"

This reverts commit 62096a8db3fb21771a04e20714ecee906a5c0b34.

* Revert "Remove Ioniq Hybrid 2020-21 until harnesses verified"

This reverts commit ac773285f76a108c32d8692d12eef18cabcfd023.

* update docs
old-commit-hash: 9a2d8c420d
2022-09-22 18:38:42 -07:00
Shane Smiskol
ab37a6f9e3 Kia Optima: we support 2020, update packages
LDWS comes in the same trim/package as ASCC

old-commit-hash: 6561c0ca73
2022-09-19 22:05:02 -07:00
Cameron Clough
a16eff689a Kia: update required packages (#25824)
* Kia: LKAS is standard on Ceed 2019

https://www.downeys.co.uk/newmodels/Ceed_V3_24_09_2019.pdf

* Kia: delete Forte 2018

It doesn't appear that this vehicle has Adaptive/Smart Cruise Control in
any form, which was later added in 2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf

* Kia: LKAS is standard on Forte 2019+

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-forte.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2020-forte.pdf

* Kia: rename Niro Electric to EV

https://www.kia.com/us/en/niro

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: LKAS is standard on Niro PHEV 2018+

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf
https://cdn.dealereprocess.org/cdn/brochures/kia/2019-niro.pdf

* Kia: update required package on Optima 2017

The ACC package on the Optima 2017 is named "Advanced Smart Cruise
Control". It also doesn't have an LKAS package, only LDWS is available.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optima.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: LKAS is standard on Optima 2019

https://cdn.dealereprocess.org/cdn/brochures/kia/2019-optima.pdf

* Kia: revert package change to Seltos 2021

LKAS is NOT a standard package on the Seltos 2021

https://cdn.dealereprocess.org/cdn/brochures/kia/2021-seltos.pdf

* Kia: update required package on Sorento 2018

Similar to the Optima 2017, the ACC package on the Sorento 2018 is named
"Advanced Smart Cruise Control". It also doesn't have an LKAS package,
only LDWS.

SCC and LKAS were introduced in MY2019.

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-sorento.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: SCC is standard on Kia Niro PHEV 2018-19

https://cdn.dealereprocess.org/cdn/brochures/kia/2018-niro.pdf

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Kia: update required package on Optima Hybrid 2017

Similar to the Optima 2017, the ACC package on he Optima Hybrid 2017 is
named "Advanced Smart Cruise Control". It also doesn't have an LKAS
pacakge, only LDWS.

https://cdn.dealereprocess.org/cdn/brochures/kia/2017-optimahybrid.pdf

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 06fb52c146
2022-09-17 00:24:57 -07:00
Shane Smiskol
978c84e885 Car docs: more consistent package names (#25797)
* update docs

* Revert "update docs"

This reverts commit a5127198fe8e43ecadb0cbde432773f4da2e212a.

* spell it out

* update docs

* add (ACC) for consistency

* All VW
old-commit-hash: ce9c689bb4
2022-09-15 16:07:51 -07:00
Shane Smiskol
f8f22fabdf Car docs: CAN-FD cars do not yet have op long (#25707)
* CAN-FD cars do not yet have op long

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 973ea7440c
2022-09-08 11:41:29 -07:00
Adeeb Shihadeh
e4f9781c17 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
old-commit-hash: 655a64b603
2022-09-07 17:12:49 -07:00
Shane Smiskol
9ad69e384d Kia: update Forte supported package (#25652)
* Not standard

* https://cdn.dealereprocess.org/cdn/brochures/hyundai/2020-ioniqhybrid.pdf

* revert
old-commit-hash: 1d86c431ee
2022-09-02 17:02:54 -07:00
Shane Smiskol
846e366a55 GM: update minimum steer speed (#25618)
* EUV is 10 kph

* Update ref_commit

* temp

* Revert "temp"

This reverts commit 90ce28b06ba623e7bd1252798af3c285b465e0ec.
old-commit-hash: 3b602e2844
2022-09-02 13:41:58 -07:00
Jason Young
4765e9f6c0 VW MQB: Add FW for 2023 Volkswagen Atlas (#25648)
old-commit-hash: b805b13845
2022-09-02 12:57:09 -07:00
George Hotz
58f2a941da modeld: PC Thneed prereqs (#25615)
* pc thneed prereqs

* ugh, out of date

* that can stay private

* memcpy here is fine in SNPE variant

* release files

* thneed docs don't work anymore. they didn't look too useful

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b6e355a933
2022-08-30 17:57:14 -07:00
Shane Smiskol
1fcc31aac6 Car docs: add auto-resume column (#25572)
* Move auto resume in sng to car interface

* Update docs

* shorter name, star

* order

* resumes?

* add hidden detail sentence

* good to know this works, but revert

* VW auto resume

* bump cereal to master

* Update ref_commit

* match cereal

* try this

* ?

?

* like this
old-commit-hash: 452d5e42ec
2022-08-30 17:54:40 -07:00
Adeeb Shihadeh
5239f3252c update car candidate docs (#25536)
* update car candidate docs

* little more

* that's a nice wikipedia

* quotes
old-commit-hash: c8378b6ad5
2022-08-23 16:54:45 -07:00
Shane Smiskol
4f628954c7 GMC: Sierra 2020-21 support (#25523)
* Add Sierra

* actually this package works

* add to releases

* credit
old-commit-hash: 68ba8df693
2022-08-22 17:35:04 -07:00
Jason Wen
79dfc5293a Hyundai: Car Port for Tucson Hybrid 2022 (#25276)
* Hyundai: Car Port for Tucson Hybrid 2022

* Update RELEASES.md

* Init gear_msg at the top

* FW versions from script

* Button send attempt

* start with some cleanup

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* 8-bit counter

* Cleanup ish

* 8 bit counter

* Send at 20ms

* Disengage bits

* Revert bump submodules

* Allow tx on 0x1a0

* Fix byte counts

* Send LFA and HDA icons based on engageability

* Send cruise buttons only on HDA2 cars for now

* Add comments

* Add FLAG_HYUNDAI_CANFD_HDA2 flag

* Update interface.py

* Update carstate.py

* Update carstate.py

* Update carstate.py

* Bump submodules

* Bump panda

* Bump opendbc

* Allow tx with CRUISE_INACTIVE

* GEAR has 24 bytes only

* Generate car docs

* Fix CRUISE_INFO copy

* Remove unused class

* Add CAN-FD busses to unit test

* Bump opendbc

* Revert "Add CAN-FD busses to unit test"

This reverts commit 2f751640408a7f73a9100947cbd95ea13fbb8a48.

* Remove duplicate

* New tune based on data

* Panda safety cleanup

* Include bus 0 in rx checks

* Missed one

* bus 6 check

* Remove redundant check

* Add comments

* Bump opendbc

* Sync with DBC

* Hide LFA icon when disengaged

* Little endian

* fix comment

* more conditions in carcontroller

* update pedal signal

* update tuning

* cleanup carcontroller

* bump panda

* fix mismatch

* alt buttons

* little more cleanup

* update refs for EV6 new safety param

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bd5e28909f
2022-08-19 20:14:30 -07:00
Jason Shuler
a019d5ea40 GM: Chevy Silverado 2020-21 support (#25429)
* Silverado support

Co-authored-by: Jason Shuler <jshuler@gmail.com>

* Update docs

* Try 2 m/s/s

* Should be good torque values

* Add Silverado test route

* Add to releases

* Send counter

* can't send multiple or it faults

* Send at 33hz, no counter

* try 25hz, don't line up exactly with car's buttons

* never tried 10hz with same counter

* Update selfdrive/car/gm/gmcan.py

* Make same as pcmCruise branch

* update year and package (different packages needed per-trim)

* Update year in releases

* Revert to 21

* We can use this package name again

* wrong one!

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1e9fdff642
2022-08-19 16:58:06 -07:00
Shane Smiskol
e1a61dec0c GM Bolt EUV: update supported packages (#25496)
* Update values.py

* Update selfdrive/car/gm/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fb19e24d60
2022-08-19 15:48:46 -07:00
Shane Smiskol
2f2016fda6 Car docs: show more information about cars (#25415)
* back to actual information

* remove some star code

* round speeds

* Try out showing lateral acceleration

* remove that

* Fix speed units

* Add harness and try rounding to nearest half before scapping it

fix

^2

^2

* Add back steering torque star

* Fix static analysis

* auto-generate header

* fix static analysis. set to Harness.none by default

* rm
old-commit-hash: 747bcb013d
2022-08-18 15:12:18 -07:00
Adeeb Shihadeh
2865664679 Subaru: Legacy 2020-22 support (#25313)
* Subaru: Legacy 2020 support

* clean that up

* force for now

* update years

* test route
old-commit-hash: a21780dbea
2022-08-18 09:02:33 -07:00
Adeeb Shihadeh
f0422151b5 Toyota: remove Camry Hybrid footnote (#25457)
* Toyota: remove TSS2 camry footnote

* Apply suggestions from code review

* update docs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1388c80a8f
2022-08-16 18:41:45 -07:00
Shane Smiskol
dc4270ceee Car docs: fix required package for Bolt EUV 2022-23 (#25421)
* Need Adaptive Cruise Control

* no 2LT in configurator

* or redline
old-commit-hash: c2162420d2
2022-08-12 20:56:26 -07:00
Jason Young
ecc4e1c8f4 VW PQ: Cleanup and prep for upstream (#25351)
* VW MQB: Cleanup and abstractions

* regen CARS.md

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* regen CARS.md

* now that's a refactor of a different sort

* move shifter value init/storage

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3e3f960342
2022-08-12 19:43:36 -07:00
Jason Shuler
3072fb4aec GM: Bolt EUV 2022-23 port (#24875)
* Switch to ECMPRDNL2 for GM gear

* Removing manumatic gear #

* values.py almost complete

* Silverado and Bolt EUV val and CP

* GM controller updated

* Cam hrns supp done (in theory)

* cleanup for new cars

* Remove extra constant

* WS, etc cleanup

* removing the unused

* Fix kpBP typo

* Updated docs

* Skip's PIF tune

* Dropped LKA CAN error patch

* Add silverado sigmoid ff

* CAN Err & LKA latch patch

* Remove EPS fault fix (another PR)

* Remove Silverado (another PR)

* clean up some common params

* Remove Escalade FP

Remove Escalade FP

* comment

* Premier is just a trim

Premier is just a trim

Premier is just a trim

* no footnote: new Bolt is like most other cars, older GM were outliers not at the camera

* clean up

clean up

* bump panda

* bump panda

* bump panda

* bump panda

* bump panda

* remove comments

* try spamming buttons on bus 2

* bump panda

* bumping opendbc w btn rc

* not needed for this port

This reverts commit 6af1f0ba799e075f877d7acc8ca0f117d97da361.

* add button safety

* Send next rc when spamming btns

* forward other signals in message

* missing DriveModeButton

* fill cruiseState.speed

* see if resume works without counter

* try the whole message

* send immediately and at 10Hz

* no resume, back to just button signal

* even holding random buttons it cancels

* Use torque controller with base tune

* stock long GM don't auto-resume yet

* Testing GM zero min steer speed

* Revert latcontrol

* revert opendbc

* latActive is basically lkas_enabled

* Update Bolt torque params

* comment

* clean up

* Add to releases

* Add test route

* Don't specify segment

* bump panda

* bump panda

* no harness for Bolt just yet

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* We support all and 2023

* move safetyParam up to first cam check

* Bump panda and update docs

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4ffe9e68db
2022-08-12 16:10:34 -07:00
Shane Smiskol
634b328d7f Car docs: update RX supported model years (#25419)
Update RX supported model years
old-commit-hash: e4340e0260
2022-08-12 12:31:55 -07:00
Jason Wen
6001970be1 Hyundai: Car Port for Ioniq 5 (HDA2) 2022 (#25308)
* Hyundai: Car Port for Ioniq 5 2022

* Add FW versions

* HDA2 and modified harness for now

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Attempt to block LFA

* BYTE7 blocks LFA

* Merge and bump opendbc, panda

* Update docs per request

* HDA2 -> Highway Driving Assist II

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update RELEASES

* remove that

* generate docs

* ev6 matches

* fix panda bus

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6e2584ef4b
2022-08-12 11:50:52 -07:00