* gm: test the other relay malfunction addr when using long with gmcam (ASCMGasRegenCmd)
* make it a dict
* might want to split these changes
* messy
* Revert "messy"
This reverts commit 25cd68fcab.
* some more
* ford: check longitudinal addr
* chrysler
* fix ford!
* gm and subaru
* common
* draft
* clean up
* clean up check
* rm line
* clean up
* add context
* apparently None isn't optional
* conventional test
* Revert "conventional test"
This reverts commit 4b265ad4ab.
* whoops, clean that up
* more clean up
* add a helpful cmt
* more hlpfl cmt
* can remove this test now
* hyundai cmts
* not really needed
* test safety_defaults
* rename panda safety test
* add PandaSafetyTest base back
* remove car-specific tests from PandaSafetyTest (for ALLOUTPUT, NOOUTPUT, ELM327 tests)
duh
* Add TestAllOutput comparison
* needs to be list
* fix extra loops (faster)
* create lin msg correctly
according to ad79b7f4d2
* use bytes
* some clean up
* revert coverage
* ensure same
* fix typing
* rx hook: scan all addrs
* this is cleanest
* parameterized_class doesn't work nicely
* Revert "parameterized_class doesn't work nicely"
This reverts commit 3a46f1f514.
* add test for silent
* rm spaces
* common?
forgot
* Revert "common?"
This reverts commit f136ae276f.
* Update tests/safety/test_defaults.py
* Nissan Altima: Specify panda flag for alt bus safety config
* test this safety mode
* test this safety mode
* rm
* nl
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* _brake_msg and _gas_msg were confusing
* use class inheritance to define test specific safety variables
* Revert "use class inheritance to define test specific safety variables"
This reverts commit 734efd96f3.
* common function to set up each test
fix honda
* Revert "common function to set up each test"
This reverts commit fe4e71b3c6.
* rename related function
* formatting
* consistent name
* revert this change
* Update safety_nissan.h
Updated brake CAN address to 0x25e and brake pressed to byte logic
* Update safety_nissan.h
missed a change
* Update safety_nissan.h
* Update safety_nissan.h
* Update safety_nissan.h
Corrected Line 79 to pull from the "CRUISE THROTTLE" message at address 0x239, byte 4, bit 6, which gets us to the "USER_BRAKE_PRESSED" bit for comparison if the brake pedal is being pressed.
* Update safety_nissan.h
Removed duplicate 0x239 message in "AddrCheckStruct"
* Update safety_nissan.h
Just adding back 0x1cc to see if that fixes things?
* leaf safety tests
* clenaup
* bump openpilot
* Update tests/safety/test_nissan.py
Co-authored-by: Kirk Miller <kirk.miller92@gmail.com>
* 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
* use rear wheels for speed
* Add leaf gas message
* Add brake press check to safety
* Fix typo in comparison
* threshold on gas and brake pressed and add cruise enabled check
* Fix brake pressed result
* Use same message for cruise enabled detection
* Fix typo
* Fix tests
* Add RX checks
* Allow sending cancel from panda
* Add cancel command to TX messages in tests
* Remove angle limit
* Change speed factor
* Change speed factor in tests
* Remove max angle from tests
* Fix tests
* try cancel using seatbelt
* Try different cancel message
* Fix TX_MSGS in test
* Fix fwd test