* subaru steer faults
* it takes a bool now
* Update selfdrive/car/subaru/carcontroller.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* that was removed
* should be abs
* bump panda
* bump panda
* subaru faults
* add fixme
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* review suggestions
* still want zero steer when lat not active
* bump submodules
* move it under the non-preglobal section
* better comment for steer limited
Co-authored-by: Shane Smiskol <shane@smiskol.com>
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fb06b98667483bbf9d62b16d7f5aa5e50721f597
* assert no duplicate checks
* bump
* remove duplicates
* are both messages present?
* guess we need this extra check
* this makes it more clear
* bump opendbc
* fix preglobal
old-commit-hash: 5f0729791ab6bdb22b3e971f0153a88441f8831a
* Add support for Forester Hybrid 2020
Co-authored-by: martinl <martin@mlp.ee>
* it's a param now
* make it work
* fix
* merge and cleanup
* remove duplicate
* should be forester
* bump submodules
* should be abs
* add missing params
* still need a test route
* still need a test route
* consitent
* here too
* todo
* more
* Update selfdrive/car/tests/routes.py
* clean up
---------
Co-authored-by: martinl <martin@mlp.ee>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 3719be8b76f81068da3aadd5bd0f76e8a4d00396
* Subaru: Crosstrek Hybrid support
* hybrid cars in dashcam only
* revert that
* just dashcam
* tah should be abs
* remove unused import
* use the old dbc for now
* hybrid car exceptions in carstate
* need dashstatus until we get a proper cruiseactivated bit
* missing CP
* merge conflicts
* lets be consistent about extend
* cleanup
* fix and comments
* preglobal fix
* and the rest
* and this
* added hybrid to release
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 973d90be779efc0e4a83eeab213c0cc9b4d711ce
* cancel rate
* Update selfdrive/car/subaru/carcontroller.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* leave it as it was for now
* cleanup
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fc9a623d69919897c3e070ed11309c92651611a8
* Add longitudinal support for Subaru Crosstrek and Impreza
* Update experimentalLongitudinalAvailable check
* Update supported cars list
* bump panda
* Remove/rename es_lkas_msg to es_lkas_state_msg
* Use stockAeb for AEB passthrough
* bump panda
* bump panda
* remove stockFcw from stockAeb
* Subaru: Add FCW_Cont_Beep to stockFcw signals
* bump panda
* bump panda
* update poetry deps: shellingham
* bump panda
* bump panda
* Revert "update poetry deps: shellingham"
This reverts commit 6e9b20964890c8a5c416a17b8aaad4cc16fddcfc.
* Merge fixes
* bump panda
* bump panda
* update supported cars list
* dont use counters for long control
* fix unittests
* submodules update
* only soft disable in long control
* use common functions and cleanup
* apply hystersis correctly
* move to comma repo
* use CanBus
* cleanup
* explicit copy
* behind a flag
* remove unrequired rpm checks
* add comment
* fix flag issue
* we still need to check rpm
* update docs
* enable long for a test route
* unit tests
* inactive throttle fix
* Update subarucan.py
* Update carcontroller.py
* Update carcontroller.py
* inactive throttle fix
* Delete settings
* fix rate limit
* bump submodules
* bump panda
* bump panda
* bump panda
* bump panda
* simplify initial implementation, remove AEB
* reduce initial complexity by not intercepting cruisecontrol or brake_status
* fix fwd hook test
* show pcb off warning
* cleanup and setup for tuning
* fix sumobuldes
* revert unrelated changes
* only whats required
* only whats required
* clean that up
* better comments
* behind the flag for now
* comments and minimize diff
* align stuff
* cleanup for PR
* apply review suggestions
---------
Co-authored-by: Martin Lillepuu <martin@mlp.ee>
old-commit-hash: d6c682b40168241e481aa2904198ac29c8d1a73e
* calculate rate
* added adeeb's comment
* move to selfdrive/car
* that makes way more sense
* much simpler
* fix rate
* preglobal doesn't have a counter
* update ref
* merge
* update ref after merging
old-commit-hash: 7ec52da33ade1b0926b38fb5dc1e2bc52e957bad
* Update Car/Subaru values.py to support 2022 Crosstrek
Tested via SP, just want support via stock OP
* remove duplicates
* started adding support for toyota bZ4X
* Add files via upload
* Update values.py
* Update values.py
* Update values.py
* Update values.py
* remove duplicates and mistakes
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 2c13dea1c822ce8be02be530604d0d984277ad13
* What if: no signals! 🙅🤌🎆
* do hyundai
* honda!
* do gm
* and vw! (sorry comments)
* do those
* -500
* little more
* fix subie
* change back
* bumpopendbc
* oof lol
* messages
* some clean up
* here too
* clean up honda radar_interface.py
fix
rm
* bump opendbc to master
* add todo
* rename checks in tesla/radar_interface
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbfcc405715ae4fa45b3beea03dd82ba925495c4
* Update Car/Subaru values.py to support 2022 Crosstrek
Tested via SP, just want support via stock OP
* remove duplicates
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: d7e857730121c7c6426ebd7310c1db1e534c692c
* more stuff
* even more
* all parts func
* start to use it
* include self in parts
* use car_parts_new
* not used
* more usages
* remove get_parts
* remove more commented stuff
* remove iter
* clean up some more stuff
* more
more
* ford
* optional
optional
* nissan
* use new classes
* fix tests
* fix
* order
* no more required
* connector
* CARS.md
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 024abe6455d44c7616ca7c694643c5324d0d371c
* frequency based messaging
* frequency based messaging
* frequency based messaging
* frequency based messaging
* rename better
* use frame in if statement
* syntax
* remove extra space
* put all behind one if statement
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c1909df43716d8e40333b2e587dbc5ac97020b05
* generic car parts
* better carparts
* add part type
* more tests
* multiple enums
* unit tests
* just check isinstance
* better name
* remove _connector suffix
* remove those hyundai lines
* remove default arg
* Revert "remove default arg"
This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad.
* cleaner code structure
* use fingerprint
* review
* abstrac data class + common
* no more dataclass
* conflict
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9f5f8b603cf69b06c4804632268491cf38cfac7e
* add harness kit content to the doc
* parts as enum
* nissan
* merge column
* rename column
* scaling
* scaling again
* 500px
* align text
* more px
* add style
* more width
* more
* more
* smaller text
* make all text smaller
* prev width
* default list
* remove hidden a ref
* try to remove again
* revert
* replace harness with harness_kit
* try fix
* cleaner
* center everything
* make pylint happy
* allow more than 1 of each parts
* use copy module
* review
* testing spacing
* revert
* bigger text
* formating
* split harness col lines
* remove print
* resolve
* rename to view
* keep formating in template
* simplify
* add unit test
* more generic way
* better
* harness connector only
* comment
* review
* put back harness parts
* missing dash
* too much space
* don't reload when clicking
* shorter comment
* only last line
* generate
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 70677fe5fc044bff0ea99eab6bba5a6d02d5a85f
* finally fix subarucan formatting
* no need for intermediate variables
* make this check explicit
old-commit-hash: 9689e9c5675835a611a749c4a024551263f5daa3
* Update counter in carstate checks
* Rename es_lkas to es_lkas_state to match signal
* formatting
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 13c75dc138477def107f7da8b0f6430b65d73399
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* remove compiler flag stuff
* force error for testing
* bump panda and fix mistake
* wip
* bump panda
* wip
* wip
* forgot checksum and stuff
* add to signals
* rename
* test
* test
* bump panda and opendbc
* bump cereal
* add blank filler
* test
* add steer required to infotainment
* fix missing bit
* fix missing bit
* cleanup for PR
* cleanup for PR
* bump submodules
* wip
* wip
* i wonder what 1 is
* seemed to also be obstacle detected?
* bumppanda
* only if global
* only global gen 2
* fix order
* detect and send
* detect in rest of places
* update refs
* bumpopendbc
* copy whole message (camera sometimes sets these signals)
* bumppanda
* update refs!
* bumppanda
* let's not change this
* same as all the other functions
* Revert "same as all the other functions"
This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d59bfa551955c481fd3762170d483a44251122f7
* rename function
* make a wrapper function (ford uses dynamic up/down limits
* make two functions consistent
* make torque function convert to int
old-commit-hash: 581fd62d2642629b23ac111112245a963202143f
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
old-commit-hash: 8f5057ff2dbea4ebc85bc8f55bc7a37e4d5969b6