14 Commits

Author SHA1 Message Date
Jason Wen
c7780b18e8 Merge branch 'upstream/opendbc/master' into sync-20251114
# Conflicts:
#	SConstruct
#	opendbc/car/tests/routes.py
#	opendbc/car/toyota/carcontroller.py
#	opendbc/car/toyota/carstate.py
#	opendbc/safety/lateral.h
#	opendbc/safety/modes/subaru.h
#	opendbc/safety/modes/subaru_preglobal.h
#	opendbc/safety/modes/toyota.h
#	opendbc/safety/tests/common.py
#	opendbc/safety/tests/libsafety/safety_helpers.h
#	opendbc/safety/tests/libsafety/safety_helpers.py
#	opendbc/safety/tests/misra/main.c
#	opendbc/safety/tests/test_chrysler.py
#	opendbc/safety/tests/test_honda.py
#	opendbc/safety/tests/test_hyundai.py
#	opendbc/safety/tests/test_hyundai_canfd.py
#	opendbc/safety/tests/test_toyota.py
2025-11-14 02:05:19 -05:00
Adeeb Shihadeh
8a2b629d41 safety: cleanup remaining panda bits (#2807)
* remove can_declarations

* rm faults

* rm drivers

* rm checksum thing

* renames

* remove ST timer

* last renames

* lil more
2025-09-27 15:58:50 -07:00
DevTekVE
5026fda39e Merge branch commaai/opendbc:master into branch sunnypilot/opendbc:master-new
# Conflicts:
#	.github/workflows/tests.yml
#	.pre-commit-config.yaml
#	opendbc/car/hyundai/carstate.py
#	opendbc/car/tesla/carcontroller.py
#	opendbc/car/tesla/teslacan.py
#	opendbc/safety/modes/hyundai_common.h
#	opendbc/safety/safety.h
2025-05-27 14:20:27 -04:00
Jason Wen
a051754777 MADS: Steering Mode on Brake Pedal Press (#156)
* MADS: Steering Mode on Brake Pedal Press

* fix

* rename and readjust

* redundant

* test

* mutation

* hmm

* less is more
2025-05-16 15:36:25 -04:00
Adeeb Shihadeh
a633eeb65c safety: remove disengage on gas (#2232)
* rm dog

* add back
2025-05-13 14:32:03 -07:00
Jason Wen
2faae4b627 Revert "MADS: Steering Mode on Brake Pedal Press (#92)" (#114)
This reverts commit a26ea1e3ee.
2025-04-04 22:27:54 -04:00
Jason Wen
a26ea1e3ee MADS: Steering Mode on Brake Pedal Press (#92)
* reimplement

* add replay

* fix safety helpers
2025-03-19 17:48:27 -04:00
Jason Wen
c00137782e Revert "MADS: Steering Mode on Brake Pedal Press (#89)" (#90)
This reverts commit e670860afd.
2025-03-19 16:01:41 -04:00
Jason Wen
e670860afd MADS: Steering Mode on Brake Pedal Press (#89) 2025-03-19 08:52:23 -04:00
DevTekVE
67683321a3 Merge branch 'master-ref-20250228' into sync-20250228-2
# Conflicts:
#	opendbc/car/chrysler/carcontroller.py
#	opendbc/car/ford/carstate.py
#	opendbc/car/hyundai/carcontroller.py
#	opendbc/car/hyundai/carstate.py
#	opendbc/car/hyundai/hyundaicanfd.py
#	opendbc/car/hyundai/interface.py
#	opendbc/car/hyundai/values.py
#	opendbc/car/mazda/carcontroller.py
#	opendbc/car/nissan/values.py
#	opendbc/car/subaru/carcontroller.py
2025-02-28 17:40:05 +01:00
Adeeb Shihadeh
d68ad22371 Remove duplicate safety mode definition (#1776)
* Remove duplicate safety mode definition

* lil more

* lil more
2025-02-20 21:53:25 -08:00
Shane Smiskol
6f83fdf9b9 Move car safety modes to opendbc (#1713)
* move safety tests

* move libsafety

* move safety

* rename imports

* copy over needed (minimalized) board and driver code

* dont test safety here

* add new job for safety tests

fix

* try fix

* ubsan

* ?

?

* missing cffi

* should be final fix

* mac fix

* no mac

* use setup script

* no cd

* this is the correct way to do it

* add misra

* misra fixes

* run

* setup misra

* add missing files

* is this used?

* add that

* Revert "is this used?"

This reverts commit 2f34762dfa65821e1ee398675bf62d1a256ebec8.

* need this

* misra mutation test

* fix

* no race conditions

* test

* cache cppcheck

fix

* setup

* good timeouts

* mutation test

* fix

* no

* Revert "no"

This reverts commit 39e10a045a4a5411a64de791ae463461f8a5f37b.

* already tested

* move Safety Model readme section to opendbc

* fix

* fix

* disable mutation tests for merge

* namespace

* test no cache

* 1m

1m
2025-02-19 17:19:31 -08:00
Jason Wen
3cb4711fe0 Merge branch 'upstream/opendbc/master' into sync-20250215
# Conflicts:
#	opendbc/car/car_helpers.py
#	pyproject.toml
2025-02-15 21:20:29 -05:00
Shane Smiskol
950e7b34ef Move safety constants to opendbc (#1714)
* move safety constants to opendbc

* todo
2025-02-11 20:13:06 -08:00