panda/board/pedal
Igor Biletskyy b47b8259ef
unify CAN/FDCAN odjects naming (#1596)
* init

* happy MISRA
2023-08-21 16:09:31 -07:00
..
.gitignore Pedal: only one firmware (#164) 2019-03-03 21:04:41 -08:00
README.md cleanup old pedal stuff (#1552) 2023-08-04 10:40:53 -07:00
SConscript cleanup bus count constant 2023-08-04 10:47:03 -07:00
flash_can.sh cleanup old pedal stuff (#1552) 2023-08-04 10:40:53 -07:00
main.c unify CAN/FDCAN odjects naming (#1596) 2023-08-21 16:09:31 -07:00
main_declarations.h rename puts to avoid conflict with stdio.h (#1174) 2022-11-29 22:55:10 -08:00
recover.sh cleanup old pedal stuff (#1552) 2023-08-04 10:40:53 -07:00

README.md

pedal

This is the firmware for the comma pedal.

The comma pedal is a gas pedal interceptor for Honda/Acura and Toyota/Lexus. It allows you to "virtually" press the pedal and borrows a lot from panda.

== Test Plan ==

  • Startup ** Confirm STATE_FAULT_STARTUP
  • Timeout ** Send value ** Confirm value is output ** Stop sending messages ** Confirm value is passthru after 100ms ** Confirm STATE_FAULT_TIMEOUT
  • Random values ** Send random 6 byte messages ** Confirm random values cause passthru ** Confirm STATE_FAULT_BAD_CHECKSUM
  • Same message lockout ** Send same message repeated ** Confirm timeout behavior
  • Don't set enable ** Confirm no output
  • Set enable and values ** Confirm output