* Hyundai: Car Port for Kona EV 2nd Generation (2023 Korean Ver.)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* gate with flag
* new blinker signals for 2nd Gen Kona
* add test route
* Update CARS.md
* bump opendbc
* match opendbc definition
* Attempt to block laneline information to suppress LFA
* Try 0x364
* Block 0x364|BYTE7
* Block all bus 2/6 messages
* Lowercase to match DBC
* Aight
* we don't use this
* Final test to block LFA
* No byte 7
* Fix
* Fix tx
* cleanup
* HDA2 support
* Update RELEASES.md
* bump opendbc
* from `liveTorqueParameters`
* add test route
* bump panda
* official spec
* Check for new LKAS addr instead
* Update comment
* sync with dbc
* Combine LFA suppress can sends
* bump opendbc
* Add new tx to unit test
* linter
* Consolidate
* rename and update torque params
* add note for blinker weirdness
* bump
* bump
* clean up block msg
* it uses LFA if long
* not used in multiple places
* bump panda
* correct name
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fafca0e44d
* assert no duplicate checks
* bump
* remove duplicates
* are both messages present?
* guess we need this extra check
* this makes it more clear
* bump opendbc
* fix preglobal
old-commit-hash: 5f0729791a
* What if: no signals! 🙅🤌🎆
* do hyundai
* honda!
* do gm
* and vw! (sorry comments)
* do those
* -500
* little more
* fix subie
* change back
* bumpopendbc
* oof lol
* messages
* some clean up
* here too
* clean up honda radar_interface.py
fix
rm
* bump opendbc to master
* add todo
* rename checks in tesla/radar_interface
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbfcc40571
* Hyundai CAN-FD: PT bus detection cleanup
* Do this when ICE CAN-FD is supported!
* Only needs to be checked for non-HDA2, HDA2 uses 0x1cf
* Unused
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Keep it the same for now
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 542345a7c2
* 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
* HKG CAN-FD: set cruise state available with car signal
* Whoops
* Check this signal
* No should be in SCC_CONTROL
* use TCS
* add back
* match CAN
* think these are missing
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ccb4327197
* 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
* 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
* 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 141bbf7979.
* 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
* 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 141bbf7979.
* 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
* revert car stuff
* revert panda
* revvy
* revvy
* it's all ice
* revert
* revert
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
old-commit-hash: b22fc70f52
* Hyundai: common CAN-FD brake pressed signal
* new name
* bump panda
* bump opendbc to master
* bump opendbc
* bump panda
* bump panda
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c35e2b8e30
* hyundai: match speed on dash
* still needs conversion to m/s
* always use CF_Clu_VehicleSpeed2
* clean up, like honda
* experiment
* to the source
* works pretty well on optima (matches exactly on Sonata)
* could be 0.5
* clean up test
* revert test_moedls
revert test_moedls
* woops
* woops.
* .
* fix hyst
* only CF_Clu_VehicleSpeed
* omgomgomg
* add all this mess because it always takes a while
* set vEgoCluster
* fix all rounding errors
* stash
* clean up
* clean up
* fix metric conversion
* only calculate when updated
* try to filter (didn't look great from plots)
* Revert "try to filter (didn't look great from plots)"
This reverts commit 7e9876c237.
* clean up
* update refs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f73b041d43
* 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
* 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
* EV6: adjust steering thresholds
* Is there any friction
* bump panda
* no friction
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 221086857a
* use deque for prev_cruise_buttons
* stash
* disallow engagement if resume or decel isn't pressed
* fix buttons
* reduce chances of causing 30-frame fault
Fix clu11
drive down cancel times
* Revert "reduce chances of causing 30-frame fault"
This reverts commit 0f54c051bf5a22b1f584718ec46e78bc3a82a0dd.
* consider pause/resume button
* stash
* Revert "stash"
This reverts commit 551ca7be6c45729f0747abc81cd81894cd621c32.
* sadly some cars need 8 op frames (identical to 4 updates from CLU11)
* add main button
* 6 should be safe
* use max
* clean up
* change to 4 samples and process all messages received, like panda
* bump panda
* test: replay segments with known re-engagements on-device
* Revert "test: replay segments with known re-engagements on-device"
This reverts commit 9730c3c14f942b82b6ed5ef2e81b8ae0126f3006.
* need prev_cruise_buttons as we don't run every CAN message through carstate
* more generic
* extend
* Update selfdrive/car/interfaces.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 3% faster at 1000000 loops
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: efa98d2a06