* make explicit, there was no bug only because the if statement is identical to above
* debug
* Revert "debug"
This reverts commit 2ec83677c3.
* Revert "make explicit, there was no bug only because the if statement is identical to above"
This reverts commit fcb2a106b9.
* fixes
* remove
* allow 1 second
* remove
* clean up
* call every can msg
* safety_tick_rx_invalid like test_models
* order
* skip end
* try that
* make explicit, there was no bug only because the if statement is identical to above
* debug
* Revert "debug"
This reverts commit 2ec83677c3.
* Revert "make explicit, there was no bug only because the if statement is identical to above"
This reverts commit fcb2a106b9.
* fixes
* clean that up
* and this
* toyota torque on toyota for safety replay
* Honda torque on Honda for safety replay
* Chrysler torque on Chrysler for safety replay
* Subaru torque on Subaru for safety replay
* fix
* Honda is Big Endian!
* Update helpers.py
* we already do this every where
* Update tests/safety_replay/helpers.py
* Update tests/safety_replay/helpers.py
* Update tests/safety_replay/helpers.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* no specific revision for mypy
* bump to ~OP version
* same warnings as openpilot
* ignore
* fix
* rm that
* switch to ignore so mypy lets us know when it's fixed
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* VW MQB: Longitudinal safety
* disregard ACC_13 for now
* abstraction cleanup
* fix long control flag name
* quick hack
* VW MQB: Cleanup message counter handling
* various cleanup
* try without ACC_04
* follow DBC updates
* bump Docker opendbc ref
* additional main switch and cancel handling/testing
* pacify linter
* style
* handle the overlap tests like HKG CANFD
* update replay route
* commonize elements between MQB and PQ
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* proper use of globals/conventions
* make these global
* this is better for now
* better comment on accel boundary scaling
* spelling error
* reset on init
* try bumping openpilot
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* VW PQ: Updated checksum and counter handling
* first pass PQ long control safety
* refactor stock test to prep for long test
* long control tests
* falling edge enable logic and tests
* accidentally worked but this is better
* test misra/cppcheck evaluation of debug build
* Revert "test misra/cppcheck evaluation of debug build"
This reverts commit 7594fc5e2f.
* allow use of manufacturer ramp-up rate
* soften wheel-touch threshold
* fix tests
* check/test ACC main switch state
* fix CRC for Motor_5
* derp
* retry CI
* try that again
* fuuuu
* fix Motor_5 checksum validation
* use existing acc_main_on global
* re-pin opendbc
* no need for resume spam in longitudinal mode
* concise
* consistency cleanup
* comment and whitespace cleanup
* more cleanup
* more
* restore driver torque threshold
* add long control replay route
* obsolete comment
* proper flag name
* wild to mild-ish
* bump openpilot ref
* Update test_safety_replay.py
* handle non existent routes
* comment consistency/polish
* flip comparison order for falling edge clarity
* restore refs
* read the diff next time, speedy
* srsly
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* civic 2022
* remove
* maybe not the right way
* Honda Radarless: add tests
* update
* different bus
* other bus
* Revert "other bus"
This reverts commit 691e045f87.
* add new HUD message
* add
* different bus
* correct freq
* small updates
* comma
* remove
* remove for now
* missing
* not needed
* make into a safety param and clean up
* this can be reverted
* clean up tests (something's broken)
* fix some errors
* this message doesn't exist on any bus
* this car doesn't have BRAKE_MODULE
* make safety more explicit and fix button safety
* fix some tests
* fix tests
formatting
clean up
* radarless uses SCM_FEEDBACK too
* fix tx msgs, clean up, make test common between bosch tests
* misra
* Fix python linting errors
add comment
* not sure where that came from
* add comments
add comments
* we can guarantee honda_bosch_long is true only if not radarless
* these are the same! 🎉
* use updated route with correct tx msgs
* helper pt bus function
* this is explained above
* use function
* no more blocked messages!
* bump openpilot
* comment
* line too long
* needs system
* send on bus 0
* Camera needs bus 2 for buttons
This reverts commit f90db5d359.
* fix button tests
* bump openpilot
* move this down
* make this explicit
* comments
Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
* Add support for new Honda Bosch vehicles
- Support extended LKAS_HUD IDs on Honda Bosch
- Support extended ID checksum on incoming frames in safety hook (currently unused).
condense
Cleaner. Don't need to store the value in checksum at the return.
Co-Authored-By: Adeeb Shihadeh <adeebshihadeh@users.noreply.github.com>
* revert checksum change
* use full space
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* WIP: new tesla safety
* fix misra
* add unit test
* use | instead of +
* other angle sensor
* change brake message
* fix cancel safety violation
* fix bus for cancel message
* add support for autopilot passthrough and fix cancel message
* fix tests
* this check fails
* fix build
* fix build on c2
* cleanup
* add back AP status to the check
* bus 2
* this check is dumb
* try this?
* add route to do replay on
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
* fix W391
* E262
* E703
* W293
* some E
* E231
* some more E
* E225
* more E
* E252
* no tabs
* more tabs
* E701
* uds.py
* almost all of them
* only e265 left
* not sure why this is triggering on commented out code
* ignore esptool
* Add pre commit checks
* untested but should work
* fix typo in dockerfile
* add sqlite
* add pylintrc to ignore usb1 members
* Typo in stage name
* Move to requirements