* format card
* standalone process
* no class member CS, there's no point
also can be confusing; what else could be using this?
* rename CoS
* Update selfdrive/controls/controlsd.py
* never works first time :D
* canRcvTimeout is bool
* hack
* add cpu
* see what testing closet comes up with
* first
* some clean up
* support passable CI, fix test models
* fix startup alert
* process replay changes
* test_fuzzy
* gate carOutput valid on carControl valid
* we should publish after we update carOutput
* controlsd was using actuatorsOutput from 2 frames ago for torque, not the most up to date
* check all checks for carControl in case controlsd dies
* log more timestamps
* more generic latency logger; needs some clean up
latency_logger.py was difficult to understand and modify
* card polls on can and carControl to get latest carControl possible
* temp try to send earlier
* add log
* remove latencylogger
* no mpld3!
* old loop
* detect first event
* normal send
* revert "card polls on can and carControl to get latest carControl possible"
how it was is best
* sheesh! update should be first
* first timestamp
* temp comment ( timestamp is slow :( )
* more final ordering, and make polling on/off test repeatable
* Received can
* new plot timestamps
* clean up
* no poll
* add controllers (draft)
* Revert "add controllers (draft)"
This reverts commit e2c3f01b2f.
* fix that
* conventions
* just use CS
* consider controlsd state machine in card: not fully done
* hmm it's just becoming controlsd
* rm debugging
* Revert "hmm it's just becoming controlsd"
This reverts commit 534a357ee9.
* Revert "just use CS"
This reverts commit 9fa7406f30.
* add vCruise
* migrate car state
* Revert "migrate car state"
This reverts commit 4ae86ca163.
* Revert "add vCruise"
This reverts commit af247a8da4.
* simple state machine in card (doesn't work as is)
* Revert "simple state machine in card (doesn't work as is)"
This reverts commit b4af8a9b0a.
* poll carState without conflate
* bump
* remove state transition
* fix
* update refs
* ignore cumLagMs and don't ignore valid
* fix controls mismatch; controlsd used to set alt exp
* controlsd_config_callback not needed for card
* revert ref temp
* update refs
* no poll
* not builder!
* test fix
* need to migrate initialized
* CC will be a reader
* more as_reader!
* fix None
* init after publish like before - no real difference
* controlsd clean up
* remove redundant check and check passive for init
* stash
* flip
* migrate missing carOutput for controlsd
* Update ref_commit
* bump cereal
* comment
* no class params
* no class
* Revert "no class"
This reverts commit 5499b83c2d.
* add todo
* regen and update refs
* fix
* update refs
* and fix that
* should be controlsstate
* remove controlsState migration
CoS.initialized isn't needed yet
* fix
* flip!
* bump
* fix that
* update refs
* fix
* if canValid goes false, controlsd would still send
* bump
* rm diff
* need to be very careful with initializing
* update refs
old-commit-hash: 71f5c441fe
* card: create pedal pressed event (#32393)
* move pedalPressed to card
* rm
* needs to be a builder
* move these
* clean up
* reader later
* Update ref_commit
* moved to card
old-commit-hash: d0d44a51a0
* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
old-commit-hash: b0eb3ba4f4
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* fix
old-commit-hash: 1161d33c18
* more examples
* how is it so fast?!
* 500
* is there a hypothesis cache?
all
* Revert "is there a hypothesis cache?"
This reverts commit e628ba73d5.
* same as jenkins
old-commit-hash: 9479686fa3
* 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
* 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_moedls: check controlsd events
* clean up
* sort
* controlsd modifies CP
* fix
* can use any segment now
* final fix
* use constant
old-commit-hash: 1410a1150c
* wait to leave elm mode before checking relay malfunction
* clean up
* clean up
* pycharm is best
* clean up
* more
* use pandaStatesDEPRECATED
* fix
* use constant
* only radar
* cmt
* set inline
* comment and re-arrange
* enable for relay malfunc check
* down here
* Update selfdrive/car/tests/test_models.py
* rm
* don't affect other tests
* up here
* one line
* update cmt
* no tolerance
* Revert "no tolerance"
This reverts commit 41b1c7e8be.
* comment is real solution
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: 5d1550de87
* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* fix mypy
* this is correct too
* 3 seconds instead of 1.5
old-commit-hash: e2910d0720