3859 Commits

Author SHA1 Message Date
infiniteCable2
6a6630a0a3 implement required frequencies vw meb 2026-06-05 19:58:48 +02:00
infiniteCable2
9d68e0832b adapt to upstream 2026-06-05 17:47:23 +02:00
infiniteCable2
e73c2b03dd Merge branch 'master' of https://github.com/sunnypilot/opendbc 2026-06-05 17:44:23 +02:00
Jason Wen
10e654bf21 Sync: commaai/opendbc:mastersunnypilot/opendbc:master (#479) 2026-06-02 13:48:35 -04:00
Jason Wen
8e5ab226f9 Revert "Honda: remove pedal exception (#3425)"
This reverts commit 07f46708c1.
2026-06-02 13:41:35 -04:00
Jason Wen
2ee2164180 Merge branch 'upstream/master' into sync-20260602
# Conflicts:
#	docs/CARS.md
#	opendbc/car/honda/values.py
#	opendbc/safety/modes/nissan.h
#	opendbc/safety/tests/libsafety/libsafety_py.py
#	opendbc/safety/tests/libsafety/safety.c
#	opendbc/safety/tests/test_gm.py
#	opendbc/safety/tests/test_tesla.py
2026-06-02 13:36:57 -04:00
infiniteCable2
a2e65bfda4 Update values.py ford lower measured steer ratio 2026-06-02 19:30:28 +02:00
Shane Smiskol
560b75d6bb Reapply "Nissan: use high precision steering angle" (#3423)
* Revert "Revert "Nissan: use high precision steering angle" (#3420)"

This reverts commit b959fafb6a.

* update safety

* it's always bus 0

* fix test

* flip

* static
2026-05-31 02:08:32 -07:00
Daniel Koepping
df4ed5afe9 unify MAX_LAT_ACCEL and JERK (#3414)
* unify max lat accel

* add test

* fix

* rm

* no ford

* something

* revert

* more forethought

* no classbar

* rm

* this isn't used anywhere

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-05-31 01:16:49 -07:00
John Belmonte
62cd798e8d deprecate CarState.brake (#3338)
* deprecate CarState.brake

Almost all car implementations are setting CarState.brake incorrectly by either:
  * not setting it
  * setting it to 0
  * setting it to an int value having arbitrary units (the field is a float fraction)

This is a defunct field that openpilot no longer uses.  (It does use brakePressed.)

* cleanup car.capnp

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2026-05-30 14:57:43 -07:00
Adeeb Shihadeh
07f46708c1 Honda: remove pedal exception (#3425) 2026-05-30 14:49:55 -07:00
Daniel Koepping
06c5e727cf car diff: add show errors tab (#3422)
car diff: show changes tab for errors
2026-05-29 16:22:24 -07:00
adeebshihadeh
33c2d93d21 docs: Scheduled auto-update CARS.md 2026-05-29 09:17:50 +00:00
Shane Smiskol
b959fafb6a Revert "Nissan: use high precision steering angle" (#3420)
Revert "Nissan: use high precision steering angle (#3417)"

This reverts commit 27a30c8440.
2026-05-28 22:20:05 -07:00
Artemus9431
5b0567aa95 Add new fingerprints for Mazda CX-5 (#3402)
Add new fingerprints for Mazda ECU
2026-05-28 22:03:26 -07:00
Vincent Kuo
90c8889de7 Ford 2022 focus fingerprint (#3408)
* ford: add 2022 focus fingerprint

* expand

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-05-28 22:01:30 -07:00
Shane Smiskol
27a30c8440 Nissan: use high precision steering angle (#3417)
* use steer torque sensor angle

* fix for altima

* rm
2026-05-28 21:49:34 -07:00
Shane Smiskol
ff0f8e4398 Nissan: filter angle to reduce jitter (#3415)
* try this

* filter angle

* filter angle

* just filter angle

* dt

* huh
2026-05-28 20:58:58 -07:00
Shane Smiskol
ee0104a9cc Nissan: allow low gear (#3416)
allow low gear
2026-05-28 19:31:42 -07:00
Shane Smiskol
8580dc4b4f Nissan Altima: fix fingerprinting without comma power (#3418)
* add pt bus fp

* fix

* add missing engine

* keep for now

* bump
2026-05-28 19:31:22 -07:00
Shane Smiskol
8a06aa7330 vin: log bus 2026-05-28 19:28:31 -07:00
Shane Smiskol
f5d3a310c2 Nissan: fix driver override fault by winding down torque more (#3407)
* see if fix

* add ego accel

* add ego accel

* add stock dm

* revert

* clean up

* simple

* param it
2026-05-27 22:04:55 -07:00
Shane Smiskol
bc8fa34e94 Nissan: add ego accel 2026-05-27 17:28:21 -07:00
Shane Smiskol
ca0febae4c Nissan: log EPS faults (#3406)
* new lkas status

* log faults

* cmt

* rm

* why wtf
2026-05-26 23:15:20 -07:00
MVL
ed14aa6faa Honda - cardocs disclaimer for Alpha longitudinal (#3159)
* Include Alphalong footnotes

* whitespace fix
2026-05-24 08:45:01 -07:00
Jason Wen
f1ec12a4d7 Hyundai CAN: move DBC to generator (#3320) 2026-05-24 08:37:11 -07:00
adeebshihadeh
ab1a157c1f docs: Scheduled auto-update CARS.md 2026-05-22 09:13:15 +00:00
holux-design
a9903f6db5 Add 2023 Kia Niro SG2 fwdCamera (#3388) (#3396)
Add Hyundai SG2EMFC firmware version for EUR LHD (#3388)
2026-05-21 21:30:16 -07:00
Shane Smiskol
b3892b8fd9 Nissan Altima: add missing engine query for newer models and expand model years (#3400)
* fix 2024 support!

* engine

* 2023

* seen 21, 23. fill in 22

* should work
2026-05-21 21:29:42 -07:00
infiniteCable2
1ea4db06cb Add MEBevo Gen 2 (#25)
* fluctuation detection and recovery by TA button

* dynamically detect fluctuation state and recovery

* Update dbc.py mqbevo2024 dbc call

* Update override.toml implement fingerprint for mqbevo2024

* Update carcontroller.py turn indicator control only for existing emergency assistant

* Update carstate.py

* Update fingerprints.py audi mqbevo gen 2 fingerprint data

* Update values.py audi a3 mk4 data and mqbevo gen2 flags

* Update values.py new flags and nicer value assignment

* Update interface.py detect traffic sign recognition and and emergency assist

* Update radar_interface.py adapt radar interface

* Create vw_mqbevo_2024.dbc

* Update car_list.json mqbevo gen 2 generic fingerprint and audi

* Update interface.py add hca 03 detection

* Update carstate.py watchdog only if stock hca 03 not present

* Update carcontroller.py remove, no experiments, just detection in carstate

* Update carcontroller.py

* Update carstate.py watchdog only

* Update carcontroller.py

* Update carstate.py cleanup

* Update values.py cluster ta no lane style flag

* Update mebcan.py no ta lanes for flag

* Update carcontroller.py pass through car params

* Update interface.py add  mqbevo gen 2 to allow new crc

* Update radar_interface.py

* testing

* Update carcontroller.py reorder, hca flag is used also for another use case

* new cs parameter for steer warning, pass vw eth detection

* remove test
2026-05-21 18:00:55 +02:00
infiniteCable2
2270bfc62b Move VW controller logic to controlsd curvature controller (#24)
* move pid and closed loop handling to controlsd

* add d

* Update car.capnp

* remove d

* cleanup
2026-05-21 16:44:08 +02:00
commaci-public
a527667083 [bot] Update uv.lock (#3397)
Co-authored-by: Vehicle Researcher <user@comma.ai>
2026-05-18 09:02:15 -07:00
Daniel Koepping
17286eba40 Add VW MEB can ignition (#3387)
* move can ignition to opendbc

* more tests

* init counters for deterministic test

* Revert "init counters for deterministic test"

This reverts commit d2abb4a9a6c3fde3bc4f4c4a396f62f4fab42de1.

* rm

* use getter/setter

* clean tests

* fix test

* add loop

* split into brand tests

* add vw meb can ignition

* smol

* bump
2026-05-13 15:04:20 -07:00
Daniel Koepping
31f5c16f54 move can ignition to opendbc (#3370)
* move can ignition to opendbc

* more tests

* init counters for deterministic test

* Revert "init counters for deterministic test"

This reverts commit d2abb4a9a6c3fde3bc4f4c4a396f62f4fab42de1.

* rm

* use getter/setter

* clean tests

* fix test

* add loop

* split into brand tests
2026-05-13 11:34:35 -07:00
commaci-public
aae4827da4 [bot] Update uv.lock (#3364)
Co-authored-by: Vehicle Researcher <user@comma.ai>
2026-05-11 09:16:55 -07:00
adeebshihadeh
bd348b2d69 docs: Scheduled auto-update CARS.md 2026-05-11 09:18:06 +00:00
Joshua Auger
3e4da61b14 HKG: Ioniq 6 (without HDA II) Fingerprint (#3362)
* HKG: Ioniq 6 HDA I Fingerprint

* Add FW

---------

Co-authored-by: Joshua Auger <joshua@Joshuas-MacBook-Air.local>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-05-10 22:51:11 -07:00
Shane Smiskol
86c4301fac Revert "deprecate wheelSpeeds"
This reverts commit a80f6f74f6.
2026-05-10 22:33:48 -07:00
infiniteCable2
cd5cfdb1ee Merge branch 'master' of https://github.com/sunnypilot/opendbc 2026-05-10 12:35:01 +02:00
Lukas Heintz
4dad7b09dd Rivian: suppress ACM hold-the-wheel warning during MADS-only lateral (#465)
The wheel-touch override that fakes HandsOn=1 to suppress the ACM's
"hold the wheel" warning was gated on CC.enabled, which is False
when the user runs MADS lateral without ACC. In that mode the ACM
sees the real (intermittent) SCCM_WheelTouch signal and escalates
to the loud red-message warning even though openpilot is steering.

Gate on self.mads.lat_active instead so the override fires whenever
openpilot is doing lateral control, including MADS-only mode.

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2026-05-09 17:59:18 -04:00
Shane Smiskol
a80f6f74f6 deprecate wheelSpeeds 2026-05-08 22:23:18 -07:00
Shane Smiskol
197e434625 Toyota: fix wheel speed signals (#3380)
* new signals

* Revert "new signals"

This reverts commit 440904583b2887047773facdc66e5e4a3b3ac3a5.

* add fault signals

* add other fault tracking msg

* check fault in cs

* fix signal decode in safety

* check fault bit in safety

* fix test

* coverage

* flip

* GET_BIT

* cmt

* misra
2026-05-08 22:22:23 -07:00
infiniteCable2
78e7cdaa18 Update carstate.py bsm probably on same sensor bus for gen 1 mqbevo too, not restrict to pt bus 2026-05-04 20:36:00 +02:00
Jason Wen
57b531acd3 Platform List: include community supported platforms (#466) 2026-05-03 00:58:29 -04:00
infiniteCable2
7791360eca Update values.py 2026-04-30 20:54:52 +02:00
infiniteCable2
1780b3f6ff Update car_list.json 2026-04-30 20:52:21 +02:00
infiniteCable2
514b60cf85 fix car list entry 2026-04-30 20:49:00 +02:00
infiniteCable2
4e19e965ee Add Ford MEB to Volkswagen 2026-04-30 20:47:46 +02:00
infiniteCable2
2da3377347 Merge branch 'master' of https://github.com/sunnypilot/opendbc 2026-04-27 18:38:58 +02:00
Jason Wen
81b7b3a2d2 Sync: commaai/opendbc:mastersunnypilot/opendbc:master (#463) 2026-04-26 03:08:47 -04:00