* 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
* 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
* 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
* Revert "Revert torque control (#24565)"
This reverts commit 93f434d047a92366c4ccefeece86fe101ed98d02.
* Move tune out of car specific stuff
* Update ref commit
old-commit-hash: d928972150
* check standstill against panda
* use XMISSION_SPEED for all, and compare to 0
* fix
* only check for Honda for now
* update comment
* update refs
* update refs and update check
* phantom commit
old-commit-hash: 6de434f2ec
* Initial commit
* Fix bugs
* Need more torque rate
* Cleanup cray cray control
* Write nicely
* Chiiil
* Not relevant for cray cray control
* Do some logging
* Seems like it has more torque than I thought
* Bit more feedforward
* Tune change
* Retune
* Retune
* Little more chill
* Add coroll
* Add corolla
* Give craycray a good name
* Update to proper logging
* D to the PI
* Should be in radians
* Add d
* Start oscillations
* Add D term
* Only change torque rate limits for new tune
* Add d logging
* Should be enough
* Wrong sign in D
* Downtune a little
* Needed to prevent faults
* Add lqr rav4 to tune
* Try derivative again
* Data based retune
* Data based retune
* add friction compensation
* Doesnt need too much P with friction comp
* remove lqr
* Remove kd
* Fix tests
* fix tests
* Too much error
* Get roll induced error under 1cm/deg
* Too much jitter
* Do roll comp
* Add ki
* Final update
* Update refs
* Cleanup latcontrol_torque a little more
old-commit-hash: fe0bcdaef6
* 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
* or brake_switch
* remove car exceptions
* Revert "remove car exceptions"
This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.
* does have ts noise, use updated
* bump panda for tests
* bump
* messsssy draft
* clean up
* clean up
* bump
* CS: process all messages at once, like we do during real openpilot usage
* handle multiple messages updated in one cycle
* bump
* bump
* use less confusing, but equivalent cp.vl
* Update selfdrive/test/test_models.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* no msg
* bump opendbc
* Update selfdrive/car/honda/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* same test logic
* add brake_switch_prev to class
* need to set previous brake switch when not lagging (most of the time)
* need to compare
* only update previous if updated this cycle
rm
* need to maintain previous active state
* move brake_switch
* bump opendbc
* bump
* bump
* bump
* bump
* bump
* bump
* bump opendbc
* rename
* oops
* bump opendbc
* bump
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
* Run test car models in matrix
* cache key per job
* actually cache files
* ci
* make files readable
* actually expose variables
* fix quote
* get cache unstuck
* ro cache can use more prefixes
* ci
old-commit-hash: 264c5f4e61
* Honda e Port
* Test route for Honda e
* remove
* Update README.md
* update values based on logs
* no need for Honda e specific DBC
* fix tests
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bcb8a11d7f
* Add 2021 Accord 2.0 Touring & Hybrid Touring
- Create the HONDA_BOSCH_EXT set for HONDA_BOSCH cars that utilize the new extended IDs for LKAS_HUD
* Remove ids added to the wrong car
* add comment
* fix undefined signal
* fix tests
Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 7e53a42984