* regen
* regen
* update
* undo
* update refs
* fix
* real fix
* test
* test2
* test3
* stash
* Revert "stash"
This reverts commit bf6765f526.
* rk.lagging can not be trusted. BODY segment has radarFault while modelV2 is not valid, causing radarState to not be valid
* order
* update refs again
* we never logged carOutput!
* bump
* add back checks
old-commit-hash: 220fcc1675
* drop check for carState.buttonEvents
* 100% people not use this
* huge oof
* ref comit
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 8e87655a12
* 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
* move stateless, common car events to car interface
* try to reduce process replay diff a bit
* Revert "try to reduce process replay diff a bit"
This reverts commit b12798deab.
* update refs
old-commit-hash: 3dfb6d7931
* VW: Steer to zero, for large values of zero
* ah, the joy of floating point
* comment, style
* actually fix floating point issue
* follow PlatformConfig refactor
* this check is not useful after PlatformConfig
* don't really need that
* work around docs assert
* little better
* one comment
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 93fa207c5c
* permanent
* param
* correct behavior
* toggle
* need trans
* ref_commit
* translate for chs/t
* disable on P and R
* read
old-commit-hash: 1d05704d27
* Ford: handle metric cruise speed (v2)
**Description**
I found a signal which appears to match the IPC "Show km/h" setting.
Requires https://github.com/commaai/opendbc/pull/1010.
**Verification**
- [ ] Test in car and confirm that toggling the "Show km/h" setting does
not result in the cruise speed shown in openpilot being incorrect.
- [ ] Test in a non-English (metric) car.
* not present on Q4
* fix freq
* test
* Revert "test"
This reverts commit 5e3a9f6df1.
* Update ref_commit
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b59ae50961
* 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
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ce.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b3941.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
* revert ui
* not here
* migrate controlsState
* Revert "migrate controlsState" - i see no reason we need to test with
any specific personality
This reverts commit 6063508f2d.
* Update ref_commit
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 29e55f99a5
* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* revert longplan
* revert this
* Fix check
* more appropriate up here
* consistenet
* Update selfdrive/car/toyota/carstate.py
* Update ref_commit
old-commit-hash: 2c353a25a4
* subclass bosch and nidec
* end with comma
* one line
* remove unused flags
* as a test see what happens if we exceeed CP.flags
* Revert "as a test see what happens if we exceeed CP.flags"
This reverts commit f57a346df5.
* Update ref_commit
old-commit-hash: 77d896eb89
* part 1. Toyota platform config
* more
* everything works now
* no more DBC
* janky but that saves a lot of car lines
* need to init inside values or else it won't be reliable
* no return
* fixes
* minor update
* common flags, no dbc grouping
* some clean up
* some clean up
* rename
* copied wrong :(
* another
* copied specs for easiest ones first
* second easiest
* fix erroneous commas
* more clean up
* do the rest
* bug
* the refactor is so error prone
* huh?!
* static
* fix stiffness factor
* detect unsupported DSU
* Revert "detect unsupported DSU"
This reverts commit 9b72de6c8e.
* fix DBC diff
* test carparams
* test sets
* scratch
* catches this
* Revert "scratch"
This reverts commit de08daa9fb.
* Revert "test sets"
This reverts commit 62402f9b02.
* Revert "test carparams"
This reverts commit b02971659c.
* Update ref_commit
old-commit-hash: 52ee070fe0
* fuck me!
* that kinda makes things pretty nice
* move it down
* and move this comment
* Wip
* more flags :/
* add the debug shit
* add
* lets not break this yet
* MORE flags git add .git add .git add .git add .!
* B
* add mando
* update ref
* possibly better?
* we can use flags here
* formatting
* formatting
* move up
* canfd subclass
* this is more clear
* spacing
* static!
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e341707b0f
* flags
* update ref
* use the flags directly
* use post_init (don't freeze)
* we can maintain frozen with custom class
* not preglobal
* move to common
* cleanup
old-commit-hash: 3a6c3315ab
* Do Accord
* add comment
* good test
* this catches the accord/accordh issue!
* as expected, only if both radar&camera have in common FW does the test fail
* cmt
* clean up
* better
* Use HondaFlags
* detect alt brake
* for test
* hypothesis isn't installed
* test failure
* works
* Revert " works"
This reverts commit bfc0d808ab.
* Revert "test failure"
This reverts commit 10ab6eb63c.
* Revert "hypothesis isn't installed"
This reverts commit d474cc3f0e.
* Revert "for test"
This reverts commit 98e039f4fc.
* this is important too
* clean up
* merge accord fingerprints, test
* remove duplicates
* accordh doesn't have these
* rm
* no unknown
* start over, merge platforms
* add cmt
* note non-essential ecus
* add non essential obd ecus
* combine FW
* format fingerprints (remove dups)
* migrate test models segs
* cmt
* Update ref_commit
* clean up
old-commit-hash: ce6637cd8f
* log params when calculable
* better
* Update ref_commit
* this is redundant
* this is only used in one place, confusing which to use so remove
* better
old-commit-hash: c3e3103830
* Do Accord
* add comment
* good test
* this catches the accord/accordh issue!
* as expected, only if both radar&camera have in common FW does the test fail
* cmt
* clean up
* better
* Use HondaFlags
* detect alt brake
* for test
* hypothesis isn't installed
* test failure
* works
* Revert " works"
This reverts commit bfc0d808ab.
* Revert "test failure"
This reverts commit 10ab6eb63c.
* Revert "hypothesis isn't installed"
This reverts commit d474cc3f0e.
* Revert "for test"
This reverts commit 98e039f4fc.
* this is important too
* clean up
* more clean up
* Update ref_commit
old-commit-hash: 2e8c62358c
* Update carstate.py
* 42 is safe
* mirai
* we hit this after 30 mins: Exceeded message traversal limit. See capnp::ReaderOptions.
* too easy to write this bug, no need to be generic yet
* Update ref_commit
old-commit-hash: 04ada8e436
* VW MQB: Improved stopping and starting
* get longcontrol to take off sooner
* oops
* use the carParam instead of the constant
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 88e445ef15
* 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
* 6f6e3749-1b7c-42e8-a33b-03929b7fc476/700
* oops deleted too much
* 1b4308b7-a659-4ebd-b4c6-c81c1c3890f8/700
* 1be192f3-f407-4217-9757-78b9ad92750a/700
* remove some todos
* more cleanup in lat planner
* vego > min_speed
* regen and update process replay refs
* update model replay ref
* update model replay ref commit again
* Revert "update model replay ref commit again"
This reverts commit 922cb796b8.
* update again
* bump cereal
old-commit-hash: 4c2bd853e4
* 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