Commit Graph

2841 Commits

Author SHA1 Message Date
Jason Wen
3e8f303b6a Merge branch 'upstream/opendbc/master' into sync-20260203 2026-02-03 23:29:42 -05:00
Jason Wen
2b5e500e4b Sync: commaai/opendbc:mastersunnypilot/opendbc:master 2026-02-03 22:21:28 -05:00
Jason Wen
14a04ec4ce Platform List: sync with latest 2026-02-02 22:21:46 -05:00
Jason Wen
807fc0dd9a Merge branch 'upstream/opendbc/master' into sync-20260201
# Conflicts:
#	.github/workflows/tests.yml
#	opendbc/car/honda/interface.py
2026-02-02 22:21:37 -05:00
Jason Wen
4d4b8b08da Revert "Mazda: Parse cruise control buttons (#307)"
This reverts commit 153d90c2e5.
2026-02-02 22:18:34 -05:00
Jason Wen
a653199681 Reapply "Lateral: lower friction threshold (#2915)" (#378) (#394)
This reverts commit a76d28a231.
2026-02-02 14:44:09 -05:00
Adeeb Shihadeh
7c78ee87b7 replace natsort with lil function (#3105)
* replace natsort with lil function

* sort
2026-02-02 08:07:10 -08:00
commaci-public
ccbf96e0de [bot] Update uv.lock (#3104)
Co-authored-by: Vehicle Researcher <user@comma.ai>
2026-02-02 07:49:32 -08:00
Jason Wen
19d54330cc Revert "Toyota: clean up alpha long (#3074)"
This reverts commit 8a25621e97.
2026-02-01 22:04:19 -05:00
Jason Wen
b071657017 Revert "Toyota: clean up radarUnavailable (#3075)"
This reverts commit cbff382e5b.
2026-02-01 22:04:15 -05:00
Jason Wen
c7a71c36ce Revert "Toyota: remove NO_STOP_TIMER flag (#3076)"
This reverts commit 1cd92abbf8.
2026-02-01 22:03:59 -05:00
Daniel Koepping
3d6860a4b6 Car Diff: wrap output (#3098)
hide changes
2026-01-31 22:36:25 -08:00
Shane Smiskol
fe3bf2383c typo
route is 38b065e31c0a9ed7/000000cf--a4a20815a6
2026-01-31 21:45:15 -08:00
Shane Smiskol
de9d0ef450 add Subaru angle/hybrid cruise TODO 2026-01-31 21:44:27 -08:00
Jacob Waller
c2eba0b51d Fix Subaru message definitions for HighBeamAssist and static messages (#3102)
Co-authored-by: Jacob Waller <jacob.waller@inspire11.com>
2026-01-31 21:18:21 -08:00
Shane Smiskol
cc29c45979 Subaru: remove unused safety angle measurement (#3100)
* we simply don't use this

* as well
2026-01-31 02:14:39 -08:00
Shane Smiskol
3676621a72 Clean up Subaru interface/angle cars (#3099)
* clean up

* unset too?1

* prob fine at 0.1
2026-01-31 02:07:43 -08:00
Shane Smiskol
3392232f32 Subaru ANGLE_LKAS: fix cruise control signals (#3096)
* outback is always zero?

* move inside

* fix bus
2026-01-31 01:52:37 -08:00
adeebshihadeh
497727cbed docs: Scheduled auto-update CARS.md 2026-01-31 08:09:39 +00:00
Shane Smiskol
197b55eb0d Subaru hybrid: fix cruise enabled signal (#3097)
* brake or status works

* hmm which name

* better

* rest

* cmt

* cmt

* what
2026-01-30 22:12:01 -08:00
Shane Smiskol
b5a90e97d0 Fix Subaru steering angle rate (#3095)
what is going on
2026-01-30 20:44:03 -08:00
Shane Smiskol
8a60a647d7 Subaru global: use universal angle signal for angle cars (#3094)
* swap

* self explan

* combine into if right below

* split by lkas angle
2026-01-30 20:38:00 -08:00
Daniel Koepping
50f1b43fd6 Car diff: lazy load (#3092)
lazy load to import from openpilot
2026-01-30 19:29:24 -08:00
Daniel Koepping
7048ac6bfa Car Diff: better comment (#3090)
* add explainer

* func

* change text

* icons

* lines

* test changes

* Revert "test changes"

This reverts commit 2b71f820025e6f857ae01e9847859a1b444b80e1.

* test change

* Revert "test change"

This reverts commit d3c4f3d425977965b4cfb8ba96b8dc9c01e79650.

* Update opendbc/car/tests/car_diff.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update opendbc/car/tests/car_diff.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update opendbc/car/tests/car_diff.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-30 16:53:07 -08:00
Kevin Turcios
2da21d7b4a body: optimize CRC-8 checksum with lookup table (#3028)
* body: optimize CRC-8 checksum with lookup table

* Add CRC8BODY lookup table for body checksum

Generate CRC-8 table with polynomial 0xD5 at import time,
following the existing pattern for other CRC tables.

* Use CRC8BODY from crc module in body checksum

Replace hardcoded 256-entry lookup table with import from
shared crc module, following reviewer feedback.

---------

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
2026-01-30 16:51:47 -08:00
MVL
6a18a5f470 Honda: Update to latest community car support (#3089)
Update to latest community car support
2026-01-30 14:31:01 -08:00
Alexandre Nobuharu Sato
f80dc22894 add STEERING_DIRECTION bit to gwm_haval_h6_phev_2024.dbc (#3093)
* add STEERING_DIRECTION bit to gwm_haval_h6_phev_2024.dbc

* add back crc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-30 14:19:32 -08:00
MVL
3b342d76aa Honda - move brakehold_alt to honda_common (#2758)
* add brakehold_hybrid_alt

* remove brake hold
2026-01-30 14:08:30 -08:00
Shane Smiskol
e76c2cf5bb Toyota: make RAV4 TSS2 use torque control (#3091)
* need to do fric

* it's real params

* wrong one

* wtf
2026-01-30 00:13:10 -08:00
Daniel Koepping
7d7cf050e9 Car diff: add CarParams (#3077)
* signals from refs

* use vals as prev

* show all waveforms

* get nested

* use full refs

* use explicit pr signal

* Update opendbc/car/tests/car_diff.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* var names

* hints

* more

* more

* Revert "more"

This reverts commit aa31c7ddb0cdbc7f236126887ad964f12d731665.

* Revert "more"

This reverts commit b998c6049d68c6a94dec6f7a4a54db647e30d27b.

* Revert "hints"

This reverts commit 1cbfb879b05be572ccf2ddc099c861b3bba175fe.

* add typing

* typing

* add CarParams

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-29 19:39:45 -08:00
Shane Smiskol
c8e92d0463 Remove RAV4 2022 from PID lateral control (#3087)
* this platform doesn't have any known special eps fw

* bump down to 1.9
2026-01-29 15:46:41 -08:00
Shane Smiskol
83614718e2 Remove angle RAV4 platform from PID list (#3085)
* rm

* just

* rm
2026-01-29 14:11:32 -08:00
Shane Smiskol
5e71fde25a Toyota SecOC platforms should use torque control (#3086)
* use torque control for secoc platforms

* checked 5 dongles for each platform. sienna was closer to 1.5, but within margin of error
2026-01-29 14:10:12 -08:00
Hacheoy
900cb87c61 Toyota: Add SnG to Lexus LS, update torque data. (#3080)
* Add Lexus LS 2018 platform configuration

* Add fingerprints for Lexus LS ECUs

* Add LEXUS_LS to torque substitute

* Update steer ratio for Lexus LS 2018 configuration

* LS steer ratio back to 13.0

* Update steer ratio for Lexus LS 2018 based on live params

* Add test route for Lexus LS

* Update LS car docs to exclude LSS+ A package

* Fix formatting in Lexus LS 2018 documentation

* Remove LEXUS_LS mapping from substitute.toml

* Add better torque data for LEXUS_LS

* Modify torque values for LEXUS_LS

Better torque values for LEXUS_LS based on learned values after long drive.

* Add Lexus LS 2018 to sng = true

* Update MAX_LAT_ACCEL_MEASURED for LEXUS_LS
2026-01-28 20:20:11 -08:00
Gavin Phratsachack
9b93deb8a7 Nissan: Enable steering at standstill (#2812)
* Enable steering at standstill for Nissan cars

* Update LKAS_MAX_TORQUE value to improve steering speed

Increased LKAS_MAX_TORQUE from 1 to 2.54 for better performance.

* Update carcontroller.py

* Revert "Update LKAS_MAX_TORQUE value to improve steering speed"

This reverts commit d490162da4a47cca6683c5c9a710b291cce61080.

* Revert "Update carcontroller.py"

This reverts commit 431b6c021b1f3523e30693e4dcf41819ee8819a1.
2026-01-28 20:03:55 -08:00
Shane Smiskol
ffbe6094a3 Tesla: detect missing DAS_settings (#3082)
* detect das_settings

* clean up

* rm

* clean up
2026-01-28 19:31:52 -08:00
Jason Young
0702326e7c VW MLB: Add FW for 2023 Porsche Macan S (#3078) 2026-01-28 14:14:15 -05:00
adeebshihadeh
9b3aef1def docs: Scheduled auto-update CARS.md 2026-01-28 08:10:04 +00:00
eFini
d8d9e9b0de Honda: Taiwan Odyssey 2019 (#2985)
* Taiwan Honda Odyssey 2019 Port

* refactor per review comments

* flip

* can do detection, but only if there we support one more car to avoid early generilzation

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-27 22:56:53 -08:00
Shane Smiskol
c79e6758aa honda: init class variables in __init__ 2026-01-27 22:51:45 -08:00
Shane Smiskol
1cd92abbf8 Toyota: remove NO_STOP_TIMER flag (#3076)
* move inside op long control

* this isn't a real code path anymore

* fully remove NO_STOP_TIMER

* we'll turn this around

* rev
2026-01-27 22:11:29 -08:00
Daniel Koepping
c3dd56199d Car diff: add typing (#3073)
* typing

* add alias
2026-01-27 21:03:19 -08:00
Shane Smiskol
cbff382e5b Toyota: clean up radarUnavailable (#3075)
* toyota: clean up alpha long

* yes we have a test

* not critical

* test the differ

* add more

* this stems back to /one, so maybe they do

* un print

* it doesn't detect
2026-01-27 20:48:17 -08:00
Shane Smiskol
8a25621e97 Toyota: clean up alpha long (#3074)
* toyota: clean up alpha long

* yes we have a test
2026-01-27 20:34:30 -08:00
Daniel Koepping
b038e6e199 Car diff: skip comment on first timer PR (#3067)
skip comment if tests.yml never ran
2026-01-26 21:04:55 -08:00
Daniel Koepping
d88e0aa827 Car diff: padding (#3068)
padding
2026-01-26 21:04:37 -08:00
commaci-public
c7319ff209 [bot] Update uv.lock (#3071)
Co-authored-by: Vehicle Researcher <user@comma.ai>
2026-01-26 21:02:10 -08:00
FELMONON
dd606ee88b car tests: cache hypothesis strategies (#3052)
* car tests: cache hypothesis strategies at module level

Move strategy creation from inside get_fuzzy_car_interface() to module level
to avoid recreating strategies on every test call. Strategy creation is
expensive and doing it once at import time significantly speeds up test
execution.

This addresses commaai/openpilot#32536 - "Speedup test_car_interfaces"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* use cache instead

---------

Co-authored-by: Felmon Fekadu <felmonfekadu@Felmons-MacBook-Air.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-26 21:00:38 -08:00
Nikita Pylypyuk
2a1ba5e40b Mazda: Add cruise button events for accel and decel (#3027)
* added button events for accel and decel

* move down

---------

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2026-01-26 19:57:31 -08:00
adeebshihadeh
d424d1f247 docs: Scheduled auto-update CARS.md 2026-01-24 08:08:20 +00:00