75 Commits

Author SHA1 Message Date
infiniteCable2
f2aefa716b play car steering chime only if not disabled 2026-01-28 17:36:16 +01:00
infiniteCable2
24845a2b4b Merge branch 'master' of https://github.com/sunnypilot/opendbc into sync 2025-12-18 18:06:16 +01:00
infiniteCable2
8c56885fbc OP Long Support with Camera Harness (#22)
* Update interface.py it can be toggled via long alpha anyway, remove this param

* Update vw_meb.dbc

* Update vw_meb_2024.dbc awv

* Update mebcan.py awv default radar replacement add meb gen 2 value part

* Update carcontroller.py

* Update carcontroller.py adapt replacement message with correct values for meb gen 2

* Update mebcan.py

* Update vw_meb_2024.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update carcontroller.py fix

* Update vw_mqbevo.dbc

* Update carcontroller.py

* Update vw_mqbevo.dbc

* Update mebcan.py add mqbevo default values

* Update interface.py

* Update interface.py does not exist yet here

* Update carcontroller.py comment

* Update carcontroller.py comment

* Update interface.py cleanup import

* Update carcontroller.py prepare mqbevo gen 2

* Update values.py add radar standby message payload memory

* Update values.py

* Update values.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py flash mode again and fixes for paylod capturing

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py perf

* Update interface.py

* Update values.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update interface.py nicer output

* Update interface.py Tabs and spaces git Editor please

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h what

* Update vw_meb.dbc probably awv hud

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update mebcan.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update vw_meb_2024.dbc

* Update vw_meb.dbc

* Update vw_mqbevo.dbc

* Update vw_mqbevo.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update mebcan.py

* Update carstate.py check for disabled radar here

* Update carcontroller.py no acc commands when invalid radar disablement

* Update carstate.py timer

* Update carstate.py test

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carstate.py

* Update interface.py for testing

* Update carstate.py

* Update interface.py

* Update carcontroller.py dont send for testing

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update vw_meb_2024.dbc

* Update vw_meb.dbc

* Update values.py clean

* Update interface.py

* Update carcontroller.py

* Update carstate.py

* Update interface.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update interface.py for testing

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py with programming session again

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update interface.py

* Update carcontroller.py not neccessary

* Update interface.py

* Update interface.py

* Update carcontroller.py

* Revert "Update carcontroller.py"

This reverts commit c9c082daf8.

* Revert "Update interface.py"

This reverts commit 3cab537814.

* Revert "Update interface.py"

This reverts commit 51ae3a3729.

* Update mebcan.py

* Update interface.py

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update interface.py

* Update vw_mqbevo.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update mebcan.py

* Update interface.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* Update carcontroller.py

* Update values.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* Update carcontroller.py

* Update interface.py

* Update interface.py

* Revert "Update interface.py"

This reverts commit c34448a128.

* Update carcontroller.py

* Update values.py

* Update mebcan.py

* Update carcontroller.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* Update interface.py

* Update interface.py oops

* Update interfaces.py

* Update interface.py

* Update interface.py

* Update car.capnp

* Update car.capnp

* Update carstate.py

* Update carcontroller.py

* Update carcontroller.py

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update vw_mqbevo.dbc

* Update mebcan.py

* Update mebcan.py terminal rollout parameterization for mqbevo <> 0 like mqb see mqbcan

* Update mebcan.py

* Update carcontroller.py

* Update interface.py

* Update values.py

* Update car.capnp

* Update vw_mqbevo.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update mebcan.py

* Update carcontroller.py comments and for testing no hud distance signal

* Update volkswagen_meb.h add pacc and awv hud bus 2

* Update carcontroller.py

* Update carcontroller.py

* Update mebcan.py

* Update carcontroller.py

* Update volkswagen_meb.h

* Update carcontroller.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carcontroller.py

* Update volkswagen_meb.h

* Update carcontroller.py

* Update carcontroller.py

* Update mebcan.py

* Update volkswagen_meb.h

* Update carcontroller.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carcontroller.py

* Update carcontroller.py

* Update carcontroller.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carcontroller.py

* Update carcontroller.py

* Update carcontroller.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carcontroller.py

* Update mebcan.py

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update volkswagen_meb.h

* Update carcontroller.py

* Update mebcan.py

* Update carstate.py

* Update radar_interface.py

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update volkswagen_meb.h

* Update mebcan.py

* Update carstate.py

* Update carcontroller.py

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update vw_mqbevo.dbc

* Update mebcan.py

* Update carcontroller.py comments

* Update carstate.py

* Update vw_mqbevo.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update mebcan.py

* Update carcontroller.py

* Update mebcan.py

* Update volkswagen_meb.h

---------

Co-authored-by: infiniteCable <75014343+infiniteCable@users.noreply.github.com>
2025-12-13 09:51:16 +01:00
Shane Smiskol
15b8354e16 Toyota: remove disconnected DSU support (#2931)
* start rn

* bring back unsup dsu for carstate

* more

* yay more red diff

* final

* final

* expected failures for enableDsu routes. non tested for now

* keep
2025-12-04 23:51:05 -08:00
infiniteCable2
a5a9438844 Merge branch 'master' of https://github.com/sunnypilot/opendbc into sync 2025-11-16 12:18:09 +01:00
infiniteCable2
83f62bab3d Predicative Curve Speed Limits (#21)
* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update carstate.py

* Update speed_limit_manager.py

* Update carstate.py

* Update carcontroller.py

* Update mebcan.py

* Update mebcan.py for testing

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update mebcan.py

* Update mebcan.py

* Update carstate.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* optimize predicative limits

* resettable predicative data

* fix

* fix

* Update speed_limit_manager.py

* Update mebcan.py

* Update mebcan.py fix

* Update speed_limit_manager.py curve calc

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py enable logic fully here

* Update speed_limit_manager.py

* Update speed_limit_manager.py get local time form car if present

* Update interface.py add diagnose_01 signal detection

* Update values.py add diag signal flag

* Update carstate.py read Diagnose_01 for local time from car

* Update speed_limit_manager.py fix

* Update speed_limit_manager.py cleanup

* Update speed_limit_manager.py curv scaling

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py short additional decay for curve speed limiting

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py pre building unique path

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

* Update speed_limit_manager.py

---------

Co-authored-by: infiniteCable <75014343+infiniteCable@users.noreply.github.com>
2025-11-12 18:37:50 +01:00
Harald Schäfer
b59f8bdcca Torque control: no car specific gains (#2851)
* deprecate unused gains

* remove long kf field assignment that makes hitl test fail

* fix test

---------

Co-authored-by: felsager <d.felsager@gmail.com>
2025-10-20 16:49:59 -07:00
infiniteCable2
a284d69af4 Long Optimization Next Part (#15)
* Update carcontroller.py

* Update carcontroller.py

* Update vw_meb.dbc fix vrel

* Update vw_meb.dbc

* Update interface.py

* Update carcontroller.py test with comfort logic again, make this switchable soon

* Update interface.py test without p

* Update vw_meb_2024.dbc fix vrel scalings

* Update car.capnp add new carcontrol param

* Update carcontroller.py switchable jerk and limit by cc param

* Update carcontroller.py conditional calc, less cpu

* Update vw_meb_2024.dbc

* Update vw_meb.dbc

* Update vw_meb.dbc

* Update vw_meb_2024.dbc

* Update interface.py less i

* Update vw_meb_2024.dbc

* Update vw_meb.dbc

* Update interface.py

* Update speed_limit_manager.py psd mph support

* Update speed_limit_manager.py fix

* Update speed_limit_manager.py fix

* Update speed_limit_manager.py fix

* Update speed_limit_manager.py

* Update carstate.py

* Update speed_limit_manager.py make predicative speed limit processing truly switchable

* Update carcontroller.py get pred sl state from carcontrol for carstate

* Update carstate.py

* Update carstate.py

* Update values.py

* Update interface.py

* Update carstate.py fix

* Update interface.py fix

* Update speed_limit_manager.py

---------

Co-authored-by: infiniteCable
2025-10-16 17:48:45 +02:00
felsager
dfa6807ebf Lateral torque controller capnp: add derivative coefficient field in LateralTorqueTuning (#2833) 2025-10-08 15:37:06 -07:00
infiniteCable2
732a76fc92 force bsm by CC param 2025-09-07 20:29:22 +02:00
infiniteCable2
23f51a45c6 Curv corr (#11)
* use CC data for correction

* directly calibrated yaw rate, angularVelocity[2] not ok

* Revert "directly calibrated yaw rate, angularVelocity[2] not ok"

This reverts commit 194d12f8b1.

* reinclude steer ratio cupra born

* Update carcontroller.py

* why is the sign not ok
2025-09-07 19:44:55 +02:00
infiniteCable2
7115553b65 Curvature PID Correction in CarController and Static ISO Limiting (#10)
* refactoring

* fix yaw sign

* still switchable PID

* Update safety_declarations.h

* Update volkswagen_meb.h

* Update mebutils.py

* Update values.py

* fixes

* fix and refact

* Update values.py

* .......

* Update mebutils.py

* Update mebutils.py

* Update carcontroller.py

* Update carcontroller.py

* fix rate

* still the old pid, adapt

* Update lateral.py

* pid first

* cleanup

* Update carcontroller.py

* Update values.py

* clean and fix

* Update values.py

* Update carcontroller.py

* Update lateral.py

* Revert "Update lateral.py"

This reverts commit 95144f1e9d.

* Revert "Update carcontroller.py"

This reverts commit 89a2daa997.

* Revert "Update values.py"

This reverts commit 0d27c94012.

* Revert "clean and fix"

This reverts commit c40ae3fe0a.

* Revert "Update values.py"

This reverts commit ef61b30b89.

* Revert "Update carcontroller.py"

This reverts commit 283324fbda.

* Revert "cleanup"

This reverts commit f1a95418b1.

* better

* Update carcontroller.py

* Update car.capnp cleanup unused
2025-09-04 18:37:23 +02:00
infiniteCable2
e99497236c New Vokswagen Firmware Detection (#7)
* testing can fd firmware diag messages

* fix can fd offset

* test

* add ID's and request ecu's

* oopsi oops, what is this

* fix

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* boop

* adapt

* fix

* Update fingerprints.py

* Update fingerprints.py

* fix

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* Update values.py

* blocked by elm mode ....

* Update values.py

* Update values.py

* success with single did, retry multi did

* YES, FIRST COOL DETECTIONS!!!! :)

* Update fw_query_definitions.py

* Update values.py

* Update values.py

* Update fw_query_definitions.py

* Update fw_versions.py

* Update values.py

* fix missing definition

* add inverter, restruc fw def

* Update car.capnp

* Update values.py

* boop

* retry with original req/resp

* test 0x17FC diag range

* Update elm327.h

* cleanup

* extra and cleanup

* clean

* Update fw_query_definitions.py

* Update fingerprints.py

* additional protection for elm safety

---------

Co-authored-by: infiniteCable <75014343+infiniteCable@users.noreply.github.com>
2025-08-31 18:21:24 +02:00
infiniteCable2
a2f6f47437 Update car.capnp revert starting state logic 2025-08-12 17:52:51 +02:00
infiniteCable2
607cca16e9 Merge branch 'master' of https://github.com/sunnypilot/opendbc into master-new 2025-08-03 18:30:40 +02:00
infiniteCable2
9fc56b6513 Update car.capnp 2025-08-01 18:06:11 +02:00
infiniteCable2
949ae08ac3 Update car.capnp rem for now 2025-08-01 17:32:37 +02:00
infiniteCable2
a4ea65d124 Update car.capnp add car state flag for driving confirmation for extended acc starting state 2025-08-01 17:20:03 +02:00
infiniteCable2
72fd5cec97 Update car.capnp extend op long starting control params 2025-08-01 17:14:37 +02:00
infiniteCable2
e1c49b1c72 Update car.capnp 2025-07-31 20:10:37 +02:00
infiniteCable2
9c41983e3a Update car.capnp 2025-07-31 19:20:31 +02:00
Adeeb Shihadeh
a2067d048f Deprecate carState.gas (#2558)
* Deprecate carState.gas

* lil more
2025-07-25 12:15:49 -07:00
infiniteCable
f14211df19 Update car.capnp 2025-07-25 13:34:01 +02:00
Adeeb Shihadeh
dc99b8e175 revert gas/brake deprecation, need to remove car_specific.py in openpilot first
This reverts commit d0e1a299ef.
2025-07-24 17:51:11 -07:00
Adeeb Shihadeh
d0e1a299ef Revert "Revert "Slimming carState, part 1 (#2504)" (#2513)" (#2551)
* Revert "Revert "Slimming `carState`, part 1 (#2504)" (#2513)"

This reverts commit b1856fd89c.

* lil more
2025-07-24 13:49:24 -07:00
infiniteCable
9e23573ba7 Update car.capnp 2025-07-22 09:05:35 +02:00
Adeeb Shihadeh
8cdc66a32b car.capnp cleanup 2025-07-21 17:10:53 -07:00
Adeeb Shihadeh
2f5d02eea1 deprecate cruiseState.speedOffset 2025-07-21 16:57:07 -07:00
Adeeb Shihadeh
e7e929430b Reapply "Slimming , part 5"
This reverts commit d4ca46c368.
2025-07-21 16:11:01 -07:00
Shane Smiskol
b1856fd89c Revert "Slimming carState, part 1 (#2504)" (#2513)
This reverts commit cdf3e4a199.
2025-07-21 16:04:42 -07:00
Shane Smiskol
d4ca46c368 Revert "Slimming , part 5"
This reverts commit ace1115ca7.
2025-07-21 15:59:10 -07:00
Adeeb Shihadeh
ace1115ca7 Slimming , part 5 2025-07-21 15:41:08 -07:00
Adeeb Shihadeh
e4fd4686be Slimming carState, part 4 (#2510)
Slimming carState, part 4
2025-07-21 15:37:16 -07:00
Adeeb Shihadeh
019038b3de Slimming carState, part 2 (#2508)
start removing steering torque
2025-07-21 15:21:26 -07:00
Adeeb Shihadeh
cdf3e4a199 Slimming carState, part 1 (#2504)
* start with gas and brake

* cleanup

* lil more

* lil more

* last one?
2025-07-21 13:38:56 -07:00
infiniteCable
d384e0c619 Update car.capnp 2025-07-21 22:10:38 +02:00
Harald Schäfer
df1dd86a96 Torque control: rm localizer option (#2447)
* steering angle

* missed this one
2025-07-08 14:20:35 -07:00
infiniteCable
d3cedc0e90 Update car.capnp 2025-07-06 14:26:58 +02:00
infiniteCable
23bed7b189 Update car.capnp 2025-07-05 15:25:37 +02:00
infiniteCable2
3ab2d5e053 Update car.capnp 2025-05-28 19:48:52 +02:00
infiniteCable
13c93abb02 Update car.capnp 2025-05-28 16:40:50 +02:00
infiniteCable2
ca7b2d9a08 Merge branch 'master-new' of https://github.com/sunnypilot/opendbc into master-new 2025-05-28 16:13:38 +02:00
Shane Smiskol
0af0d464df Hyundai: fix recent enable button press regression (#2262)
* move back to port

* much better

* fix button type

* fix

* need to switch so it works on ports that don't use it, and makes more sense

* otherwise it'd be

* Revert "otherwise it'd be"

This reverts commit 99a95042bb4fd66e7bfbb4f792440c82974b0104.

* make sense
2025-05-18 00:51:00 -07:00
infiniteCable2
515b483225 Update car.capnp 2025-05-09 07:58:10 +02:00
infiniteCable2
dcb15f2e34 Merge branch 'master-new' of https://github.com/sunnypilot/opendbc into master-new 2025-05-09 07:55:25 +02:00
Shane Smiskol
675bc88889 Tesla: log stock LKAS actuation (#2197)
* alert for stock lkas

* never trust gpt suggestions

* missing

* cmt

* self explan
2025-05-07 14:14:28 -07:00
infiniteCable2
528a225b0c Update car.capnp 2025-05-02 17:56:40 +02:00
infiniteCable2
868f724268 Merge branch 'master-new' of https://github.com/sunnypilot/opendbc into master-new 2025-05-02 15:55:33 +02:00
Shane Smiskol
7b87e9069c Tesla: move steering disengage to generic param (#2175)
* make generic

* more correct

* for now don't change
2025-05-01 20:21:39 -07:00
infiniteCable
fc109eb568 Update car.capnp 2025-04-26 11:53:31 +02:00