* 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
* HKG: Car Port for Kia Carnival (China only) 2023 (HDA1)
* add FW
* seems to be radar SCC
* Update CARS.md
* Update CARS.md
* Add test route
* Fix docs
* New route
* Fix docs formatting
* update with US model
* 2 total
* Update RELEASES.md
* add FW for US carnival 2023
* fix docs
* update test routes
* no rlogs for chinese route
* update docs
* revert chinese to merge now
* Apply suggestions from code review
* fine to fully remove
* less precise
* remove from releases
* Apply suggestions from code review
* Update selfdrive/car/tests/routes.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1c604bde7
* initial commit
* HR-V is diff enought to split from Civic22
* Add US HR-V 2023
* update CARS.md
* Update RELEASES.md
* Use a alternative brake signal
* US HR-V have a weird noise in the BrakeSwitch
* Shane tunning
* this is added automatically
* sorry jyoung
* civic22_stop_faster
limit stopAccel to current safety model
* relax calib temporarily (12 deg)
relax calib temporarily (10 deg)
* compute accel (car overshoots requests at low speed)
* revert brake pressed caused controls mismatches
* fix crash
* cause a cruise fault
* Revert "cause a cruise fault"
This reverts commit 09a6469ac6.
* no brake error
* use alt brake
* Update selfdrive/car/honda/carcontroller.py
* change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags
* Revert "change HONDA_BOSCH_ALT_BRAKE_SIGNAL to CP.flags"
This reverts commit e0f8123b33.
* remove FPv2 from brazilian HR-V
* bump panda
* fix a bug
* revert calib threshold
* new test route
* separate pr
* update
* update that
* thought i removed this
* revert steer ratio
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93c1810522
* Add trailblazer support
* Update routes.py
* Update routes.py
* Update CARS.md
* Fix incorrect torque name
* Update values.py and CARS.md
* Change to update another route
* update docs
* only 2021 https://en.wikipedia.org/wiki/Chevrolet_Trailblazer_(crossover)
only 2021
* new FP with missing addrs
* Update selfdrive/car/gm/interface.py
* tune the torque params
* update docs
* remove as a new platform
* Revert "remove as a new platform"
This reverts commit c9c65f29db.
* add comment and comment out FP
* need it to be in all_known_cars to test_model
* add to releases
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e1ad8df519
* Update values.py for 2023 Kia Niro EV
* Update interface.py for 2023 Kia Niro EV
* Update params.yaml for 2023 Kia Niro EV
* Update RELEASES.md for 2023 Kia Niro EV
* Update interface.py for 2023 Kia Niro EV
* Update routes.py for 2023 Kia Niro EV
* Update CARS.md for 2023 Kia Niro EV
* Update CARS.md for 2023 Kia Niro EV
* Put 2023 Kia Niro EV in CANFD_RADAR_SCC_CAR
* New values in params.yaml for 2023 Kia Niro EV
* Rollback - Remove CAR.KIA_NIRO_EV_2ND_GEN from CANFD_RADAR_SCC_CAR
* Update routes.py for 2023 Kia Niro EV
* Apply suggestions from code review
* use new route
* update cars
* test
* pass test
* add params, rename
* use average
use average
use average
use average
* around 2.05
* Update selfdrive/car/hyundai/interface.py
* Update selfdrive/car/hyundai/interface.py
* lower
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e8d8304548
* test out lta message
* correctly send
* percentage is percentage driver isn't overriding
* closer to stock system
* should be able to send LTA at 100hz, counter is the same as LKA
* small amount of torque towards desired
* Offset commanded torque correctly
* Too little torque
* use car's SETME's
* Revert "use car's SETME's"
This reverts commit c888569699.
* try cutting steer every second
* Didn't seem to matter
This reverts commit 6923498b2a.
* steer to 0
* let packer set counter
* add for camry
* log steer faults
* comments
* bump opendbc
* add opParams
* add lta safety
* set safety param
* fix torque control bug
* bump panda
* fix missing signal
* [experiment] apply some rate limiting and anti-windup
* no faults, clip to 90 deg, decent torque blending
* clean up blending
* toyota angle rate limits
* use std angle limits
* assert we only add angle control to TSS2 cars
* clean up carcontroller a bit
* space space
* bump opendbc
* clean up toyotacan from opendbc change
* bump panda
* will tests run?
* steer at zero
* refactor angle to use LatControlPID with zero gains
* stop some faults and tuning
* possibly fix integral wind up at max torque
* Add 2023 rav4
* limit torque inside EPS when overriding (no huge windup in edge cases when overriding)
* fix wind up issue after turns (or prolonged saturation)
* this doesn't work that well
* try these limits
* try this
* log the angle!
* global variable
* Apply suggestions from code review
* clip angle to 3 m/s/s
* some tolerance for roll
* raise limits a bit
* bumppanda
* fix faults
* still not good
* offsetting causing hugging?
* Revert "offsetting causing hugging?"
This reverts commit a42ec0b772.
* reduce kp
* class var not needed
* limit up angle delta
* fix saturation check
* feedforward includes offset
* some threshold for roll
* bump panda
* surely we don't need this
* test stuff
* Toyota: Add FW for 2023 RAV4 Hybrid (#27494)
* Toyota: Add FW for 2023 RAV4 Hybrid
* Set RAVH_TSS2_2022 to use angle SteerControlType
* bump panda
* remove extras
* Revert "remove extras"
This reverts commit 87378e7349.
* no max angle limit for now
* add as separate platforms
* remove debug scripts
* revert to master
* remove these FW versions from 2022
* dashcam these cars :(
* fix test
* interface
* add to untested routes
* never send torque with LTA cars
* fix values
* clean up controlsd
* reset lat control files
* use the car param
* add to params
* bump panda to master
* Update selfdrive/car/toyota/carcontroller.py
* don't set torque params if angle control (fixes controlsd bug)
* reset controlsd
* keyword
* in another pr
* simplify test
* rm line
* Update selfdrive/car/toyota/tests/test_toyota.py
---------
Co-authored-by: crispbee <84819466+crispbee@users.noreply.github.com>
old-commit-hash: 57c4d78869
* 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 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 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
* 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 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
* 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
* VW PQ: Volkswagen Passat NMS
* regen CARS.md
* vEgo from Bremse_1 vehicle speed
* sync opendbc to master
* handle checksums and counters in opendbc
* LDW HUD message handling
* GRA_Neu_Zaehler -> COUNTER
* bump opendbc
* stub in till we find platform ACC standstill
* bump opendbc
* bump opendbc
* placeholder lateral accel data
* regen CARS.md
* counters now directly supported in opendbc
* additional door-open signals
* add trunk lid state
* add doors and trunk lid to signals list
* LDW_Status updates and passthrough
* bump opendbc for typo fix
* update AWV comment
* another comment update
* regen CARS.md with PQ in dashcam only
* don't show NMS footnotes while still in dashcam
* polish
* add stubbed-out dashcamOnly prep
* VW MQB: Cleanup stock ACC button handling
* bump opendbc and panda
* use controls resume output as trigger
* these can wait until taco bell
* bump opendbc
* pass through of previously fixed value
* retry CI
* checks already done in carcontroller
* don't need these anymore
* reduce diff for now
* slightly better abstraction
* more engine and trans FW
* turn signal is instantaneous stalk position
* weak sauce :(
* better clarity
* try torque tune
* add test route references
* bump opendbc and panda for OP long
* don't show steering faults for 3 seconds after start
* longitudinal control senders
* a little more torque
* test hax to torque control
* test a little more delay
* allow use of manufacturer ramp-up rate
* soften wheel-touch threshold
* Revert "test hax to torque control"
This reverts commit d1af459c29.
* punch it Chewie
* better ACC state and mainswitch handling
* a little more
* tweak max accel gradient
* oops
* also oops
* stuff
* srsly
* that's not how this works
* regen CARS.md
* footnotes now properly excluded for dashcam cars
* this wasn't a problem
* update network location detection
* bump submodules for ACC main switch
* clean up DBC references and long flag
* bump one more time
* one more time
* follow CANPacker counter refactor
* bump opendbc
* sync opendbc to master
* bump panda to fix Subaru tests
* DBC handling cleanup
* fix
* model-year stretch
* cleanup and rate bugfixes
* better abstractions
* simplify create_lka_hud_control
* volkswagencan -> mqbcan
* bump panda
* fix doc data bug, regen CARS.md
* style updates; diff reduction
* use common button enable logic
* not needed anymore
* refactor TSK and HUD enum values
* make common button events function
* consistency
* bump panda
* bump panda
* dashcam only
* don't need process_replay yet
* regen CARS.md with Passat NMS in dashcam
* can't handle dashcam-orphaned footnotes yet
* remove outdated standstill handling
* editor tried to be too helpful at some point
* don't need to import this anymore
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* follow parkingBrake refactor
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c27d7913f2
* 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
* Ram HD Init
* Update selfdrive/car/torque_data/override.yaml
* Revert FW for 1500
* little cleanup plus test route
* bump panda
* revert 1500 changes
* bump panda
* same error max
* dashcam + cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab227027c3
* torque control again
* 3mss per s
* no bad sensors
* tweaks
* Need more checks before we can do this
* update refs
* only ram for now
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bdfaa1d1ee
* RamInit
* bump submodules
* lil cleanup
* clean up carstate formatting and platform grouping
make tuple
* give it a gold torque star (looks around 2.4 from rough data)
* Dasm Fault
* bump panda
* more cleanup
* cleanup car state
* more cleanup
* some fixes
* remove more stuff
* fix angle signal scaling and fix lkas control bit
* bump panda
* update those
* same limits as pacifica
* cleanup hud alert building
* better fault logic
* fix rate
* set ahb
* bring that back
* update refs
Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9b0acacf5e
* EV6: adjust steering thresholds
* Is there any friction
* bump panda
* no friction
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: 221086857a