* 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
* 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
* 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
* 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
* master 2022 Civic
* bump panda
* bump
* bump cereal
* fix
* needed
* try for now
* maybe
* revert for now
* move to Cam parser
* fix
* move to cam
* need AEB_STATUS too
* bump for debug prints
* bump opendbc and add cruise_params
* bump opendbc and update cruise_params
* bump
* test route
* update ref
* Revert "update ref"
This reverts commit 28345dab63.
* cleanup
* just to test
* bump
* revert
* need to send val 12 too?
* change bus
* not needed
* update bus
* syntax
* move this to other bus too
* Revert "move this to other bus too"
This reverts commit 770bf4745e.
* test new lane line signal
* needed too
* maybe need both?
* Test new LKAS hud message
* bump
* missing comma
* missing
* maybe
* add frame and idx
* add in hud_lanes
* switch this too
* bump panda
* add this
* I guess need this too
* to match
* also
* wasnt correct
* bump opendbc
* bump panda
* move to cam parser
* missing
* add here too
* bump
* remove from cam parser
* bump
* back to cam parser
* its 5hz
* bump for new checksum function
* bump for correct frequency
* update frame and idx
* bump
* bump and update
* send set me bit
* bump
* pass these values through
* silly atom
* ret
* fix this
* use copy instead
* add these too
* to check keyerror
* switch
* bump submodules
* send too
* proper
* Replace HUD with BOH
* add dashed lanes
* small fix
* clean up
* not needed anymore
* remove and change
* this too
* dont always set
* remove additional LKAS message
* bump
* add
* to test
* add frame
* bump
* rebase
* remove default values
* rename
* clean up some carstate logic
* regenerate docs
* spacing
* simplify more logic
* bump opendbc
* bump opendbc
* only if radarless
* panda at least builds now
* add comment
* bump
* fixes
* bump opendbc
* bump opendbc
fix for new DBC
* bump opendbc
* bump opendbc
* carstate: fix bus, parser signals
* Set safety param
* pt bus is 0, not 1
* Fix SCM_BUTTONS and bump panda and opendbc
* fixes for ACC_CONTROL
* bump opendbc
* bump opendbc
* convert from MPH on HONDA_BOSCH_RADARLESS
move is_metric
* make sure we don't disable if radarless
* don't show incorrect harness on website
don't show incorrect harness on website
* bump panda
* remove/update comments
* bump panda
* Fix harnesses
* one line check
* bump opendbc
* remove this
* Some carstate cleanup
We removed STANDSTILL->WHEELS_MOVING
we don't use CRUISE_PARAMS
add back
add back
* more cleanup
* update docs
* marketing says it has TJA and ACC with low speed follow
* send buttons on bus 0
bump panda
* comment
* camera needs to see buttons on bus 2
comment
* bump panda
* add to releases
* remove comments
* comment
* we don't use stock hud yet
Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
Co-authored-by: kevinharbin <76784413+kevinharbin@users.noreply.github.com>
old-commit-hash: abcc7338d4
* 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
* run test_models on route
* clean up a bit
clean up a bit
clean up a bit
* remove
remove
* make route positional
* fixes from merge
* not working as I expected
* finally working, easiest way seems to make a new subclass dynamically
* bring back routes
* remove comments
* revert skiptest
* fix subclass name
* car first
* this should be here...
* this should work
* comment
* pytest doesn't support dynamically loading with load_tests
* minimize test_models.py diff, and make new file for running on a route
* fix static analysis
* remove print
* clean up a tiny bit
* rename and make required
* auto detect car fingerprint if not given
* move to location that makes more sense
* Add ci argument for running route from routes.py
old-commit-hash: e5b189416d
* support for ICE 2022 RAV4
* add to releases
* swap
* add fingerprints from a5c341bb250ca2f0
* update test route
* update docs
* add test for rav4
* values.py is a comma file
old-commit-hash: bdaf174154
* update body test route
* Revert "update body test route"
This reverts commit 7b918cb48b.
* bump opendbc
* Revert "Revert "update body test route""
This reverts commit d27276b834.
old-commit-hash: 8572c6aee6
* add panda flag for toyota stock long with camera
* clean up
* Add 2022 RAV4 Hybrid from Philly
* fix wrong fw in interface, did this ever work?
* Must be a hybrid
* no radar parsing
* fix can error
* move to own platform
* generate docs
* fix
* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)
* Update values.py
Add 2022 Rav4 XSE Australia
* add commas
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* bump panda
* wait, the camera doesn't even send 0x343, right?
* use a set instead, more obvious
* don't test without a parser
* bump panda
* flip panda flag
* bump panda
* add commas
* regen and update refs
* set to none by default
* revert parenthesis
* update comment
* bump panda
* regen and update refs
* add test models and update readme
* bump to master
Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
old-commit-hash: c1caca104f
* Ford: add Focus Mk4
Also removes support for the Ford Fusion.
* Ford: LKAS/LCA steering and UI CAN commands
* Ford: implement CarController w/ steering and lanes ui
* Ford: FPv2 firmware request
* Ford: Add FW for 2018 Ford Focus
* Ford: add Escape Mk4
* bump panda
* cleanup
* add that back
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: acd455ed3a
* make panda and openpilot thresholds match
* Revert "make panda and openpilot thresholds match"
This reverts commit dfcbd20587.
* make panda and openpilot thresholds match
* remove interceptor scaling, compare int value
* remove honda exception
* bump panda
* bump opendbc
* add segment to check controls mismatch
* bump submodules
old-commit-hash: e8faf9f985
* support for specifying segment
* revert
* formatting
* revert
* Fix mypy
* raise exception if specified segment isn't available
oh, ndog param wasn't being set
* easier to read
* add to exception
old-commit-hash: 85c714e350
* Add f/w firmware for Lexus RC under LEXUS_IS
`@ph33rl355#0529` 2020 Lexus RC F Track Edition DongleID/route 32696cea52831b02|2021-11-16--23-12-02
Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229
* Update CARS.md
* Separated Lexus RC from IS... still using IS DBC
* match lexus IS for now
* Update wheelbase to match published specs
I'm hesitant to touch `mass`, even though I know it's different from the IS.
* Add TOYOTA.LEXUS_RC test route
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d630ec9092
* update values.py
* add passport to carstate, interface, values
* add a test route with mostly green
* switch to newer route
* update readme
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 28e16c7b84
* Added 2016 Escalade ESV fingerprint and data.
* Updated CARS.md for GM vehicles
* Uploaded Escalade fingerprint
* Removed part about auto high beams for GM. Seems to work for some.
* Revert other modifications in CARS.md
* Revert other modifications in CARS.md
* Added test route for Escalade
* Added tunning for Escalade to reduce jerky steering
* Apply suggestions from code review
* Update selfdrive/car/gm/interface.py
* cleanup test route
Co-authored-by: Gibby <git@twoitguys>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 46009fa6fd