Commit Graph

1498 Commits

Author SHA1 Message Date
namestaketoolong b519e1db4a
Subaru: Add FW for 2020 Subaru Impreza (#1305)
Update fingerprints.py

Added Engine FW Version for 2020 Impreza

Route: 2e7f34ee218f76b6/00000009--c7565cf845
2024-10-01 21:50:02 -04:00
Shane Smiskol 3e239def4b
structs: add lkasEnabled and lkasDisabled (#1317)
* add lkasEnabled and lkasDisabled

* not sure
2024-10-01 17:12:04 -07:00
Jason Young bed4c18a95
Revert "temp remove SecOC support" (#1316)
Revert "temp remove SecOC support (#1314)"

This reverts commit 7b63ff21e9.
2024-10-01 19:50:14 -04:00
Jason Young ba1499ca8a
VW MQBevo: Initial DBC (#906)
* VW MQBevo: Initial DBC

* endianness fixes

* enable opendbc checksum/counter handling

* tweak signal width

* updates

* ACC set speed
2024-10-01 19:34:33 -04:00
Jason Young 7b63ff21e9
temp remove SecOC support (#1314) 2024-10-01 19:23:48 -04:00
Adeeb Shihadeh 27a3881b50 fix double in 2024-10-01 16:12:06 -07:00
Adeeb Shihadeh 3b468db557 source venv in test.sh 2024-10-01 16:11:07 -07:00
Adeeb Shihadeh 8934d44de8 Revert "Car Interfaces: Refactor button state tracking with `ButtonTracker` (#1278)"
This reverts commit d2448a3d4a.
2024-10-01 16:06:04 -07:00
Blue Genie 3c1ce281dc
Ford: CAN-FD radar messages (#1027)
Add 64 byte CANFD Radar
2024-10-01 15:59:46 -07:00
Adeeb Shihadeh 5d6c1d83e2 add test.sh 2024-10-01 15:44:54 -07:00
Adeeb Shihadeh 2d01368a2d no tesla route for now 2024-10-01 15:44:54 -07:00
Jason Young 2c207fa201
support for SecOC cars (#1311)
* support for SecOC cars

* un-nest SecOC params
2024-10-01 18:39:47 -04:00
Jason Wen d2448a3d4a
Car Interfaces: Refactor button state tracking with `ButtonTracker` (#1278)
* Car Interfaces: Refactor button state tracking with `ButtonTracker`

* type hint

* track multiple buttons
2024-10-01 15:05:27 -07:00
Lukas c09b61575a
Tesla Model 3 / Y (#1263)
* tesla model 3 / y

* das_control at 50hz

* long control: set min_accel and max_accel to target_accel

* change min and max jerk to iso limits

* min and max were reversed

* remove hw2.5 fingerprint

* replace das_control counter

* use UI_warning for blinker

* remove buttons and adas can

* use UI_warning for blinker

* remove buttons and adas can

* todo: find gap adjust button on can 0

* remove can 1 from code

remove can 1 from code

* remove unused import

* LilThot's Model3 Highland

* Update carcontroller.py

* Revert "Update carcontroller.py"

This reverts commit 4b57e9ba5f.

* remove ACCEL_TO_SPEED_MULTIPLIER

fix create_longitudinal_command

* change das_counter

* use DI_vehicleSpeed

* cleanup

* fix tests!

* fix:

* fix

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-10-01 14:35:56 -07:00
Hoang Bui 6389e29f4c
Nissan/carcontroller: add max steering angle safeguard for nissan (#1258)
* Nissan/carcontroller: add max steering angle safeguard for nissan

* minor fixes

* Update opendbc/car/nissan/nissancan.py

* Update opendbc/car/nissan/nissancan.py

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-10-01 13:59:30 -07:00
garrettpall 42e7e02347
GM: Car Port for 2022-23 Chevy Traverse (#1211)
* Add 2023 Traverse Support

* Add Route

* Fix Fingeprints
2024-10-01 13:51:00 -07:00
Jason Young e1ce3619a5
Toyota: DBC for RAV4 Prime and Sienna (#1310) 2024-10-01 16:45:37 -04:00
Jason Young 6a35629a6b
VW PQ: Fix CarDocs year range for Jetta (#1304) 2024-09-28 12:12:37 -04:00
Shane Smiskol 173ab90402
Re-apply "Lexus ES TSS2: improve start from stop response time" (#1303)
* Revert "Revert "Lexus ES TSS2: improve start from stop response time" (#1302)"

This reverts commit c696545153.

* something like this? check it allows start from stop
2024-09-27 23:30:28 -07:00
Shane Smiskol c696545153
Revert "Lexus ES TSS2: improve start from stop response time" (#1302)
Revert "Lexus ES TSS2: improve start from stop response time (#1301)"

This reverts commit b556672f9c.
2024-09-27 22:16:53 -07:00
Shane Smiskol b556672f9c
Lexus ES TSS2: improve start from stop response time (#1301)
* permit braking

* consider pitch
2024-09-27 21:21:27 -07:00
Jason Wen 4e64728753
HKG: Add FW version and update model year for Genesis GV60 2022 (#1293)
* HKG: Add FW version and model year for Genesis GV60 2022

* Update opendbc/car/hyundai/values.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

---------

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2024-09-27 16:56:29 -04:00
Jason Wen 3dcf350501
Hyundai: Refactor interface with int flags (#1294)
* LEGACY_SAFETY_MODE_CAR

* CAMERA_SCC_CAR and experimentalLongitudinalAvailable

* CANFD_CAR

* CAN_GEARS

* reorder

* merge CANFD_CAMERA_SCC into CAMERA_SCC

* RADAR_SCC -> CANFD_RADAR_SCC

* remove CANFD_CAMERA_SCC

* revert

* fix

* redo in another PR

* remove unused

* revert test for now

* rename in new PR
2024-09-27 16:21:56 -04:00
Jason Young aa20e8ad75
HKG: Refactor alternate lateral limits (#1300)
* HKG: Refactor alternate lateral limits

* add a test
2024-09-27 16:02:42 -04:00
Jason Wen d2ca1860d8
HKG: Car Port for Genesis G80 2024 (2.5T, HDA2) (#1132)
* HKG: Car Port for Genesis G80 2024 (2.5T, HDA2)

* Apply #1284

* Apply #1285

* add test route

* Update opendbc/car/hyundai/values.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

---------

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2024-09-26 23:34:41 -04:00
Jason Wen d332152aa1
Hyundai CAN-FD: Add CAN fingerprint fallback checks for HDA2 detection (#1285)
* Hyundai CAN-FD: Add CAN fingerprint fallback checks for HDA2 detection

* fix test

* just 1 source

* update unit test

* comment

* simplify

* move hda2 to the end of arg so it's cleaner

* Update opendbc/car/hyundai/interface.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

---------

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2024-09-26 23:09:46 -04:00
Shane Smiskol f4b30bcd07
Lexus ES TSS2: compensate for creeping force (#1271)
* compensate for creeping force

* better comp

* not needed yet
2024-09-26 19:47:05 -07:00
Jason Wen 97f519b47a
Hyundai CAN-FD: Universal gear checks (#1284) 2024-09-26 22:32:47 -04:00
Jason Young 9dc8b8edac
HKG: Interface refactor (#1292)
* refactor experimentalLongiudinalAvailable

* refactor enableBsm

* refactor Panda safety config

* section headers

* radarUnavailable to common long section

* dashcam cars to car specific section
2024-09-26 16:50:35 -04:00
Jason Young 851d16108d
HKG: Cleanup EV and HYBRID flag setting (#1290)
* HKG: Cleanup redundant code

* remove unused imports
2024-09-26 15:56:41 -04:00
Jason Wen b11c159d87
HKG: Car Port for Genesis GV70 Electrified 2023 (HDA2) (#1131)
* HKG: Car Port for Genesis GV70 Electrified 2023 (HDA2)

* add test routes

* remove

* Apply suggestions from code review

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

---------

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
2024-09-26 14:27:19 -04:00
Jason Wen 8a56957ec5
Hyundai CAN-FD: Use `ACCELERATOR` for EV gear shifter positions (#1280)
* Hyundai CAN-FD: Use `ACCELERATOR` for EV gear shifter positions

* revert

* duplicated message checks
2024-09-26 13:12:49 -04:00
Jason Wen 521d8ff7d6
Hyundai: DBC updates for FCEV support (#1281)
* Hyundai CAN: gear shifter and accelerator pedal signals for FCEV

* Different name
2024-09-24 23:09:42 -04:00
Shane Smiskol bda4ad475a
Toyota: prevent lagged gas after heavy braking (#1279)
fix
2024-09-24 19:27:40 -07:00
Jason Young 8c17e039be
VW MQB: Temporarily remove 2024 Volkswagen Jetta (#1272) 2024-09-24 13:41:39 -04:00
Shane Smiskol 0f8cea64fd
Revert "Lexus: prevent lagged gas after heavy braking" (#1270)
Revert "Lexus: prevent lagged gas after heavy braking (#1266)"

This reverts commit f2c4bb7365.
2024-09-23 21:10:29 -07:00
Shane Smiskol f2c4bb7365
Lexus: prevent lagged gas after heavy braking (#1266)
* fix slow gas after heavy braking

* only target this specific case

* better comment

* Update opendbc/car/toyota/carcontroller.py
2024-09-23 20:56:07 -07:00
Kacper Rączy 090f476688
body: remove orientation/angular velocity checks (#1267)
Do not check for llk
2024-09-23 20:34:58 -07:00
Shane Smiskol 0b7648ad2c
Toyota: don't apply PCM compensation in the stopping state (#1264)
check inside so we ramp down smoothly not cut out compensation
2024-09-20 20:46:59 -07:00
Shane Smiskol 4b7c90dada
Lexus ES TSS2: reduce braking overshoot (#1261)
* construct final CS.pcm_accel_net

* compensate both ways (simpler)

compensate both ways (simpler)

* comment

* cmt

* todo
2024-09-20 20:42:31 -07:00
Shane Smiskol 24e8e091e3
Toyota PCM compensation: don't compensate in standstill (#1262)
don't compensate if in standstill
2024-09-20 20:14:24 -07:00
Shane Smiskol 0771622149
Toyota: lower long integral for new tune (#1255)
* lower integral

* Update opendbc/car/toyota/interface.py
2024-09-20 15:40:04 -07:00
Shane Smiskol 71aa716366
Toyota: pitch compensate new long tune (#1260)
* compensate for pitch (shouldn't apply too much on downhills and too little on uphills now) with some tricks

* less defart

* , given
2024-09-19 22:30:23 -07:00
Jason Young 9b87d3db55
FCA Giorgio: Reserve safety ID (#1252) 2024-09-18 16:08:07 -04:00
Jason Young a894cc9e29
FCA Giorgio: CAN database (#1250)
* refactor from older PR, add test coverage

* PEP8, consistency

* clarifying comments

* more concise

* consistency
2024-09-18 12:48:17 -04:00
Jason Young 4bc60b18d2
test_checksums refactor (#1249)
* refactor for future test code sharing

* PEP8 function naming

* wrap a long line
2024-09-18 12:16:58 -04:00
Shane Smiskol b937eefca1
Lexus ES TSS2: improve start from stop for ICE variants (#1248)
* Improve start from stop for Lexus ES TSS2 ICE

* won't be perfect, but we don't pitch compensate for other cars yet

* rm

* ramp to 0 when negative

* add todo

* clean up

* ugh, it's a subtype mypy!!

* huh, most lexus don't have CLUTCH, will have to find those later

* bug fixes

* clean up
2024-09-17 17:50:49 -07:00
Shane Smiskol c8beb979ec
Toyota: add brake force signal for hybrids (#1247)
add brake force signal
2024-09-16 17:30:34 -07:00
Shane Smiskol de025aed51
Toyota: add drive force signal for hybrids (#1246)
* add new signal

* set minmax

* better comments

* clarify

* add FDRVREAL for hybrids

* forgot scaling factor
2024-09-16 17:05:56 -07:00
Shane Smiskol cb92fc81fe
Toyota: add another acceleration request signal (#1245)
* add new signal

* set minmax

* better comments

* clarify
2024-09-16 16:15:40 -07:00