* Revert "Revert "FW query timing test: mock get_data function for timeout" (#30696)"
This reverts commit 799cdee1e97bd45946ffb31a03e1fcc1c5da5ac6.
* no thread
* clean up a bit
* no thread!
* combine functions
* re-enable total time check
* back to 5
* minimal diff
* minimal diff
old-commit-hash: f96aa247cc
* not sure why this is a test
* Revert "not sure why this is a test"
This reverts commit c13e16311e.
* no ruff for this pattern :(
* this is always caught
* should fail
* simpler
* Revert "should fail"
This reverts commit 21bd15275c.
* fix
* cleanup this
* better comment
* better
* this can be more localized
* better names
* better names
* should fail
* Revert "should fail"
This reverts commit c58495e8b3.
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7f398e1cf9
* fails if no skip function
* Revert "fails if no skip function"
This reverts commit ff3d697d38.
* Revert "test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)"
This reverts commit f60e70d4729efe7db36888a0a750a0e4706cc943.
old-commit-hash: 8c4930d2d3
* pre-hypothesis
* some hypothesis junk
* this kinda works but is really slow due to counter check
* choose addrs from fingerprint
* stash
* honda nidec brake pressed mismatches fixed
* bump panda
* stash
* tesla: use DI_torque2 (panda msg)
* run
* run
* ah this honda mismatch too
* no more multi can msgs
* clean up, remove old file
* add todo
* prob can remove urandom
* stash, huge examples
* fix pq standstill mismatch
* yuge
* yup there's a leak somewhere
* try to find leak
* skip dashcam (pq and tesla)
* PR comments
* bump
* draft stash
* fix alt brake hondas
* bump
* bump
* bump
* some clean up
* minor clean up
* more clean up
* stash
* fix honda bug
* more
* 100 examples
* revert tesla
* no memory leak any more?
* bring back tests with skips
* parameterize max_examples
* skip interceptor
* is jenkins on my branch?
* ooh that's fast
* 50 is not bad for GH CI
* 300 might be better with rest of test_models
* no more detection
* bump
* need CS_prev to catch bugs where openpilot changes and panda doesn't (eg. not setting interceptor safety mode)
* need to simplify all this
* need a warm up first, since some signals are 1 by default (toyota's gas_released!=1)
* changes
* set honda safety param
* set toyota safety param
* bump panda
* clean up honda
* rm interceptor
* thought interleaving addrs might help, but we can fine tune later
* Revert "thought interleaving addrs might help, but we can fine tune later"
This reverts commit 153301384b.
* get size from dict
* what
* add nocapture marker
* clean up
* try to raise logging level
* need to run last as pytest_runtest_call, since it starts capturing
* get capman conditionally
* mark
* type fingerprint
* should use gen_empty_fingerprint
* no longer needed
* draft
* no longer need gc
* clean that up
* test everything!
* more clean up
* more
* no point
* fix that
* fix errors
* bump
* nice even 300 examples for 300 segs
* final bump :fingers_crossed:
* better import order
* remove debugging prints
* warm up kinda works
* Revert "warm up kinda works"
This reverts commit 7fc77b07d5.
* random seed
* revert
* strat
strat
* add expl comment
* cmt
* check controls allowed
* Revert "check controls allowed"
This reverts commit e82a0e5396.
* not unittests
* run tests!
* run tests 2!
* run tests 3!
* seed unused
* revert
* add shrink phase, and remove health check suppression
* hello
* oncemore
* Update selfdrive/car/tests/test_models.py
old-commit-hash: 5052b55c44
* sanity check on velocity
* import from there
* use raw
* just check last
* ignore body
* reduce tolerance and bump panda
* its not average anymore
* slightly higher tolerance
old-commit-hash: 1ca1cf3922
* Hyundai: Car Port for Staria 2023
* camera scc!
* add test route
* Update RELEASES.md
* Apply suggestions from code review
* bump down max torque
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d6465e39bd
* HKG: Car Port for Kia Niro Plug-in Hybrid 2022
* Update CARS.md and add test route
* add to releases
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9807bd99db
* use a mock function to simulate timeout
* Cleanup
* Cleanup
* clean refs
* tolerance can also go down
* fix
* better name
revert refs
* use unittest
* revert
* Revert "use unittest"
This reverts commit 7a1d6a6fc7.
* order
* local
* use a context
* revert
* stress test it
* let's try
* it's consistent
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 4028cb6121
* randomize internal seg list segments
* random
* pytest-randomly sets random.seed to a consistent value for all the workers/processes
* noeol
* update
* Revert "update"
This reverts commit aff9a69c4e.
* lock
* don't randomize by default
* remove random-order
* strict
* random
* one fix
* test
* does nothing
* rm tests
* Revert "rm tests"
This reverts commit b548e3fcd4.
* (can't repro locally) just athena should be fine
* bs1
* bs2
* bs3
* bs4
* bs5
* wrong way
* no controls
* no car
* no board
* controls?
* crazy -common
* Revert "crazy -common"
This reverts commit 02365d712b.
* test athena
* test athena 2
* test athena 3
* test athena 4
* test athena 5
* test athena 6
* test athena 7
* test athena 8
* test athena 9
* ??
* in one commit
* common?
* car and board
* -controls -board
* random-order
* no board
* revert
* car/tests
* least likely
* try
* try 2
* draft
* draft
* so much better
* cmt
* use randomly
* not needed here
* directly modify option works
* bb
* test time
* Revert "test time"
This reverts commit 2c5caabe2b.
* tmut
* i concur
* revert
old-commit-hash: ac83318ac4
* test rav4 2023 (stripped)
* don't use initData, remove relay malfunction tolerance!
* all passes!
* some clean up
* more
* uncomment
* rm line
* remove ignore_addr_checks_valid
* right
* some changes for stripping data
* clean up
* check exist
* shouldn't be possible
* should be success if here
* no delete
* ""
* rm
* rm
* cleanup
* one list comp
* more clear
* not used
* add back legit source
* clean up
* copy files we don't need to strip (need sas to copy between accounts)
* default to strip
* revert
old-commit-hash: 2e45a7c2fd
* added GSF ECU values
* Added Lexus GSF data
* added route for GSF
* test RC code
* revert fingerprints back from RC test to GSF
* fixed type for route
* specify route segment for GSF
* added GSF to torque substitute
* removed year designation for GSF
* added MY back to all "Lexus GSF"
* removed route, don't think it does anything
* move GSF ecu values to better place
* remove whitespace from toyota > interface.py
* added in public route for LEXUS_GSF
* added GSF to docs
* update test route
* update test route
* update 266 Supported cars
* trying different dbc
* updated to working route
* clean up
* add to releases
* updated test route
* new route
* docs
* slightly better torque params
---------
Co-authored-by: cchui <cchui@eogresources.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2647a4b4a9
* Hyundai: Add FW Versions for 2019 Elantra
* wrong platform
* Update selfdrive/car/hyundai/values.py
* split platforms again
* add engine and other trans
* legacy: don't trust long
* fix
* elantra has no eps and i30 has no dates as well
* 19 still has no sng
* new harness
* todo comment
* Update CARS.md
* re-did
* add back
* rev
* Add Elantra 2017 FW from f6f9e1708bae2ef6
* Add Elantra 2017 FW from 5af39b105269f0f3
* Add Elantra 2017 FW from 2e158bb0e7396dd9
* should be all i30 and elantra drivers
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 820cccf8d9
* combine corolla
* corolla tss2: remove duplicates
* remove gas pedal hybrid signal
* combine RX TSS2
* we only split for static DSU msgs, or sng differences
* Combine NX TSS2
* remove nb
* Combine ES TSS2
* Combine RAV4 TSS2 (torque params for each EPS variant are similar enough, and eps and fwdcamera all are identical)
* Merge TSS-P Lexus NX
* TSS-P Lexus NX: remove duplicates
* TSS-P C-HR: merge
* TSS-P C-HR: remove duplicates
* fix routes
* re-did everything: no diff 🎉
* update test models seg list
* Update ref_commit
old-commit-hash: 3cd0e392eb
* HKG: Car Port for Hyundai Cusitn 1st Gen
Hyundai Custin is asia only car ,named Custo in China.
Hyundai K , talk with Sotana CAN BUS
test route"0bbe367c98fa1538|2023-08-19--01-58-42--0"
It's my fisrt time to PR a port car. I must miss something I don't know. Waiting your instruction to complete it.
* Add route
Add route
* update interface.py
Add interface values
* Update values.py
type
* slight cleanup
* stock openpilot route
* Add credit to release note
* lkas11 fault fix
* Generate CARS.md
* SCC is standard
* crc8
* Update new route
Add a new route "0bbe367c98fa1538|2023-09-16--00-16-49--0"
* sort
* Update selfdrive/car/hyundai/interface.py
* rename platform var
* we want abs!
* was looking at a vw lol
* 096
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: db50e42202
* add 2019 OptimaH
* fix
* fix gears
* rename
* should be in unsup long
* fix
* probable cause
* add test route
* update docs
* fix test
* spacing
* note it's only old
old-commit-hash: 39c8bfc09c
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"
This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9