Commit Graph

360 Commits

Author SHA1 Message Date
Jason Wen
3c3f0da05a HKG: Car Port for Kia Niro Hybrid 2023 (HDA1) (#26827)
* HKG: Car Port for Kia Niro Hybrid 2023 (HDA1)

* bump opendbc

* bump

* Found gear signal

* Only set one flag

* bump opendbc

* Update CARS.md

* Update routes.py

* bump opendbc

* Update CARS.md

* some values cleanup

* new route with rlogs

* set from data

* merge

(3854+3391+3227+3336)/4

* fine move back down here for now

fine move back down here for now

* Update selfdrive/car/hyundai/interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: dae1331817
2023-02-08 19:21:50 -08:00
Adeeb Shihadeh
309084608d add dmoji to release notes
old-commit-hash: a522dce017
2023-02-08 19:14:24 -08:00
Jason Wen
061c6ca091 HKG: Car Port for Kia K5 Hybrid 2020 (#26947)
* HKG: Car Port for Kia K5 Hybrid 2020

* Add test route (Experimental Mode)

* No abs

* remove extra trans

* move up

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1816b499c4
2023-02-02 22:58:29 -08:00
Jason Young
96c273b7a9 VW MNB: Volkswagen Crafter Mk2 (#26006)
* VW MNB: Volkswagen Crafter Mk2

* Crafter has a min steer speed :(

* add to non_tested_cars for now

* autogratitude

* Revert "autogratitude"

This reverts commit 8f19085bfa3424a8a75d7c95f32be8ecb010f8f4.

* autogratitude

* regen docs
old-commit-hash: 5ce7572b46
2023-01-31 11:00:10 -08:00
Jason Wen
fe85cb28dd HKG: Car Port for Kia Sorento 2022 (#26874)
* HKG: Car Port for Kia Sorento 2022

* Harness K

* SCC is on bus 4

* Add test route

* seems reasonable

* more interesting segment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 69f8ac0b65
2023-01-11 21:17:58 -08:00
Jason Young
7fc0e65ca4 add German translation to release notes (#26806)
old-commit-hash: 2ac87a0a45
2022-12-14 22:14:28 -08:00
Jason Wen
eaecbb8995 HKG: Car Port for Genesis GV60 2022 (#26777)
* HKG: Car Port for Genesis GV60 2022

* Ugh, keeps forgetting torque params

* Update docs

* Test route

* more interesting segment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1f774e4ec3
2022-12-13 00:21:58 -08:00
Adeeb Shihadeh
f289bcb006 releases: fix car port sorting
old-commit-hash: a311d936d0
2022-12-05 15:27:35 -08:00
Shane Smiskol
740670be1c Hyundai: Tucson 2023 support (#26427)
* Hardcode fingerprint

* no skipping

* rev

* the SE does not have SCC https://cdn.dealereprocess.org/cdn/brochures/hyundai/2022-tucson.pdf

* revert

* adjust weight

* add versions for 2023

* update docs

* fingerprint properly

* add package for 2022 but comment out

* updatedocs

* update route

* bump

* bump!

* 2022

* Update selfdrive/car/tests/routes.py
old-commit-hash: 973ecdc0c9
2022-12-05 15:24:54 -08:00
Shane Smiskol
203ade9602 GM: add Bolt EV test route (#26681)
* bolt ev!

* releases

* it's a trim
old-commit-hash: 3e2a49c6e5
2022-12-02 22:09:42 -08:00
Jason Wen
558a48af28 HKG: Car Port for Kia Sorento Plug-in Hybrid 2022 (#26635)
* HKG: Car Port for Kia Sorento Plug-in Hybrid 2022

* Add torque params

* Typo

* This car has SCC on bus 4, needs radar disable to use openpilot longitudinal :/

* Need to check on bus 4 as well

* Different unit signal

* Unit signal cleanup

* Add test route

* Regenerate car docs

* Different logic

* 2023 should be the same

* Fix 0x1a0 check race condition

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1adf106da6
2022-12-01 14:11:12 -08:00
Adeeb Shihadeh
d7d75811b5 Update RELEASES.md
old-commit-hash: 50f4328b90
2022-11-30 23:16:48 -08:00
ZwX1616
1454368a1a Update RELEASES.md
old-commit-hash: cb4fef580c
2022-11-30 13:11:50 -08:00
Adeeb Shihadeh
117c99886d bump to 0.9.1
old-commit-hash: c3822bddda
2022-11-19 14:43:20 -08:00
Adeeb Shihadeh
15b07085ff taco time
old-commit-hash: f3efc8998c
2022-11-15 18:49:52 -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
ZwX1616
d0fd3cc9a0 Update RELEASES.md
old-commit-hash: 4ab1330089
2022-11-11 12:48:41 -08:00
Adeeb Shihadeh
afcf6f2e3e Update RELEASES.md
old-commit-hash: c4f9f2d206
2022-11-11 11:05:47 -08:00
Harald Schäfer
c09f5f8274 Update RELEASES.md
old-commit-hash: 9f1fe1193c
2022-11-08 21:57:01 -08:00
Adeeb Shihadeh
74979a7c76 experimental mode (#26416)
* experimental mode

* rename param

* red lights
old-commit-hash: 9a3f468051
2022-11-08 14:45:01 -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
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
Vivek Aithal
bfddb98683 [torqued] Extend to all Toyota and Hyundai cars (#26238)
* extend to toyota and hyundai

* remove all pid control in hyundai

* remove indi tunes

* remove toyota lat tunes

* release notes

* rm tunes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f6bab0cd67
2022-10-25 16:09:36 -07:00
Adeeb Shihadeh
23b1687e97 Update RELEASES.md
old-commit-hash: 93e972e6f9
2022-10-19 16:55:14 -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
Adeeb Shihadeh
ae70dd5746 update release notes
old-commit-hash: 47de20ffb5
2022-09-28 18:56:23 -07:00
Adeeb Shihadeh
a8a9f16845 agnos 6 (#25864)
* agnos 6

* new agnos

* no casync for now
old-commit-hash: dc65f8a60a
2022-09-22 15:56:17 -07:00
Adeeb Shihadeh
e556eafc08 Update RELEASES.md
old-commit-hash: fc29147d02
2022-09-19 21:21:56 -07:00
Adeeb Shihadeh
c437f51224 add event flagging too
old-commit-hash: d1c95fb0d4
2022-09-19 20:43:12 -07:00
Adeeb Shihadeh
0e650865ec update release notes
old-commit-hash: de1882429a
2022-09-19 20:40:03 -07:00
Vivek Aithal
51d25b2011 Live torque (#25456)
* wip torqued

* add basic logic

* setup in manager

* check sanity and publish msg

* add first order filter to outputs

* wire up controlsd, and update gains

* rename intercept to offset

* add cloudlog, live values are not updated

* fix bugs, do not reset points for now

* fix crashes

* rename to main

* fix bugs, works offline

* fix float in cereal bug

* add latacc filter

* randomly choose points, approx for iid

* add variable decay

* local param to capnp instead of dict

* verify works in replay

* use torqued output in controlsd

* use in controlsd; use points from past routes

* controlsd bugfix

* filter before updating gains, needs to be replaced

* save all points to ensure smooth transition across routes, revert friction factor to 1.5

* add filters to prevent noisy low-speed data points; improve fit sanity

* add engaged buffer

* revert lat_acc thresh

* use paramsd realtime process config

* make latacc-to-torque generic, and overrideable

* move freq to 4Hz, avoid storing in np.array, don't publish points in the message

* float instead of np

* remove constant while storing pts

* rename slope, offset to lat_accet_factor, offset

* resolve issues

* use camelcase in all capnp params

* use camelcase everywhere

* reduce latacc threshold or sanity, add car_sane todo, save points properly

* add and check tag

* write param to disk at end of route

* remove args

* rebase op, cereal

* save on exit

* restore default handler

* cpu usage check

* add to process replay

* handle reset better, reduce unnecessary computation

* always publish raw values - useful for debug

* regen routes

* update refs

* checks on cache restore

* check tuning vals too

* clean that up

* reduce cpu usage

* reduce cpu usage by 75%

* cleanup

* optimize further

* handle reset condition better, don't put points in init, use only in corolla

* bump cereal after rebasing

* update refs

* Update common/params.cc

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

* remove unnecessary checks

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4fa62f1464
2022-09-19 15:19:26 -07:00
Adeeb Shihadeh
35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93
2022-08-30 11:20:55 -07:00
HaraldSchafer
797b3a46f1 Update RELEASES.md
old-commit-hash: dfad3d22dc
2022-08-25 10:24:05 -07:00
HaraldSchafer
5d03d4eaa4 Update RELEASES.md
old-commit-hash: ce14deb83f
2022-08-25 10:16:11 -07:00
HaraldSchafer
4e35e7a6f0 Update RELEASES.md
old-commit-hash: 6e46587cc6
2022-08-25 10:15:50 -07:00
Adeeb Shihadeh
6ca02ab549 bump version to 0.8.17
old-commit-hash: 2f604d2f1a
2022-08-23 17:29:03 -07:00
Shane Smiskol
f3b145f5c0 Update Silverado release note (#25526)
old-commit-hash: e84f397a72
2022-08-22 19:15:32 -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
Adeeb Shihadeh
76184bb662 0.8.16 release notes
old-commit-hash: 992ee329e9
2022-08-19 23:41:47 -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
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
bc83cea2d5 Update RELEASES.md
old-commit-hash: f35468e88c
2022-08-16 14:48:26 -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
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
Jason Wen
bf97b74636 Hyundai: support Kona Electric 2022 (camera SCC) (#23517)
* Rebase and merge upstream

* Bump panda

* bump panda

* todo comments, minor clean up

* Add test route

* send CLU11 on bus 2

* Update docs

* Use Chrysler cp ternary naming convention

* Add FW version

* Update with latest test route

* Use segment with engaging/disengaging and moving

* sort FW

* push ci route

* add comment

* bump panda

* bump panda

* clean up

* Limit torque

* bump panda

* bump panda

* bump panda

* Add missing FW

* Add CAN fingerprint (need to fix spotty queries)

* missing fingerprints

* bump panda

* use O

* It's 2022, how is SCC still not standard!

* space

* bump panda to master

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1ab63cc8d8
2022-08-03 00:59:03 -07:00
Adeeb Shihadeh
b34f0129e2 Subaru: 2020 Outback support (#25248)
* Subaru: 2020 Outback support

* bump panda

* bump panda

* update refs

* update refs
old-commit-hash: efa326e208
2022-07-31 12:43:27 -07:00
Adeeb Shihadeh
44881913f6 bump version to 0.8.16
old-commit-hash: 3160f86aa0
2022-07-14 10:18:16 -07:00
Adeeb Shihadeh
2f7b2ce4d0 Ship EV6 (#25095)
* Ship EV6

* bump opendbc
old-commit-hash: d08a231774
2022-07-08 22:46:20 -07:00
ZwX1616
7e62b7d76a Update RELEASES.md
old-commit-hash: 76dde00795
2022-07-08 16:57:50 -07:00