* 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
* Hyundai: refactor button messages creation and consolidation
* one bool should be enough
* Use CLU11|0x4F1 to determine
* grammar pls
* action
* fix duplication
* move to bottom
* one area
* type
* Revert "one area"
This reverts commit c2b794f964.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5aed2e01e8
* fix spacing
* more spacing
* better names and comments
* this default doesn't make sense
* or this
* explicitly boolean since latActive is
old-commit-hash: dba4492aa0
* fix subaru fault
* try this!
* wip
* try this
* this more or less worked
* this is all under gen2
* that needs to be up there
* comment
* steer_angle
* test
* wip
* wip
* sync
* wip
* cleanup
* remove print
* use sets and fix unittests
* common fault avoidance
* common fault avoidance
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* revert subaru to get this part merged
* revert name change
* revert name change
* revert name change
* same as before
* add test case
* also verify zero tolerance
* keep the current behavior
* split into multiple tests for easier debugging
* added comments and remove tests
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a19f8dce92
* define signals in brandcan.py
* seems so
* fix and reorder
* lkas11 for hyundai
* clu11
* honda: we only use this one signal for BRAKE_COMMAND
* Revert "honda: we only use this one signal for BRAKE_COMMAND"
This reverts commit f5f3aaed7e.
* do cam and cruise info
* add todo
* do nissan
* s for signal
* do nissan
* mazda
* toyota
* gm
* ford
* ES_DISTANCE_SIGNALS is used twice
* for s
* volks
* tesla
* no copy
* oh there's mqbcan
* same with mqb lka message
* all s's
* these actually are different (pre vs. global)
* this is not in the DBC...
* fix
* check len
* rm import
* need to copy counter!
* fix other proc replay diff (TODO: the rest)
* missing cs/cnt
old-commit-hash: f494abf0d2
* rename function
* make a wrapper function (ford uses dynamic up/down limits
* make two functions consistent
* make torque function convert to int
old-commit-hash: 581fd62d26
* Hyundai: 2015-16 Genesis resume from standstill fix
* Add comment
* Fix typo
* Merge both methods
* Add back the comment
* 20Hz not needed according to tester
* no new global state variable
* PCM's perspective: random counter -> random counter
* only send 5
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 90ce7605c1
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2d
* 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
* stash
* more test
* less test
* clean test
* no angle
* add tolerance
* fix gm
fix gm
* test both
* lower some rates on hkg
* stash
* simpler
* bump panda
* Revert "bump panda"
This reverts commit f2137c2211.
* only torque
* make kona pass
* duplicate __init__
* move
* half clean up
* half clean up
* more clean up
* more clean up
* fix static analysis
* calculate over 0.5 seconds
* limit to max steer
* type annotation
* calc once
old-commit-hash: aab33b1c5f
* 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
* bump panda
* bump panda
* for CAN-FD too
* clean up
* bump
* adjust safety
* fix lat active
* bump panda to master
* same limits
* rm line
* bump panda to master
old-commit-hash: 60fc7274eb
* 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: f74fefaffa
* 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: 7418678132
* are we sure?
* add params
* should work
should work
* fix
* fix
* clean up
* comment
* comment
* Update selfdrive/car/hyundai/hyundaican.py
old-commit-hash: 6e062ea5d2
* 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
* always log leads, we hide them in ui
* only spam resume when future is > vEgoStarting
* do rest but vw
* vw
* remove comments
* rename to resume
* maintain original button msg rate
* mazda: ensure no resume if cancelling
* same for non-HDA2
* Always run planner if not opLong
* try 0.2
* 0.1 should be pretty safe
* add test for resuming
* fix test
* stricter test, speeds[-1] is 0.14 when starting here
* no walrus
* fixup mazda cc
* remove extra import
old-commit-hash: fd2de54172
* do tesla
* parentheses
* Do Chrysler
* Make sure Hyundai long never actuates when long inactive
.
* clean up Hyundai
* more clear
* formatting
* Stock sets these to zero
* fix params
* move jerk logic into CC
clean up
old-commit-hash: c8f5b21744
* send pre-enable state when gas is pressed
formatting and it's out
forgot one
allow gas press
show toggle
revert changes
revert changes
* revert change
old-commit-hash: 6c7d178d96