* Add volt and bolt param migration
* Remove mazda due to invalid sensor timings
* Fix the import
* Add mazda to excluded
* Bring back mazda, but add todo
* New segment for TOYOTA3
* Fix
* Update ref commit
* new OnroadEvent struct
* and migrate python
* more forgotten
* re-index new OnroadEvent struct
* fix!
* more missing
* migrate onroadEvents
migrate onroadEvents
* migrate dm events
* hacks to get proc replay to say succeeded
* Revert "hacks to get proc replay to say succeeded"
This reverts commit 0bb8803e57.
* update refs
* Inplace modification of lr
* Replace the original function
* Add comment
* Change the return type
* Fix carParams retrieval
* Remove the newline
* Include carState migration
* Remove TODO
* Comment
* List instead of gen
* Fix deletion
* Delete camera state if not valid
* Update ref commit
* Remove sorting at the end
* Use migrate_all in ui report
* Allow more control in what to migrate
* Add type annotations
* Static analysis
* Improve type annot
* Fix linter issues
* Remove f-string
* Migrate carState too in test_ui
* Fix peripheralState migration
* Sort at the end
* Fix regen issue
* Fix comments
* interfaces returns radarinterface
old-commit-hash: 9ad1f096bf
* bump
old-commit-hash: 20334a8b25
* get RI from opendbc
old-commit-hash: b5f6d0c48c90927926e9dd557130075aeec5edee
* stash so far
old-commit-hash: 5aa2c842eb152316434c17a661df05bb8af61f47
* new liveTracks message (radard expects and needs RadarData)
* this should just work?
* whoops
* fix that
* rm liveTracks from radard pm
* fix proceess replay
* lol fcw diff, something's not right
* actually there's fcw in original route. it's pretty close
* no tracks!
* fix test_leads
* CPU moved across procs
* fix not engageable from onroadEvents
* bump
* fixes
* bump to master
* radard publishes w/ modelV2 now, so it will always be sent. check valid which radard sets using liveTracks avg freq
* fix that (it works!)
* combine
join
* bump
* bump
* deprecate
* why
* fix incorrect args
* remove cumLagMs from process_replay
* update refs
* move most of /car
* move some car tests
move some car tests
* fix selfdrive/car/tests
* fix selfdrive/controls tests
* fix the rest of the selfdrive tests
* bump opendbc
* fix all tests
* few more non-test references
* remove opcar and move docs to car
fix these debugging scripts
fix docs
* bump opendbc and panda
forgot panda
old-commit-hash: e735a7f379
* 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
* 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
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 489528dcae
* bump
* bump
* space
* remove from boardd
* set flag for honda to pass tests
* migrate
* Update ref_commit
* final bump
* bump cereal
* bump to master
old-commit-hash: 582743fdb5
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
* Migrate pandaStates
* Fix import
* Make pandaStates migration optional, so process_replay still works on logs without carParams
* peripheralState migration if its not available
* Do nothing if log file has peripheralStates
* Add migrate_managerState
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 898acb13f2
* vipc support. modeld and dmonitoringmodeld configs
* Update cereal
* Add vision meta
* Use vision meta in process replay
* Exclude modeld and dmonitoringmodeld from test_processes
* Refactor other pieces of code to use vision meta
* remove unnecessary imports
* Add MAX_FRAMES_PER_SEGMENT
* cameraState migration
* Move camera state migration to migration module
* model_replay refactor
* Fix lint issues
* Reduce number of vipc buffers to 2
* Update spinner message
* Update model replay ref
* Support the new log order
* Replace CameraFrameSizes with dict. Add encode_index field
* Migrate camera states based on encode indices
* Refactor process replay
* Refactor model replay
* Remove unnecessary print
* Update model replay ref
* Make camera state migration optional
* Remove unused import
* Add ignore_alive_pubs field
* Add assertion for carParams inside fingerprinting callback
* Remove WideCameraOnly param setup
* Refactor ModeldCameraSyncRcvCallback
* Update model replay ref commit
* Fix camera state migration
* Only migrate camera states when process has vision pubs
* Refactor model replay again
* Fix linter issues
* One more linter fix
* Update model replay ref commit
old-commit-hash: 2c617e0c7a
* Move migration code to new file
* Migrate messages in process replay. Remove old code
* Fix old_logtime
* Keep old logtimes on migrated messages
* Update ref commit
old-commit-hash: 838346d8a3