* 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
* Mazda: add safety test
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Update mazda safety to capture more events
* gas press
* brake press
* speed - lkas on/off
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Customize safety tests
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add RX checks
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Format
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Set lkas enable speed at 52 kph
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Test case when speed<enable_lkas_speed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Be consistent with names in other places
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add test case for lkas on when speed dips below lkas enable speed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Make sure lkas disabled
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Use car's speed signal instead of wheel speed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Allow acc cancel msg
When gas is pressed OP disenages stock cruise doesn't get disengaged.
panda needs to know when OP engages again. OP re-enageges on cruise button
presses. This commit uses the same re-enage logic in panda.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* rebase
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* allow acc_cancel in safety tests
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* rename variable, fix comment
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* bring over toyota + support code from safety-test-refactor
* old tests still use StdTest
* don't duplicate
* test fwd
* make linter happy
* fix indent
* fix ident
* fix order
* whitespace
* move some common tests
* cleanup
* unused
* comment
* wait for tx slots before clearing nak
* fix bootstub
* Fixed misra
* Cleanup
* Added bulk write test to test USB NAK on bulk CAN messages
* Added automated bulk tx test
* Fixed linter
* Fixed latency test influence
* Added timeout to python API
* Disabled can write timeout in bulk write test
Co-authored-by: Robbe <robbe.derks@gmail.com>
* Align with VW Community port 0.7.4-devel
* Import of PQ35/PQ46/NMS safety work
* Add safety replay drive for PQ35/PQ46/NMS
* Unwind community port hax for upstream, bump Panda ver
* Update comment
* Reduce whitespace diff
* Reduce whitespace diff
* Don't test the drive until it's uploaded
* Propitiate MISRA
* Ixnay on the VERSION LF
* Remove VERSION LF, update safety_replay with PQ drive
* Freshen cereal ref to include fields used in VW PQ test drive
* Remove superfluous return
* Bypass Docker caching issue