Commit Graph

559 Commits

Author SHA1 Message Date
Erich Moraga 2ae904e652 Car docs: add Lexus IS 2022 (#30055)
* Car docs: add Lexus IS 2022

https://github.com/commaai/openpilot/pull/30032 was actually a 2022, so updating documentation accordingly.

* docs.py gen'd CARS.md w/ 2022 Lexus IS update
old-commit-hash: 8fbf62a60895ceefdfd75e0136c0a62b39529278
2023-09-26 01:33:25 -07:00
Erich Moraga 860ae4c02d Toyota: add several ECU versions for LEXUS_IS_TSS2 (#30032)
`@lawabidingcitizen#7036` 2023 Lexus IS350  DongleID/route 0a89412f77c48f02|2023-09-22--17-56-09
old-commit-hash: 9e64eabc3ce36a81561464e274e5dda863742ca6
2023-09-25 12:24:23 -07:00
Nelson Chen 209d902d8c Lexus: add engine FW for Lexus NX 2020 (#30031)
New Engine

Example Routes:

* 4c7b96026712d831|2023-09-24--14-16-17
* 4c7b96026712d831|2023-09-23--18-32-11
old-commit-hash: ffeb9a93b70fcfe7f0d5dfd9112b11c5cdf43558
2023-09-25 12:19:51 -07:00
Shane Smiskol e675c9381f Toyota: improve platform code understanding (#30015)
* return a dict where minor version is not in keys

* limit valid chunks to 3 (max seen)

* First short version character is always 3 (we were using wrong platform code)

* docs updates

* not here

* fixes for printing new platform code format

* ecu notes

* notes

* platform code tests

* no tuple

* can visualize the whole thing now

* make it clear there's no major versions

make it clear there's no major versions

* static analysis

* two minor versions

* fix

* not using dsu

* comment

* comment

* comment

* forgot this one
old-commit-hash: c3d0bf7b5e09de43484613e98a02f2606642bbd0
2023-09-23 02:13:58 -07:00
Shane Smiskol ac0c7b01c8 Revert "Toyota: use torque control for Japanese-made 2023 RAV4" (#29978)
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"

This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9f1e13ad37d2dfa94896b58a301a703
2023-09-19 14:29:54 -07:00
Shane Smiskol 44d4f1f615 Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)
* use torque for 2023 RAV4s that allow it

* FW

* better cmt

* better

* better values comment

* switch

* add torque params

* simpler

* better to use steerControlType

* ???

* fix condition

* adjust params

* pid is only for old cars

* add comment

* move comment up

* one if

fix

* invert

* better comment

* better here

* for

* add torque hybrid test route

* fix condition

* this might be simpler

* back to one if

fix

* better name

* other way

* this reads so much better

* last change

* better

* did i break ci?
old-commit-hash: 9dfd0579d4bcf4065ee289a2486bb77f0700655a
2023-09-14 14:48:12 -07:00
Shane Smiskol 5cc2baeb4d Toyota: get platform codes & docs (#29853)
* add get_platform_codes function

* add print_platform_codes.py

* add test

* not optional

* constant

* remove optional

* more
old-commit-hash: 06233ca331e5f30adc18acb956274abd9e974657
2023-09-09 19:48:44 -07:00
Erich Moraga 01a8a30fe8 Toyota: add engine & fwdRadar ECU versions for 2023 Toyota Camry Hybrid (#29508)
`@Varvaras` 2023 Toyota Camry Hybrid  Dongle ID/route 3a47f2dd831feb30|2023-08-20--19-41-21
old-commit-hash: ba1ad422d74622a6e565a1b5bed97cf379173e21
2023-08-23 17:37:38 -07:00
Shane Smiskol 3527b47f6d Toyota: prepare to disable radar (#29542)
* try to disable radar

* fix bug and bump panda

* prep

* always attempt longitudinal for testers

* fix rav4

* send ACC_HUD

* bump panda

* revert

* check for failure to disable

* fix arg

* bump to master

* revert to master

* comments only

* correct check

* carcontroller

* something like this

* or this

* use flag

* send PCS HUD

* clean up

* carstate checks

* fix from test models

* consistent
old-commit-hash: 0aa6e2ce41113a8f129ab88762037254f2951f91
2023-08-22 21:17:30 -07:00
Adeeb Shihadeh 16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Justin Newberry 7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
LC 3489b482f1 Toyota: Lexus IS 2023 port (#29257)
* added LEXUS_IS_TSS2 to values.py

* added LEXUS_IS_TSS2 to interface.py

* Apply suggestions from code review

* add torque params

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5ace930c5c2ec135578242b4cea49290bb3ce035
2023-08-08 16:34:37 -07:00
Shane Smiskol 22187ad0fe Toyota: rename Toyota A harness (#29269)
* add toyota b harness

* not used yet
old-commit-hash: 8d3e661f795260ebd708975105d98f1bdbbcf181
2023-08-07 15:31:50 -07:00
Tenebrous fcef654a2b Toyota: add missing C-HR Hybrid 2020 (UK) FW (#29223)
old-commit-hash: c438f2ba171a9d855f1bb29c7cfb43ab98fdfd65
2023-08-03 15:05:10 +01:00
Erich Moraga 71941061c1 Toyota: add fwdCamera ECU version for 2022 Lexus RX Hybrid (#29060)
old-commit-hash: 1776c16f9a61dbb1e322f15d0f1f3c0a9eb936d8
2023-07-24 17:49:20 +01:00
Shane Smiskol 71ebb6fd03 Toyota: add hybrid ECU FW versions for 2023 RAV4 Hybrid (#29023)
* add hybrid FW for a2c30de116fe186d

* add hybrid FW for 60b363805ee9fc06

* add hybrid FW for 5b05f9d3f9574132 & 459707e5f696e897

* remove from extra_ecus, we can't conditionally mark not logging

* add likely protocols
old-commit-hash: 527d13ad6782c6b03bf57b49fb8a99de324ae05b
2023-07-18 23:04:55 -07:00
Matt Barclay e2b1c4d2fb Update Toyota RAV4H_TSS2_2023 Fingerprint (#28891)
Added eps value for japan built RAV4H 2023
old-commit-hash: b56aabb74ea89d77d7c0d2a2e2ce36ab178b95f2
2023-07-11 14:51:33 -07:00
Shane Smiskol 14a4aaebbd Toyota: add missing FW for 2023 RAV4 Hybrid (#28861)
fw
old-commit-hash: ada6d844d44b70964958a310d5cb4602f5a29728
2023-07-10 02:28:35 -07:00
Shane Smiskol f8d9dbff5d Toyota LTA: lower angle rate limits (#28847)
* lower limits a bit (matches ford and less wind up since Toyota EPS limits to 2 m/s up)

* revert down limits, up was too high
old-commit-hash: 221bbfe95e49bc0f132a787b976d826f90f68c68
2023-07-07 23:06:11 -07:00
Shane Smiskol 2e320bae33 Toyota: add missing engine FW for 2023 RAV4 Hybrid (#28844)
add missing fw from 459707e5f696e897|2023-06-30--17-07-25
old-commit-hash: 3502971467e7a420958edfc5ad551b1e30b1bb2e
2023-07-07 15:39:19 -07:00
HNR001 81c72acb4e Toyota: add FW for Prius Plug-In MY2022 (#27420)
Update values.py

Add missing FW for Toyota Prius Plug-In EUDM MY2022
old-commit-hash: a50e7fa60ae8ffdd9959165454ba84d6a65acda3
2023-07-07 02:27:25 -07:00
bashiromar1795 2f56c54602 Lexus: add missing FW for UX Hybrid 2023 (#28766)
* Update values.py

* Revert "Update values.py"

This reverts commit e2293bee861fa2eb00e6c2ffd2c69d913c2165cd.

* add missing FW versions for uxh 2023

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ea5a0e245098b454351ddcc6e9596fb292f55fae
2023-07-05 11:08:18 -07:00
Shane Smiskol 7f406a5ca8 Toyota: add documentation about KWP queries (#28739)
* bump cereal

* more queries (to see the new time)

* fix

* not sure what i want this to do yet

not sure what i want this to do yet

* no body

* no body

* add test

* spacing

* bodyless

* add documentation

* cmt

* cmt

* 1a

* oof

* just the comments

* revert

* ?
old-commit-hash: bdd778592daf8e0fd393418bca0af996ae5ab0d5
2023-06-28 22:32:59 -07:00
Shane Smiskol a5080e07d6 Toyota: set and limit angle for LTA control (#28735)
* log angle

* comments

* apply limits + comments

* fix

* remove old comment

* flip order
old-commit-hash: 1eee26931dbee1f4b1d755e5648880f77678e3ca
2023-06-28 20:23:16 -07:00
Maxime Desroches 585921ffad car: use default_factory for mutable fields in dataclasses (#28669)
* call me

* copy
old-commit-hash: e85acfa365dea5fc4b004664ef2df120d05d0022
2023-06-27 16:48:43 -07:00
Erich Moraga ca704d8fc9 Toyota: add missing CAR.CAMRY engine f/w (#28679)
`@natey_af` 2019 Camry (ICE)  DongleID|route e308e578239ae93e|2023-06-24--10-30-22
old-commit-hash: a58272cf59b343208ff0fece974f6426913d88d8
2023-06-26 14:59:39 -07:00
Shane Smiskol bd874a4053 Lexus: add missing NX 300H 2021 FW (#28678)
* add missing FW

* rm line
old-commit-hash: e171364601ec384e7f76d034a1b9badd1969a431
2023-06-25 20:12:28 -07:00
Shane Smiskol d3f0f1ef30 Toyota: more ECU documentation (#28674)
* more comments

* only

* by

* it exists, just doesn't respond
old-commit-hash: a763712779b043412ae47492163628e5e58923be
2023-06-24 04:36:30 -07:00
Shane Smiskol eb3da44bf3 Toyota: add alternate hybrid control ECU (#28671)
add alt address for hybrid control
old-commit-hash: 0ae5e9dd505547927ab7bb006bc23bf36a143365
2023-06-24 00:42:02 -07:00
Shane Smiskol 0776d4b05d Toyota: add HVAC ECU (#28670)
add comment for 2nd abs, could be missing one from non_essential_ecu cars
old-commit-hash: 1b3965a0c466a14ad8067d132601464ce747f3fa
2023-06-23 22:42:23 -07:00
Shane Smiskol 204fd75347 Toyota: add ECU comments (#28667)
* add some comments about toyota ecus

* updates

* revert that

* update comms

* just move
old-commit-hash: 613128062ea12a11909a1d6e2c8a3b8f5f25aa2a
2023-06-23 22:29:43 -07:00
Shane Smiskol 3b148d3bac Toyota: add alternate transmission address (#28666)
* A few cars have a tester present response on this address

* add comment

* another comment

* remove duplicate comment

* Revert "remove duplicate comment"

This reverts commit 51c822ddaa2d063e873693fdf77edbaf491a9192.

* revert 2

* revert 2

* revvy

* commenty

commy
old-commit-hash: b1ae79f381bb07827a974c000fb989c737e2b8a2
2023-06-23 20:51:11 -07:00
Shane Smiskol 29310fc6d9 Toyota: add central gateway ECU (#28653)
* add comment about central gateway

* add as ecu

* bump ref

* add to whitelists
old-commit-hash: 164dd5015e85801b2c6ac730ac4b7d414f2034cb
2023-06-22 23:30:34 -07:00
Shane Smiskol 832d374726 Toyota: remove one hybrid control computer ECU address (#28652)
this one isn't queried by techstream
old-commit-hash: 8dc35c14d57d79e5805a33c297ea02944781784d
2023-06-22 23:09:39 -07:00
Shane Smiskol fc0426bcfe Toyota: add transmission ECU (#28649)
* add transmission! this is not present on hybrids, since the hybrid computer controls the planetary gears (E-CVT)

* whitelist transmission

* comments
old-commit-hash: 3941aef89b47bba3960426ac8bcfee8af4cd640c
2023-06-22 21:45:24 -07:00
Shane Smiskol 9028326c74 Toyota: add combination meter and SRS airbag ECUs (#28633)
* add combination meter and srs airbags

* whitelist
old-commit-hash: af42caa394f414a067706802d08169b83ca1cda5
2023-06-22 03:59:14 -07:00
Shane Smiskol 6f5f69e735 Toyota: add note about available ECUs (#28632)
add comment
old-commit-hash: 306aa9778c4aec44d3f9bcb70a205c8e5d69c6c6
2023-06-22 01:58:43 -07:00
Shane Smiskol c895586ff3 Toyota: query hybrid vehicle control computer ECU (#28628)
* add comments

* we query abs

* lower

* add hybrid controller

* bump cereal to master

* another PR

* add hybrid to whitelists

* consistency

* check data for this
old-commit-hash: 08112ebc372802ee84345f75de5a33681484e81a
2023-06-22 01:53:32 -07:00
Shane Smiskol ae58ed5473 Toyota FPv2: log telematics ECU (#28613)
* add electronic parking brake ecu

* add

* add to whitelists

* update refs
old-commit-hash: ae0d1635b4b8532d0ee07729ba8ae10e06099ec2
2023-06-21 00:32:40 -07:00
Shane Smiskol b3f4985151 Toyota FPv2: log electronic parking brake ECU (#28612)
* add electronic parking brake ecu

* add comment

* bump

* screw sequential subaddrs
old-commit-hash: 12be5afb8a6973cda25ad78779e6cd22fe8694e3
2023-06-20 23:53:20 -07:00
sebmueller01 ea3c526593 Toyota: add missing engine FW for 2023 RAV4 LE (LTA) (#28611)
old-commit-hash: 0416fe5183cf47bb707d50505525bfb84f5c2904
2023-06-20 22:55:39 -07:00
Shane Smiskol e830fa0591 Toyota: remove bad FW (#28607)
Never seen last 720 days on this car
old-commit-hash: 8660f69416b7108c66a6c98b76c027b21aefc12f
2023-06-20 14:54:11 -07:00
Shane Smiskol 65e9468da3 Toyota: rename KWP FW request (#28608)
rename toyota request to kwp (read ecu id)
old-commit-hash: 07fe88b51790a58431880b62823183c7685c4cd2
2023-06-20 14:54:00 -07:00
Shane Smiskol 1b04b675dd Toyota: remove incorrect FW version (#28362)
Update values.py
old-commit-hash: bcdecfa084e682a85d158d6fa44a92fad9588b5f
2023-06-01 15:45:33 -07:00
Shane Smiskol 31c1e66a01 car docs: document parts of parts (#28292)
* more stuff

* even more

* all parts func

* start to use it

* include self in parts

* use car_parts_new

* not used

* more usages

* remove get_parts

* remove more commented stuff

* remove iter

* clean up some more stuff

* more

more

* ford

* optional

optional

* nissan

* use new classes

* fix tests

* fix

* order

* no more required

* connector

* CARS.md

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 024abe6455d44c7616ca7c694643c5324d0d371c
2023-05-31 21:30:50 -07:00
Maxime Desroches 734b6481b7 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>
old-commit-hash: 9f5f8b603cf69b06c4804632268491cf38cfac7e
2023-05-22 10:17:33 -07:00
Maxime Desroches 4626add29c 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>
old-commit-hash: 70677fe5fc044bff0ea99eab6bba5a6d02d5a85f
2023-05-15 15:33:54 -07:00
Iamz 2324d69159 Add Lexus RX engine fwVersion (#28163)
old-commit-hash: 30cdcc474c6e41f2b289c6c4f93de4f3a05c54d2
2023-05-12 21:38:34 -07:00
dmcanavan16 96874f658d Toyota: Add missing HIGHLANDER_TSS2 fw (#28096)
old-commit-hash: 2c0d93458a85da7d779449d7ca8a9d9dbb4d99df
2023-05-04 00:30:32 +00:00
i2020github e45f10740d Toyota: add missing LEXUS_RXH_TSS2 FW (#28060)
* Update values.py

Added one new firmware value to CAR.LEXUS_RXH_TSS2: {
    (Ecu.engine, 0x7e0, None): [

* fix indentation and sort

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: c11d01cf010bab572a13679d7b44ae2599b4076f
2023-05-01 13:21:46 -07:00