Commit Graph

327 Commits (04d9817e9d5d6ab5c027754018fc445f2cd3067a)

Author SHA1 Message Date
Shane Smiskol 04d9817e9d make CAR class enum, and values.py formatting 2022-02-14 13:22:47 -08:00
Erich Moraga 3e094bc7c4
Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691) 2022-02-01 23:32:40 -08:00
VAHAMAISEN 9ec99b5230
Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
2022-01-30 20:04:36 -08:00
【TIM】 eaebf01e58
Toyota: Prius V fixups (#23640)
* Fine tune Prius-V control parameter

* Adjust DBC file and enable SNG support

*Adjust the DBC file to CT200H, the parameters of this model are closer to PRIUS V
*Add PRIUS V to NO_STOP_TIMER_CAR list to enable SNG support

* Update interface.py

remove spaces

* Update values.py

Mod DBC to toyota_rav4_2017_pt_generated

* Update values.py

The file has been updated to resolve the conflict and can be directly merged

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-27 15:33:18 -08:00
Adeeb Shihadeh 036c1799d4 Toyota: DBC rename 2022-01-27 11:44:57 -08:00
Adeeb Shihadeh 4c765acb6e Toyota: use common DBC for IS and RC 2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 9a211ee14b Toyota: remove Prius DBC 2022-01-27 08:59:16 -08:00
Adeeb Shihadeh 2f01bf3b6f Toyota: unify TNGA-K platform DBCs 2022-01-27 08:52:24 -08:00
Adeeb Shihadeh b321d65cac Toyota: CT200H DBC merged into Rav4 2022-01-27 08:43:40 -08:00
Adeeb Shihadeh 2240b802be
Toyota: Prius V 2017 support (#23636)
* Add Toyota Prius Alpha support

* Fix opendbc link

* Update interface.py

* v

* revert opendbc

Co-authored-by: CT921 <tim.chen242@gmail.com>
Co-authored-by: 【TIM】 <90225659+CT921@users.noreply.github.com>
2022-01-26 22:57:26 -08:00
Adeeb Shihadeh 33c8468e02 Toyota: rav4 DBC is same as corolla now 2022-01-26 22:13:51 -08:00
Shane Smiskol 3c62d9da09
Toyota: Move EPS torque factor to openpilot (#23635)
* use scaling

* or we can do it this way

* define default in one place

* just specify

* Revert "just specify"

This reverts commit 40b7b28f84.
2022-01-26 22:08:04 -08:00
Shane Smiskol 14133069e1
Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
2022-01-26 17:10:32 -08:00
Shane Smiskol 173c3ae3a9
Toyota: add fw for 2020 Lexus UX250h (#23626) 2022-01-25 22:20:03 -08:00
Adeeb Shihadeh b18c4eeb82
Toyota: move gas pedal definitions into common DBC (#23582)
* Toyota: move gas pedal definitions into common DBC

* add rest of cars

* auto detection

* cleanup

* update refs
2022-01-24 15:43:10 -08:00
Kento Tokuhiro 0a5115d775
Toyota: add fwVersion for 2018 CHR (#23604) 2022-01-22 13:20:04 -08:00
cydia2020 783db0cf33
Toyota: unify Sienna, Avalon, Highlander Lexus NX, Lexus RX into single DBC (#23577)
* remove sienna dbc

same as avalon

* rx and nx are also the same as avalon

* highlander can also use avalon's dbc

* bump opendbc

* rename avalon to tnga-k

* pt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 11:46:07 -08:00
cydia2020 f32f53540e
Toyota: use single DBC for Lexus NXH, Lexus RXH, HighlanderH, Rav4H (#23576)
* use rav4h dbc for nx

also bump opendbc

* remove from release file

* same with highlander

* bump opendbc

* rav4h -> tngakh

also rxh

* bump opendbc

* bump again

* remove from release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 11:06:34 -08:00
Adeeb Shihadeh 7a0e9d5b4e fix suffix 2022-01-19 10:55:41 -08:00
Adeeb Shihadeh 14e45df1c3 these dbcs are the same 2022-01-19 10:47:13 -08:00
Michael Honan f239a50f4e
FW for Toyota Highlander 2021 Hybrid (#23571) 2022-01-18 17:55:17 -08:00
Erich Moraga acb17e2e01
Add missing ALPHARD_TSS2 f/w (#23567) 2022-01-18 13:37:21 -08:00
Erich Moraga 14bb145532
Add missing COROLLA_TSS2 ESP f/w (#23562)
`@Dom#5007`  2022 Corolla ICE  DongleID/route 2517a9ee480ef37f|2022-01-15--09-20-12
2022-01-18 10:42:00 +01:00
Erich Moraga e38564b154
Add missing CAMRY_TSS2 engine & fwdCamera f/w (#23555)
`@Koda(Sleepy)#4682`  2021 Camry LE (ICE)  DongleID/route  3653e5d0dbd0d7ed|2022-01-16--21-15-20
2022-01-17 18:07:52 +01:00
Adeeb Shihadeh 2c94f15584
linter: don't allow implicitly concatenated strings (#23513)
* linter: don't allow implicitly concatenated strings

* fix hyundai
2022-01-13 14:19:38 -08:00
Shane Smiskol eb9f35946d
Toyota: Support Avalon 2022 (TSS2.5) (#23381)
* Add AVALON_TSS2

* Is TSS2 now!

* Add Avalon to CARS.md

* add to test_routes

add to test_routes
2022-01-12 09:41:07 -08:00
AlexandreSato 779e602de2
add missing toyota fw engine (#23272)
541c7e27e413735c|2021-12-17--14-21-53

Adding fingerprint of a corolla gr here from Brazil
2022-01-10 18:47:51 +01:00
Shane Smiskol 0c075a66db
Toyota: use common DBC for TSSP Camry Hybrid (#23453)
* bump dbc

* use nodsu_hybrid dbc

* remove from files_common

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-08 18:41:05 -08:00
Matt Barclay 162460ebd8
Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373) 2022-01-03 14:13:00 -08:00
Nelson Chen ab2111adb0
Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
2022-01-03 18:41:36 +01:00
Ewout ter Hoeven 332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305)
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
2021-12-24 11:18:39 -08:00
Erich Moraga b1dfdca982
Add missing HIGHLANDER_TSS2 engine f/w (#23301)
`@JohnLips#7600`  2022 Highlander Platinum ICE  DongleID/route  697a805960f1b2d5|2021-12-23--13-14-37
2021-12-23 16:24:07 -08:00
Erich Moraga a1ac77310b
Add missing COROLLA_TSS2 ESP & engine f/w (#23294)
`Sebastiaan#0569` 2020 Corolla Hatch 1.2T XR RHD  DongleID/route  567e47e503b36408|2021-12-22--20-44-44
2021-12-22 19:31:50 -05:00
Metalbird1997 809154571a add fingerprint for European 2018 Toyota C-HR Hybrid (#23171) 2021-12-08 13:43:11 -08:00
Willem Melching 0ec68a5a09
0.8.11-release FW batch (#23167)
* 0.8.11-release FW batch

* those toyota also dont always return esp

* attempt to clean up 2018 & 2021 accord
2021-12-08 14:44:00 +01:00
khoi 1f73192695
Add 2021 Toyoto Corolla Cross Non-Hybrid (Thailand version) (#23123) 2021-12-04 22:53:23 -08:00
cydia2020 b8c42d01eb
Toyota: remove unused ACCEL_HYST_GAP (#23121)
* fix typo in comments

* remove hyst gap from values.py
2021-12-03 22:56:11 -08:00
flightguy2 0ee6f42a8e
2019 Lexus NX FW versions (#23106) 2021-12-02 16:12:29 -08:00
Erich Moraga 4a33d61de0
Add several missing LEXUS_ES_TSS2 firmwares (#23098)
`@TechGuy#9141`  2021 Lexus ES 350 ICE  DongleID/route  f9238e084316715b|2021-12-01--19-26-20
2021-12-02 07:55:50 -08:00
HaraldSchafer eda6993043
Toyota pedal rewrite (#23067)
* pedal redo

* add offset to compensate for creep and windbrake

* offset in standard units

* wrong size

* better creep values

* update ref
2021-11-30 10:50:06 -08:00
Erich Moraga 9b9cbe1f37
Add several missing CHRH f/w (#23002)
`Hookler#6341` 2017 C-HR DongleID/route 9de14f6c78d29e91|2021-11-22--03-48-14
His car was previously FP'ing over FPv1 on OP 0.8.1, and he didn't realize it, until I verified it.  Relevant FPv1 was pruned from newer code.
2021-11-23 15:35:08 +01:00
Erich Moraga d630ec9092
Add Lexus RC support (#22941)
* Add f/w firmware for Lexus RC under LEXUS_IS

`@ph33rl355#0529`  2020 Lexus RC F Track Edition  DongleID/route 32696cea52831b02|2021-11-16--23-12-02

Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229

* Update CARS.md

* Separated Lexus RC from IS... still using IS DBC

* match lexus IS for now

* Update wheelbase to match published specs

I'm hesitant to touch `mass`, even though I know it's different from the IS.

* Add TOYOTA.LEXUS_RC test route

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-22 14:22:28 -08:00
Erich Moraga e42bf919b2
Firmware replace \000 with \x00 (#22911) 2021-11-15 10:34:44 +01:00
Erich Moraga cdc53efb98
Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
2021-11-14 21:49:36 -08:00
Erich Moraga abb292d666
Add missing COROLLAH_TSS2 engine f/w (#22909) 2021-11-14 21:31:10 -08:00
Willem Melching 8a8cee5e54
Batch of ECU FW from cars that fuzzy fingerprinted (#22883)
* honda

* hyundai

* toyota

* VW
2021-11-12 16:31:29 +01:00
Erich Moraga 7f4de651e1
Add missing HIGHLANDER_TSS2 engine f/w (#22871) 2021-11-11 11:17:11 -08:00
Erich Moraga 09514fb8e5
Add missing LEXUS_RX_TSS2 EPS & engine f/w (#22840) 2021-11-09 16:59:19 -08:00
Adeeb Shihadeh 8933859e35
Remove remaining Toyota + Honda CAN fingerprints (#22827) 2021-11-08 14:37:25 -08:00
Willem Melching 51c4b3c34b
Add 2019 Rav4 engine FW (#22733) 2021-10-29 12:08:04 +02:00