* k-line slow init
* k-line slow init LED bit blink
* fix misra violations
* better names for k-line methods
* debug prints match names
* switch to timer
* use TIM4 until I figure out TIM5
* tickle faster
* fix bit bug and add stop bit
* TIM5 working
* USB return after addr sent
* fix l-line reset
* fix misra violations
* blink for the ones instead of the zeros
* k-line 5 baud fault type
* lin check
* use TIM5 or wakeup
* better names
* enable UART RX interrupts
* update debug prints for python3
* improve kline functions and fix checksum
* k-line wake-up conforming to KWP2000 fast init
* fix timing
* toggle k and l line together by default
* k-line wakeup using timer
* k and l were flipped
* fix misra compliance
* 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
* 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>