* 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
* panda/SConscript
* think this is right?
* bump panda
* fix test_models
* use a filter
* bump panda to mater
* more aesthetic ordering
* alphabetical :(
* alphabetical :(
old-commit-hash: 01dac5d06b
* 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
* add regen braking field that's just used to add a pedalPressed
* bump
* bump
* Update ref_commit
* we want the standstill check
we want the standstill check
* see what diff is now
* Update ref_commit
old-commit-hash: 74b6e22a7d
* 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
* can I kick it?
* bumpity bump bump
* bump panda
* everybody's gotta be special
* attempt at improving stopping/starting
* reduce lateral feedforward
* tweak gradient and comfort bands
* oops
* accel from the dept of redundancy dept
* bump opendbc
* jerk limiter not needed and causing problems
* don't leave stop/start flags hung when not enabled
* reduce comfort band with lead car
* borrow decel comp from HKG
* align stopping state thresholds
* (re)try letting PI clean up some of this
* bump panda
* tweaks and comments
* elide superfluous import
* VW MQB: Longitudinal prereqs
* gate this too
* bump CI
* cleanup
* more cleanup; require gateway integration
* don't run long state/actuators unless sending message
* setpoint visibility in instrument cluster
* show fixed lead car if lead visible
* hold my beer?
* tuning
* the code is darkest before the refactor
* a little more
* set freewheel and stop distance correctly
* rounding issue maybe?
* ACC_04 Charisma profiles and HUD alerts
* fix ACC_04 counter, fix gradient and accel bugs
* revert tuning change in upstream focused branch
* need 0.5m/s to leave
* reduced braking when not absolutely needed
* oops
* bump panda
* match opendbc to master
* filter ACC_13, disable secondary accel
* bump panda
* bump panda
* bump opendbc and panda
* startAccel is deprecated
* testing manual trans min engage speeds
* pass stock ACC type to TSK
* bump panda
* bump opendbc
* bump opendbc
* test hax for Brake alert
* remove ACC_13 with matching panda bump
* fix submodule refs
* update long control safety param name
* bump panda
* actuator delay corrected by Mk1 eyeball
* a little more
* tweak stop/start thresholds
* Revert "tweak stop/start thresholds"
This reverts commit 60abd57d20.
* more lag reduction
* bump opendbc
* support both analog and digital clusters
* tuning adjustments
* bump opendbc and panda
* accept two button types for resume
* support separate set and resume
* bump panda
* #24706
* partial revert 6b93ac27
* fixes
* one more
* refactor all the things
* follow experimental long refactor
* fill in ACC hud status
* temp force E2E availability
* start cleaning up
* comment touchup
* gimme some comfort baby
* experiment
* SnG me maybe?
* a little more rollout
* is this why I'm not leaving?
* turns out you need startAccel to leave
* try without ACC_04
* cleanup unused variables
* temp hack to standstill handling
* temp hack to button handling
* trim rollout distance with slower vEgoStopping
* ultra fat comfort band due to noisy E2E actuator
* I like big changes and I cannot lie
* remove lead car display for now
* cleanup, drives somewhat better
* partial FtS/basic support
* diff reduction
* not needed
* more cleanup
* oops
* more cleanup
* restore lead car visible for PQ
* bump panda
* better enable button solution
* redundant
* OP long on *all* the things
* OP long on all the things *sometimes*
* docs generator a little TOO clever
* solve starting-state a different way
* try that again
* bump panda
* oops
* follow DBC refactor
* retry CI
* signal name changed
* sync with custom enable button branch
* oops
* more follow refactor
* bump panda
* sync opendbc to master
* bump panda
* updated comments
* light P, no I
* bump panda
* bump panda again
* add openpilot long test_models route
* bump panda with replay route
* temporarily disable experimental long for merge
* bump panda to master
* resolve conflict?
* now can we go to head?
* explicit length check
* update refs
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b31b031044
* Update values.py
add a carFW of odyssey_chn
* move after odyssey
* common carparams
* just ignore
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 131263a75b
* HKG: Add FW for 2019 Elantra GT i30
* Add test route
* remove can fp
* revert that
* actually shares the same platform with the ceed
* marketed as Elantra i30
* stash
* Revert "stash"
This reverts commit 03b164c9db.
* add car infos
* gen docs
* combine with elantra
* legacy again
* update docs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 92b458c709
* gm: match panda standstill check
* fix
* needs to be <= 10 to avoid a fault, fix for safety tests
* fix
* fix
* bump panda to master
old-commit-hash: 826d8a8ae3
* Add VMCU address for EV6
* Rename vmcu
* add to tests
add to tests
* rename to more generic name
* more explicit
* remove print
* Like this much better, removes subtle fingerprinting problems
* clean up
* add test and clean up
* remove hyundai stuffs
* global
* Fpv2Config class
* fix missing fw versions from import order
* unused
* revert for now
* test for fpv2 configs with subtests
* subtests don't work that way
* remove this
* .
* intersection
* print ecus
* shorter
* fix typing
* use config
old-commit-hash: 7e9961b9ac
* Add missing fw versions for 2019 Optima
* move versions to new platform
* add temp fw version notes
temp notes
* clean up
* Update docs
* add fw versions from the last 180 days
* add tests
* fix
* remove FPv1 for Optima
* seems like the 2016 is the same
* revert
* add versions from our 2019 Optima
* label/move some versions
* add some versions from a 2020! (3d96bd05b5513638)
* this is from the same 2017 as earlier
(4f930156368f7830)
* vin lookup isn't perfect
* Revert "vin lookup isn't perfect"
This reverts commit 62c563bc45.
* a 2020 (df71aec6e636d7e4)
* cleanup, this transmission is also a 2020 version
df71aec6e636d7e4|2021-10-07--17-59-28
* this comes with scc
* one line
* revert
* bump panda
* add our transmission FW
* Add test route
old-commit-hash: 2c9f751616
* Chevy Bolt EV w ACC Port
* dashcam
* The website allows you to select the package without ACC
* fix Bolt E(U)V centerToFront
* Update selfdrive/car/gm/values.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cfaa1b7d3e
* Chevy Equinox Port
* LKAS is not standard on 2019, but it's the same package as ACC. (LKAS standard 2020+)
* 2019 here too
* clean up
* add to untested
* not in docs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 1aa8c0525e
* Add VMCU address for EV6
* Rename vmcu
* add to tests
add to tests
* rename to more generic name
* more explicit
* remove print
* Like this much better, removes subtle fingerprinting problems
* clean up
* add test and clean up
* remove hyundai stuffs
* global
* Fpv2Config class
* fix missing fw versions from import order
* unused
* revert for now
* test for fpv2 configs with subtests
* subtests don't work that way
* do toyota as an example
* revert
revert
* do chrysler
* do rest
* stash
* much smaller of a diff than the alternative
* remove unused test
* fix tests
* remove brand from Request
* Make StandardQueries class
* add missing_ecus
clean up
* rename file
* unused
* test implemented
* add comment and rename
add comment and rename
add comment and rename
* should be impossible now
* this is a fixme
* rename to fw_query
* rename this too
* and this
* move vin queries to class
* order
* can use p16!
* formatting
* whoops, this wasn't gated on not len(found_versions)
* make this clear
* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df
* add model years
* update Focus steer ratio
* Ford: add EU label to Focus Mk4
* add packages
* add Ford Explorer 2020
Package: Co-Pilot 360 Assist+
Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum
https://cdn.dealereprocess.org/cdn/brochures/ford/2020-explorer.pdf
* Ford: steering control with path angle
* Ford: add TJA toggle to buttons
* add Ford Explorer 2021
`62241b0c7fea4589|2022-08-30--11-58-24--0`
Package: Co-Pilot 360 Assist+
Optional on XLT
Standard on Limited, Limited Hybrid, ST and Platinum (same as 2020)
https://cdn.dealereprocess.org/cdn/brochures/ford/2021-explorer.pdf
* Ford: add shiftByWire ECU fw
* angle/steer refactor
* try always stop and go for US models
* no dashcam
* car info
* send resume button
* skip explorer
* escape and focus back in dashcam
* passthru buttons
* fordcan set bus for button message
* toggle off stock traffic jam assist so camera does not enforce driver presence checks
* not used
* update ramp rate/precision notes
* cleanup
* bump steering pressed torque to 0.8 Nm
* add standstill
* bump steer ratio
* try increasing delay?
* fix docs
* add kuga car info
* maybe fix tja toggle?
* compensate for ford roll compensation??
* oops
* better ui
* block non-adaptive
* add note on ui warning for hands on wheel
* try only checking/toggling TJA every 2 seconds
* add car test route
* dashcam only again
* send buttons to camera
* add process replay segment
* cleanup
* bump panda
* add extra FW
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 9241de2210
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
* Same standstill check as panda
* test honda in the same place
* bump panda
* bump panda
* bump panda
* bump to master
* bump panda
old-commit-hash: b34fe711b0
* check PRE_COLLISION
* need to make sure this is right
* revert
* temp, stash
* fixes
* uncomment that
* it's not really cruise/pcm, but acc
remove improt
* revert
* Fix CI
* revert exception
* Revert "revert exception"
This reverts commit 7e2f390976.
* this tested enableDsu, but we have other routes that do that
* use segment from db
* remove exception again
old-commit-hash: 70f7340c17
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
old-commit-hash: 19810f2dcc
* don't use end of route segment
* no can invalid cnt tolerance
* start checking can valid immediately once available
* we check counter violations
old-commit-hash: beae985f98
* 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
* 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
* back to actual information
* remove some star code
* round speeds
* Try out showing lateral acceleration
* remove that
* Fix speed units
* Add harness and try rounding to nearest half before scapping it
fix
^2
^2
* Add back steering torque star
* Fix static analysis
* auto-generate header
* fix static analysis. set to Harness.none by default
* rm
old-commit-hash: 747bcb013d