* 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: 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
* 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
* 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 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
* 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
* 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
* 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
* 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
* 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
* 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 6af1f0ba79.
* 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