Commit Graph

2330 Commits

Author SHA1 Message Date
Shane Smiskol 2e4e41a7d3 Mazda: set default steering control values (#28342)
don't crash when porting new car
2023-05-30 15:40:54 -07:00
Shane Smiskol 439a30aae4 cars: explicitly add counter/checksum messages (#28341)
* hkg canfd: add counter/checksum

* add explicitly to subaru

* same for ES_LKAS_State

* and ES_DashStatus

* aaand INFOTAINMENT_STATUS

* and preglobal ES_Distance

* Revert "and preglobal ES_Distance"

This reverts commit 68d98307703a24296ff7aafd99503ea6af4b231b.
2023-05-30 15:33:02 -07:00
Shane Smiskol 4b4b31450c Nissan: add counter signal to forwarded message (#28336)
Update carstate.py
2023-05-30 15:10:17 -07:00
Shane Smiskol 80e84a2158 Honda: use CS accFaulted field (#28339)
* log accFaulted

* bool

* also bool
2023-05-30 15:05:57 -07:00
vanillagorillaa 90e0c61664 Nissan: use generated DBCs (#28307)
* nissan dbc update

* bump

* for release build

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-29 23:01:30 -07:00
Shane Smiskol 026c093d05 IsoTpParallelQuery: log all timeouts (#28325)
* log

* self explan

* clean up

* revert

* need a better name

* move

* bvack
2023-05-27 22:14:50 -07:00
Cameron Clough de5e0d0c71 Ford: fix counter in LateralMotionControl2 message (#28328) 2023-05-27 21:54:37 -07:00
Shane Smiskol aa3490ac30 IsoTpParallelQuery: fixup comment and simpler response check (#28326)
* startswith works with bytes

* this comment only explained an exception, was confusing
2023-05-27 19:25:38 -07:00
Shane Smiskol 897b9c117a HKG: add missing FW for 2020 G70 (#28323)
missing g70
2023-05-27 18:49:03 -07:00
Adeeb Shihadeh 3f61537d1b Hyundai CAN FD DBC update (#28322) 2023-05-27 16:50:34 -07:00
Saber422 9a1d7d5fc2 VW MQB: Add FW for 2017 Volkswagen Passat (#28280)
route name : 40443218782e5709|2023-05-22--13-05-38--0
2023-05-26 16:56:02 -07:00
Shane Smiskol f678ff0f22 car docs: sort parts by shown name (#28293)
* sort by shown name

* fix
2023-05-26 00:19:46 -07:00
Shane Smiskol f494abf0d2 Hyundai: explicitly copy signals to forward (#28020)
* define signals in brandcan.py

* seems so

* fix and reorder

* lkas11 for hyundai

* clu11

* honda: we only use this one signal for BRAKE_COMMAND

* Revert "honda: we only use this one signal for BRAKE_COMMAND"

This reverts commit f5f3aaed7e2fa1cdf35c3608b259fab11164644e.

* do cam and cruise info

* add todo

* do nissan

* s for signal

* do nissan

* mazda

* toyota

* gm

* ford

* ES_DISTANCE_SIGNALS is used twice

* for s

* volks

* tesla

* no copy

* oh there's mqbcan

* same with mqb lka message

* all s's

* these actually are different (pre vs. global)

* this is not in the DBC...

* fix

* check len

* rm import

* need to copy counter!

* fix other proc replay diff (TODO: the rest)

* missing cs/cnt
2023-05-26 00:00:18 -07:00
Shane Smiskol 303c62119d Tesla: explicitly copy signals to forward (#28306)
* tesla

* cmt
2023-05-25 23:35:32 -07:00
Shane Smiskol 26baac2ff4 Nissan: explicitly copy signals to forward (#28305)
* nissan

* missing counter

* add comment from carstate
2023-05-25 23:12:50 -07:00
Shane Smiskol 54e6d4c402 Subaru: explicitly copy signals to forward (#28304)
* do subaru

* add missing checksum

* more missing checksums
2023-05-25 22:59:52 -07:00
Justin Newberry c1909df437 Subaru: frequency based messaging (#28066)
* frequency based messaging

* frequency based messaging

* frequency based messaging

* frequency based messaging

* rename better

* use frame in if statement

* syntax

* remove extra space

* put all behind one if statement

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-25 22:33:04 -07:00
wileytom65 2f625f64f0 Car Port for Hyundai Santa FE Hybrid 2023 (non-HDA2) (#28279)
* Added 2023 Hyundai Santa Fe HEV

* Added 2023 Hyundai Sante_FE_HEV 

Additional info added for 2023my of Hyundai SANTA_FE_HEV (nonHDA2)

* fix FW versions

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-25 00:06:54 -07:00
Shane Smiskol 2ea7b69e26 CARS.md: footnotes header (#28285)
footnotes
2023-05-24 17:08:19 -07:00
Jason Young 84886e28df VW MQB: Start documenting FtS cars (#28268)
* specify auto_resume

* format

* car compat

* VW MQB: Start documenting FtS cars

* retry CI

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-05-23 14:07:21 -07:00
Maxime Desroches 3785e161f0 car docs: allow auto_resume override (#28264)
* specify auto_resume

* format

* car compat

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-23 01:40:23 -07:00
Shane Smiskol eee8a7a4b4 car docs: fix diff bot (#28266)
* test bot

* fix docs bot

* revert

* use dataclass

* sad this doesn't work
2023-05-23 00:36:42 -07:00
Maxime Desroches 715d7f9e3d car docs: keep similar naming (#28262)
better name
2023-05-22 19:30:04 -07:00
Maxime Desroches d433dc693d car docs: pass all car parts + types to template (#28260)
add car parts + types to template
2023-05-22 18:43:57 -07:00
Maxime Desroches 9f5f8b603c car docs: list all needed hardware (#28212)
* generic car parts

* better carparts

* add part type

* more tests

* multiple enums

* unit tests

* just check isinstance

* better name

* remove _connector suffix

* remove those hyundai lines

* remove default arg

* Revert "remove default arg"

This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad.

* cleaner code structure

* use fingerprint

* review

* abstrac data class + common

* no more dataclass

* conflict

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-22 10:17:33 -07:00
Mejty38 b977e1a4e9 Skoda: add fw for Superb 2020 (#28229)
* Update values.py

* sort and remove duplicate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-21 22:18:37 -07:00
Jason Young e0a2607eee VW MQB: Extend Touran supported model-year range (#28247)
VW MQB: Extend Touran model-year range
2023-05-21 19:28:12 -07:00
Jason Young dee611a9bc VW MQB: Add FW for 2020 Volkswagen Arteon (#28251)
* VW MQB: Add FW for 2020 Volkswagen Arteon

* mechanical sort
2023-05-21 12:35:30 -07:00
Jason Young 24579949c1 VW: A little less signal pass-through (#28246) 2023-05-20 22:31:12 -07:00
Shane Smiskol 37eb9f900c Mazda: explicitly copy signals to forward (#28244)
mazda
2023-05-20 18:25:19 -07:00
Jason Young f951390dda VW: Explicit signal pass-through (#28179)
* VW: Explicit signal copy

* normalize whitespace
2023-05-20 18:20:57 -07:00
Shane Smiskol 3d94423108 GM: explicitly copy signals to forward (#28243)
* gm

* same order as DBC
2023-05-20 18:09:57 -07:00
Kyle Greenlaw 7a684da47f Subaru: Add fw for 2020 Subaru Outback (#28240)
Route: a4e8e925930fce2c|2023-05-19--20-47-32
2023-05-19 22:49:46 -07:00
johangithub 184e224a6a HKG: add 2017 Genesis G90 Fingerprint (#28230) 2023-05-19 18:30:43 -07:00
Cameron Clough d4dec3ba5e Ford: longitudinal behind alpha toggle (#28196)
* bump panda

* set safety config/configure experimental longitudinal

* send inactive signals

* bump

* just calculate in function

* already in the variable

* clean that up

* add comment, on ford stock long, prchg seems to be set from the possible future accel

* comment

* this signal didn't have an impact on engaging

* add comment and fix

* worst case while AEB

* and kill ACCDATAs

* this could be dangerous

* need to test this too

* Revert "need to test this too"

This reverts commit 09bba75950fa55d90a82f0109e3138ffe5a1d08c.

* Revert "this could be dangerous"

This reverts commit 323143e84727f1a780bbb600be5f7ceb763516b1.

* Revert "and kill ACCDATAs"

This reverts commit 15f6804bf64d01145daf57a592c2f3fd44ceba27.

* Revert "worst case while AEB"

This reverts commit 85e1aaa8e1af90373c688d1973dbfbb07b1fb8b2.

* bump panda

* Update selfdrive/car/ford/fordcan.py

* move around

* was already here

* rm

* use variable

* update docs

* Update ref_commit

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-18 15:25:24 -07:00
Shane Smiskol c7d3b28b93 Ford: longitudinal clean up (#28231)
clean ups
2023-05-18 14:30:07 -07:00
Shane Smiskol 902cc891a8 Ford: log stock AEB (#28228)
log AEB
2023-05-18 03:56:35 -07:00
Shane Smiskol 041ab5bb7f disable_ecu: log retries as errors (#28223)
* log ecu disable retries as errors

* and here if it totally failsd
2023-05-17 22:19:49 -07:00
Cameron Clough 66abfb933d Ford: add Explorer 2020 ST FW (#28205)
4458bd61cf193dab|2023-05-17--01-45-39

VIN: 1FM5K8GC7LGA15147
2023-05-16 20:11:05 -07:00
Shane Smiskol 577374215b Nissan: set LKA active with latActive (#28055)
Update carcontroller.py
2023-05-15 23:23:55 -07:00
Justin Newberry f327053ac0 Subaru: rename legacy to preglobal (#28204)
* rename

* submodules too

* missed some variables

* fix find/replace error

* revert modules

* bump submodules

* bump cereal
2023-05-15 19:12:47 -07:00
Maxime Desroches 70677fe5fc add harness kit content to the doc (#28139)
* add harness kit content to the doc

* parts as enum

* nissan

* merge column

* rename column

* scaling

* scaling again

* 500px

* align text

* more px

* add style

* more width

* more

* more

* smaller text

* make all text smaller

* prev width

* default list

* remove hidden a ref

* try to remove again

* revert

* replace harness with harness_kit

* try fix

* cleaner

* center everything

* make pylint happy

* allow more than 1 of each parts

* use copy module

* review

* testing spacing

* revert

* bigger text

* formating

* split harness col lines

* remove print

* resolve

* rename to view

* keep formating in template

* simplify

* add unit test

* more generic way

* better

* harness connector only

* comment

* review

* put back harness parts

* missing dash

* too much space

* don't reload when clicking

* shorter comment

* only last line

* generate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 15:33:54 -07:00
Shane Smiskol ff5c58c85d docs cars template: remove newline on last line only 2023-05-15 14:54:08 -07:00
alkuwari007 b28221d346 FCA: Ram 1500 Rebel 2022 FW versions (#28155)
* Ram 1500 rebel 2022 ECU version update

* rm line

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 14:11:07 -07:00
ecaslak c293cb71c7 Add fingerprint for 2022 Honda Passport (#28175)
* Update CARS.md for 2022 Honda Passport

Changed latest supported model year from 21 to 22

* Update values.py: 2022 Honda Passport Fingerprint

Added ECU fingerprints for 2022 Honda Passport

* add missing fw

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-15 13:57:33 -07:00
AlexandreSato 0c00099437 Hyundai: add missing FW for Sonata 2023 (#28191)
3ab09aae5a9310b2 AppleExpl01t#5323 SONATA fingerprint

Co-authored-by: Comma Device <device@comma.ai>
2023-05-15 13:02:25 -07:00
Cameron Clough de45134da6 Ford: block stock ACC warnings on OP long (#28185)
Override this signal which the stock system uses to show messages such
as "ACC unavailable", "Speed too low" and causes the canceled sound to
play.
2023-05-14 17:18:34 -07:00
Cameron Clough 717bc04ddc Ford: improved ACC UI for OP long (#28114)
* Ford: improved ACC UI for OP long

- Show "stopped" status message on IPC when in standstill, similar to stock
- Prevent the distance control UI from appearing on button press (as
this does not influence OP long).

* set lead indicator and only override stock when OP is controlling long

* match DBC
2023-05-14 00:20:34 +01:00
Cameron Clough 202751a796 Ford: add Maverick test route (#28181)
* Ford: add Maverick test route

* docs

* bump
2023-05-13 23:38:28 +01:00
Saber422 e077af4abf VW MQB: Add FW for 2023 Volkswagen Touran (#28146)
0bbe367c98fa1538|2023-05-09--15-06-11--0
2023-05-12 21:48:47 -07:00