* how does this/did that pass?!
* fix misra
* add comment
* we could do this
* or could do what eps torque does
* another pr
* not unused
* need this for special gm
* support testing integer torque
cmt
* there we go
* stash again
* Revert "stash again"
This reverts commit 4ecf6cc91c.
* this works!
* clean up
* cmt
* ugh this test was broken
* add some comments for this behemoth, and switch to rxing real msgs
* for now, no measurement test since we don't have any info about driver torque on can. for ex:
max value, factor on CAN, etc.
clean up
* more clean up
* just use it everywhere
* better cmt
* cmt
* found another bug!
* update test
* why does toyota add 1 but not chrysler?!
* test/fix others
* clean up
* more
* global
* clean up
* one function to reset AND update
* without abs and only negative values: this is not caught (since negative error < 1)
* ugly draft
* clean up, tests work
* now only should use this function
* better cmt
* better loc
* constant in python too!
* actually duplicate comment
* draft
* now clean up old comments
* no more special broken ice addr checks
* revert
* fix
* add test for ICE HDA1
* Revert "add test for ICE HDA1"
This reverts commit 76d2b0f066.
* can be separate
* macro for addr check struct
* add checks for alt buttons (fixes race condition)
* add macro for array len
* add comment
* misra
* comments to help separate
* can't put parenthesis around array item
* review suggestions
* no intermediary macros for making the structs (remove misra violation)
* Update board/safety/safety_hyundai_canfd.h
* single lines
* can avoid double checking hda2 since we have addr checks for it now
* wip
* steer bit
* add tolerance
* increase a bit more
* test too
* Had that backwards
* Here too
* review suggestions
* minimal diff
* minimal diff
* add type hints
* spacing
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* update test name
* add tolerance comment
Co-authored-by: Shane Smiskol <shane@smiskol.com>
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* 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>
* new steering message!
* fix
* check tx
* fix var
* allow all tx to test LFA suppression
* Attempt to block laneline information to suppress LFA
* Try 0x364
* Block all bus 2/6 messages
* Final test to block LFA
* Fix tx
* in another PR
* cleanup
* lint
* Add new tx to unit test
* linter
* Apply suggestions
* Revert to this
* Unnecessary
* clean up
* rename to hda2
* prototype
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Safety: Utilize boolean values for message block checks in forward hooks
* Revert "Safety: Utilize boolean values for message block checks in forward hooks"
This reverts commit ee9809dbd3.
* others
* Revert "others"
This reverts commit f64cc1c76a.
* just do hyundai
* function to get steering address
* unclear if this is cleaner
Revert "function to get steering address"
This reverts commit 2a2b972a20.
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>