* 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: fafca0e44d52e91b5fc30972390d57f340bafaaa
* 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 c2b794f964b3df09a5ae9f35a3853e6cec69f93a.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5aed2e01e80b067c859d7655812065f0a4271ed9
* fix spacing
* more spacing
* better names and comments
* this default doesn't make sense
* or this
* explicitly boolean since latActive is
old-commit-hash: dba4492aa0b7b773f50816c5992fbe6e272d832f
* 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: a19f8dce92bfe7242e64160cb86364d728b01d97
* 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 f5f3aaed7e2fa1cdf35c3608b259fab11164644e.
* 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: f494abf0d2db769a0a55ac29a3914962c3db902b
* 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: 581fd62d2642629b23ac111112245a963202143f
* 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: 90ce7605c159133eaad5ffe6259da513db28e8ff
* 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: 8f5057ff2dbea4ebc85bc8f55bc7a37e4d5969b6
* 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: 1816b499c4c55461797d41b8418faeb58d5f7292
* 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 f2137c221145cca723fe6ee3378ba947b7061965.
* 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: aab33b1c5f56eb7ef66f1128c98d45d5340ebc60
* 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
* some matching and jerk limit
* update that
* one jerk limit
* little more
* more jerk
* bump opendbc
* update refs
old-commit-hash: b727f6cff4968a53dd489e9825b785d97eda66ef
* 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: 60fc7274eb631559f772ea0969e0ec28026e1426
* 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: f74fefaffad87471ba1d7fa351d7fd37b9505d4a
* 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: 741867813285672a723b8fc53ead65a5cbe5c6dd
* are we sure?
* add params
* should work
should work
* fix
* fix
* clean up
* comment
* comment
* Update selfdrive/car/hyundai/hyundaican.py
old-commit-hash: 6e062ea5d269cc844e01667b0e11d4ac16ddabeb
* 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: bd5e28909f4576699717f8a2f6751f0d9fdfecc0
* Hyundai: rename HDA2 platform to CANFD
* bump panda
* bump panda
* cleanup panda safety config
old-commit-hash: 5f35c669a686f12f5079abc6d69b17fe2e65de94
* 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: 1ab63cc8d812697aa1ffeec15f8adb4660512165
* let can packer handle counter
* diff is expected
* update refs
* clean that up
* bump opendbc
* fix sim
old-commit-hash: 0ca62bf7df0fe81829c744fd8689c9b97cb6a36b
* 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: fd2de54172b4a76f2ab8ac5d8f8eca5c41739351
* do VW
* Do the rest
* unused
* ford cc formatting
* final clean ups
* also just return update output
old-commit-hash: d2c2154a32db0876036f4f6b61b912de0c90fc5a
* 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: c8f5b217443036333bc18c29085a1c8ae8bd39f3
* 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: 6c7d178d96327b2f2cf8571ab877071af6fcc9d8