* 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
* Add car port: Kia Niro Plug-In Hybrid 2018
* Add additional FW version
* Low speed lockout 32 MPH
* Add test route
* min_steer_speed in CarInfo
* Remove min_steer_speed from CarInfo
* Add to CARS.md
* run generator
* update min enable speed and regen
* update ci routes
* these are the same car
* i think we only add a note if it's a new platform
* fix HEV -> PHEV
* Add test route
* dup fw
* haha we already support this car in #25187
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 03b074426a
* 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
* json
* better naem
* Read from table
* formatting and default to nan
* Generate docs
* Read from table
* this should be the same
* Prius v is full
* test we always set the tunes correctly
add to release files
* Set for all cars
Set for all cars
* Revert tuning changes
Revert tuning changes
* remove that
* fixes
* update ref commit for new maxLateralAccels
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3066ad81a8
* add support for 2021 Hyundai Tucson
base configuration and fingerprints
* fix fcw again and don't use mando radar for tucson
* last fixes for working tucson
* Apply suggestions from code review
* add to cars
* increase steerRatio
* missing car info
* one platform
* rename
* add min enable speed
* update releases
Co-authored-by: bluesforte <harry3b9@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 47f80e7add
* Set good torque using torque controller tuning
* should be equal to
* save lateral accel to car params
* use maxLateralAccel
* always
* same convention
* nan will always evaluate to false
* The great good torque purge
* adjust default friction
* Add data for more cars
* adjust name
* Welcome back, guys. Only adjust good torque if maxLatAccel is set
* Update refs (1.7 is 1.7000001...)
old-commit-hash: c6bc03311c
* function for creating button events
* fix
* one line
* alphabetical
alphabetical
* only needed once
* common function for enable events
* add to list
* extend
* fixes
* add type hints
* flip around
old-commit-hash: eed6803ccc
* Revert "Revert torque control (#24565)"
This reverts commit 93f434d047a92366c4ccefeece86fe101ed98d02.
* Move tune out of car specific stuff
* Update ref commit
old-commit-hash: d928972150
* 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
* proof of concept
* actuators packet describes which actuators are active
* bump cereal
* fixes
* not needed for this PR
* Do Toyota
* add back controlsState.active
* bump cereal
* rest of cars
* in actuators
* add active back
* which
* use controlsState.active for now
* will make an issue
* Update selfdrive/controls/controlsd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* move local lat_active checks into CC.latActive
* remove redundant checks
* move comment
move comment
* fix joystick mode
* get enabled from carcontrol
* do standstill check in controlsd
* make sure we consider the gas press case for GM
* use CC.actuators
* fix
* capitalization
* Bump cereal
Bump cereal
* make intermediate actuators
* similar convention to before
* clean that up
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 629399a449
* Move OptimaH to dashcamOnly
* Elantra GT also has no users for a year
* Update selfdrive/car/hyundai/interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7176f5c401
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
* remove starting state
* new ref
* ready for merge
* try this
* cereal now on master
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: cf9792dc53
* disallow engagement if brake hold active
* we can check once
* move to common events
revert
* fix
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0e5eccb70