Car port adapted from HotIce0/openpilot develop_byd_comma4 to sunnypilot's opendbc API (CP_SP signatures, (ret, ret_sp) carstate returns): - opendbc/car/byd/: interface, carstate, carcontroller, bydcan, values, fingerprints (BYD_SEAL_PERFORMANCE_25 with full 91-msg fingerprint) - opendbc/dbc/byd_common.dbc - Brand registration: car/values.py, car/fingerprints.py (+MIGRATION), car.capnp SafetyModel byd @35, torque_data/params.toml - safety/modes/byd.h: SAFETY_BYD 35U with real TX checks (steer torque cmd checks, longitudinal accel checks), MADS LKAS button from PCM_BUTTONS (944), pcm_cruise_check, ESC vehicle_moving. MISRA clean. - safety/tests/test_byd.py: 120 tests (stock + longitudinal variants) - opendbc/sunnypilot/car/byd/mads.py: MadsCarState tracking the dedicated LKAS steering wheel button - sunnypilot/mads/mads.py: allow_always for byd (dedicated LKAS button) - panda: restore SConstruct/SConscript build system, rebuild panda_h7.bin.signed (TIZI) with SAFETY_BYD + MADS lateral gating Known limitation: BYD_HAN_EV_23 fingerprint is a subset of the Seal's, so HAN requires FINGERPRINT=BYD_HAN_EV_23 env var (live fingerprint cannot distinguish it; Seal fingerprints natively).
49 lines
984 B
Plaintext
49 lines
984 B
Plaintext
LICENSE
|
|
LICENSE.md
|
|
README.md
|
|
__init__.py
|
|
pyproject.toml
|
|
./__init__.py
|
|
./board/__init__.py
|
|
./board/flash.py
|
|
./board/health.h
|
|
./board/recover.py
|
|
./board/body/__init__.py
|
|
./board/body/flash.py
|
|
./board/jungle/__init__.py
|
|
./board/jungle/flash.py
|
|
./board/jungle/jungle_health.h
|
|
./board/jungle/recover.py
|
|
./python/__init__.py
|
|
./python/base.py
|
|
./python/constants.py
|
|
./python/dfu.py
|
|
./python/serial.py
|
|
./python/socketpanda.py
|
|
./python/spi.py
|
|
./python/usb.py
|
|
./python/utils.py
|
|
board/__init__.py
|
|
board/flash.py
|
|
board/health.h
|
|
board/recover.py
|
|
board/body/__init__.py
|
|
board/body/flash.py
|
|
board/jungle/__init__.py
|
|
board/jungle/flash.py
|
|
board/jungle/jungle_health.h
|
|
board/jungle/recover.py
|
|
pandacan.egg-info/PKG-INFO
|
|
pandacan.egg-info/SOURCES.txt
|
|
pandacan.egg-info/dependency_links.txt
|
|
pandacan.egg-info/requires.txt
|
|
pandacan.egg-info/top_level.txt
|
|
python/__init__.py
|
|
python/base.py
|
|
python/constants.py
|
|
python/dfu.py
|
|
python/serial.py
|
|
python/socketpanda.py
|
|
python/spi.py
|
|
python/usb.py
|
|
python/utils.py |