Files
panda-meb/board
Shane Smiskol 6a4daee044 safety: disallow longitudinal actuation while gas is pressed (#884)
* test implemented for Toyota

* fix Toyota interceptor

* use hasattr

* do Honda (still need Nidec ACC_HUD safety)

* add longitudinal_allowed to ACC_HUD (Nidec w/ no pedal

* rx not needed

* add base test for longitudinal

* update name

* stash

* do GM

* use gas_pressed_prev

* do tesla safety

* add full tests

* add get_longitudinal_allowed for simpler tests

* remove unnecessary tests and revert honda/hyundai

* fix honda after revert

* make sure releasing gas allows longitudinal again

* clean up

* clean up

* Just check longitudinal allowed

* don't need to reset detection

* use prev and add brake detection

* only on gas

* make sure we don't change current_controls_allowed braking behavior

* clean up tests

* use current_controls_allowed for honda & GM

* this is pretty much tested in common

* fix up tests and move common tests

* revert

* better place

* add for body
2022-04-01 19:54:40 -07:00
..
2022-02-09 15:36:37 -08:00
2022-04-01 19:15:04 -07:00
2021-07-02 18:25:35 -07:00
2021-07-14 13:49:28 -07:00
2022-04-01 19:15:04 -07:00
2021-06-18 16:42:49 -07:00
2022-04-01 19:15:04 -07:00
2022-04-01 19:15:04 -07:00
2022-03-07 14:24:57 -08:00
2021-07-02 18:25:35 -07:00
2021-12-06 14:39:28 -08:00
2022-04-01 19:15:04 -07:00
2022-04-01 19:15:04 -07:00
2022-04-01 19:15:04 -07:00
2021-12-06 14:39:28 -08:00

Dependencies

Mac

xcode-select --install
./get_sdk_mac.sh

Debian / Ubuntu

./get_sdk.sh

Programming

Panda

scons -u -j$(nproc)  # Compile
./flash_h7.sh        # for red panda
./flash.sh           # for other pandas

Troubleshooting

If your panda will not flash and is quickly blinking a single Green LED, use:

./recover_h7.sh  # for red panda
./recover.sh     # for other pandas

A panda paw can be used to put panda into DFU mode.

dfu-util for flashing