Shane Smiskol
4058a8f64f
Add comment about vEgoStarting to interfaces ( #23327 )
...
old-commit-hash: 0148b233cd44a72ca1aabbb962a36a6b8e671f19
2022-01-04 12:05:58 +01:00
Dean Lee
0a762c27ce
interfaces/apply: follow capnp best practices ( #23371 )
...
old-commit-hash: 05b905d140cc920f25cf654c81371ede997892d1
2022-01-04 11:34:49 +01:00
martinl
0030f11a5e
Subaru FPv2 support ( #1878 )
...
* Add Subaru FPv2 support
* Add Subaru Ascent and Impreza FPv2 values
* Remove 10 second delay, use UDS for Subaru FPv2
* before VW
* before hyundai
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 6b205347e57eb30a278e1eb9ead6aaba96e30b92
2022-01-04 11:06:29 +01:00
Anthony Foerster
8d2f0de871
Fix steering oscillations in 2019 RDX ( #22677 )
...
Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.
old-commit-hash: 1ca5e1c82bd98a488dbffba32c653327a3d00b51
2022-01-03 23:07:49 -08:00
Adeeb Shihadeh
e9169797ea
GM: Switch to AcceleratorPedal2 ( #23376 )
...
* GM: Switch to AcceleratorPedal2
* bump panda
Co-authored-by: Jason Shuler <jshuler@gmail.com >
old-commit-hash: 231f74cd23b63a4c519431a588209ec20ba05b96
2022-01-03 16:09:53 -08:00
Matt Barclay
08e2b9d697
Toyota: 2020 Highlander Hybrid Engine fingerprint ( #23373 )
...
old-commit-hash: 162460ebd8003c1f6d697b739dce8851c9527bbd
2022-01-03 14:13:00 -08:00
Adeeb Shihadeh
7e0e258a3e
Toyota: merge Lexus RX params ( #23374 )
...
* Toyota: merge Lexus RX params
* pick tuning
* add those back
old-commit-hash: 24c741ea3da8efef533c3b7664064bce743d14fd
2022-01-03 14:11:34 -08:00
Jason Wen
35c7664529
HKG: Add and Fix FW for 2022 Kia Niro EV ( #23253 )
...
* Remove non-exist esp FW from Niro_EV
* HKG: Add FW for 2022 Kia Niro EV
* Add 2022 Kia Niro EV to STEER_MAX = 384
* Update CARS.md
* HKG: Add FW for 2022 Kia Niro EV
* Remove duplicate FW version
* Remove duplicate FW versions from 0.8.3 FW dump (#20702 )
* Fix FW versions spacing
* Fix FW versions spacing
* Add additional FW version
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: e1805574a86a9680ab8eadb39a74426eccae0d57
2022-01-03 18:59:23 +01:00
Nelson Chen
e681f40c62
Add firmware from 2021 prius in australia ( #23271 )
...
Discord user khalid.auslink#0024 / shah#3880
FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
old-commit-hash: ab2111adb0521c3ebe636bb55075914d29316aaf
2022-01-03 18:41:36 +01:00
Jason Wen
e279bca5af
HKG: blacklist cars with lower steering max ( #23255 )
...
* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist
* add comment
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 30e8383f303f6d09c65d12821ca32a6310f6d5c3
2022-01-02 15:53:52 -08:00
Jason Wen
5eeb916f0e
Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid ( #23332 )
...
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022
* Add test route
old-commit-hash: bd399693b6e2239522e06d6c10d5f2938a06f0d2
2021-12-31 17:28:07 -08:00
Jason Young
9b0bf86cc6
VW MQB: Add FW for 2019 Volkswagen Jetta ( #23306 )
...
* fingerprint 2019 vw jetta sel
* remove duplicate, fix sorting
Co-authored-by: cyanet01 <richard@connectya.com >
old-commit-hash: 13bf30fdc35bec8a2eceed215a95574415639b39
2021-12-24 13:25:58 -08:00
Ewout ter Hoeven
f206ebd054
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 >
old-commit-hash: 332f568a8241fba9459cb70c76840b9670e6993a
2021-12-24 11:18:39 -08:00
Jason Young
6cd96b07e7
VW MQB: Add FW for 2018 Volkswagen Arteon ( #23303 )
...
old-commit-hash: 6fd3d50d79f0e75460f7f513657dfa1b47094bfa
2021-12-23 21:53:58 -08:00
Erich Moraga
78a8d0cbd6
Add missing HIGHLANDER_TSS2 engine f/w ( #23301 )
...
`@JohnLips#7600` 2022 Highlander Platinum ICE DongleID/route 697a805960f1b2d5|2021-12-23--13-14-37
old-commit-hash: b1dfdca98284164d666336ef4e5cff0f71b1229a
2021-12-23 16:24:07 -08:00
Erich Moraga
0edf62e48d
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
old-commit-hash: a1ac77310b3b3aabbcbc97b390f2609c3a200424
2021-12-22 19:31:50 -05:00
Adeeb Shihadeh
55d6972d08
Revert "Mazda: alert when LKAS is disabled ( #23273 )"
...
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.
old-commit-hash: c92199ab1a94d2ea565e68e513bf4f9e3e81d489
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh
9b7dd754c4
Mazda: alert when LKAS is disabled ( #23273 )
...
* Mazda: alert when LKAS is disabled
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Update selfdrive/controls/lib/events.py
* Update selfdrive/car/mazda/interface.py
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: f25121b7364a2babef5022e852cf97570bee6da2
2021-12-20 14:58:46 -08:00
Jafar Al-Gharaibeh
5f92847cfa
Mazda CX-5 2021 FW ( #23270 )
...
dongle id: 661fdb17fa82339c
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
old-commit-hash: cd7db7f48e4ffd045531f42e0f47a6e2ea576523
2021-12-20 14:30:54 -08:00
Jafar Al-Gharaibeh
241392b370
Mazda: CX-5 and 3 FW ( #23267 )
...
* Mazda 3 2017 fw
dongle id: f7fec643f5178df8
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Mazda CX-5 2020 FW
dongle id: f4b488f06d3b7711
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
old-commit-hash: fc7d152dcafe3274aeb35d9c2f7599300ec8489e
2021-12-18 14:47:04 -08:00
HaraldSchafer
f64c2974b4
Road Roll Compensation Rebased ( #23251 )
...
* first commit
* update refs
old-commit-hash: cf466222f623df5fac325b86b71dc4e181b40d55
2021-12-16 17:34:12 -08:00
Willem Melching
686a38aea4
Abstract classes inherit from ABC ( #23246 )
...
old-commit-hash: 14bf834fefc136bec817a69e066c325055841474
2021-12-16 15:31:53 +01:00
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 55390d273f36f49da3896e687ac5530f40c1d150
2021-12-16 14:58:17 +01:00
Willem Melching
7b3e330def
Log actuators after applying rate limits in CarController ( #23230 )
...
* return actuators from carcontroller
* log it
* pass to latcontrol
* chrysler
* gm
* honda
* more brands
* rest of the brands
* gm cleanup
* hyundai cleanup
* update ref
* rename field
* fix subaru
* add types
* more subaru fixes #23240
* consistent whitespace
* bump cereal
old-commit-hash: 4f1eb4278a83a3abebebef67a081961e27594d90
2021-12-16 13:08:20 +01:00
martinl
b99c359d61
Subaru: Add Impreza/Crosstrek 2020 ( #21011 )
...
* Add Subaru Impreza/Crosstrek 2020
* Update selfdrive/test/test_routes.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7fd98757b46b384fba00aaa91612f66f3de2f020
2021-12-15 15:13:31 -08:00
Jason Young
e4b396864d
VW MQB: Add FW for 2018 Škoda Superb ( #23233 )
...
old-commit-hash: a11259929ba4d6f18892ae31844501d4db1eaa36
2021-12-15 11:18:40 -08:00
martinl
14c8689bab
Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance ( #23024 )
...
* Rename preglobal ES_CruiseThrottle to ES_Distance
* bump opendbc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 345fe48338fe4d95a88d9f001484a56e4a146ac4
2021-12-14 21:55:14 -08:00
Kevin Robert Keegan
7a55ba0175
Toyota: Display Blue Barriers When Engaged, Matches OEM Design ( #23150 )
...
old-commit-hash: 245b4d910c287d75f0c26eeed3a135683699b9f9
2021-12-14 16:42:31 -08:00
Shane Smiskol
91ff6918e5
Remove minSpeedCan ( #22991 )
...
* Remove minCanSpeed
Remove minCanSpeed
* it actually only goes out to 2.5 seconds, this is okay to remove
* test to see if this preserves behavior
add minSpeedCan
* Revert "test to see if this preserves behavior"
This reverts commit 31b11f017f7e9da7654fc8064b5983d4a6cc22e5.
* preserve behavior (don't enter stopping as early)
* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation
old-commit-hash: 2799ef52928126d4b704a6ad83e25a35d0b56da3
2021-12-14 12:09:32 -08:00
Shane Smiskol
ef38c36435
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
old-commit-hash: b745a14ff71622fe1fe4c9c043c7d7694d23dc08
2021-12-14 12:15:13 +01:00
Harald Schafer
cf3c8cd301
fix max speed comments
...
old-commit-hash: 44adea73ce2281cd0d0117c7ef6d1609031be2b9
2021-12-08 17:13:43 -08:00
Adeeb Shihadeh
189c41a614
Merge 2021 Accords into 2018 Accords ( #23174 )
...
* Merge 2021 Accords into 2018 Accords
* last of them
old-commit-hash: 1638975627d8321c05449f06dc5dca5a66e68094
2021-12-08 14:40:14 -08:00
Metalbird1997
1113274cfb
add fingerprint for European 2018 Toyota C-HR Hybrid ( #23171 )
...
old-commit-hash: 809154571a2f9aa9e65d29874135c0d29d2135e2
2021-12-08 13:43:11 -08:00
Willem Melching
ca8e47242d
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
old-commit-hash: 0ec68a5a09824e7e372b2e8e47b3b41f586c36a5
2021-12-08 14:44:00 +01:00
Harald Schafer
37d577d399
Add TSS2 prius to TSS2 long tunes
...
old-commit-hash: 16bf562806b3204053697ace86b0a01dacbf5661
2021-12-07 16:06:43 -08:00
Chris McCammon
1b0930bcbd
Kia Niro EV fw ( #23159 )
...
old-commit-hash: 95c9cb35092196946e98507f9704aa27aeff7511
2021-12-07 13:01:43 -08:00
Adeeb Shihadeh
ef6f48ba4c
remove ford fingerprints ( #23136 )
...
old-commit-hash: 795bdf4c61ed6ed26a1cb72674398177788fe2ad
2021-12-05 14:43:57 -08:00
Adeeb Shihadeh
87f707ec87
Honda: use new Bosch LKAS_HUD messages ( #23000 )
...
* Honda: use new Bosch LKAS_HUD messages
* enum value
* better name
* flip that
old-commit-hash: 0283942a9538d121b783dba89be2c2d4e7fd40f8
2021-12-05 13:51:33 -08:00
Jason Wen
a9a5f1933e
HKG: Add FW for 2022 Kia K5 ( #23131 )
...
old-commit-hash: fa952f650d282e329247fb0cf2d68c9a8cc8ca25
2021-12-05 12:47:24 -08:00
khoi
5b15ded828
Add 2021 Toyoto Corolla Cross Non-Hybrid (Thailand version) ( #23123 )
...
old-commit-hash: 1f731926958be8cd3720dec6233f9afbc3e509ed
2021-12-04 22:53:23 -08:00
Jason Young
5dd1a30d51
VW MQB: Audi Q3 Mk2 ( #23128 )
...
old-commit-hash: 8a4ab7f46d6d7666c8abab3168dcf91dd7ec1890
2021-12-04 18:55:02 -08:00
grekiki
9e4cc1f7ff
Python: Replace more lists with generators ( #23116 )
...
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6951b3271d1770297cb6bd53878463035ec0bf43
2021-12-03 22:57:19 -08:00
cydia2020
21bad1adc6
Toyota: remove unused ACCEL_HYST_GAP ( #23121 )
...
* fix typo in comments
* remove hyst gap from values.py
old-commit-hash: b8c42d01ebe5e69a63d3e48edcd973e030c05fec
2021-12-03 22:56:11 -08:00
Chris McCammon
03056baec1
Honda Pilot fw ( #23119 )
...
old-commit-hash: 9e51befe182fd7c48941f1efa907d064bffddf38
2021-12-03 16:11:15 -08:00
Willem Melching
b8ab21bd64
add CarParams.wheelSpeedFactor ( #23079 )
...
* add CarParams.wheelSpeedFactor
* Fudge speed for Lexus RX
* should have been the TSS2 model
* bump cereal
* refactor into function
* update refs
old-commit-hash: e6180738fdc4c55ba913905e6591de5435966eb1
2021-12-03 14:57:53 +01:00
flightguy2
f3598c5b8b
2019 Lexus NX FW versions ( #23106 )
...
old-commit-hash: 0ee6f42a8e0a66b6271ec4628c2e5d3deca8c136
2021-12-02 16:12:29 -08:00
HaraldSchafer
84fb21842b
add tss2 highlander to tss2 tune ( #23107 )
...
old-commit-hash: 316a10bb6b32b75bf76f7c73d9247d7220a02298
2021-12-02 14:01:17 -08:00
Erich Moraga
f9856f5b56
Add several missing LEXUS_ES_TSS2 firmwares ( #23098 )
...
`@TechGuy#9141` 2021 Lexus ES 350 ICE DongleID/route f9238e084316715b|2021-12-01--19-26-20
old-commit-hash: 4a33d61de004b3f1f79f0b968fef46dbaa752ee4
2021-12-02 07:55:50 -08:00
HaraldSchafer
4d9d215996
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
old-commit-hash: eda69930430da564251581814fd3962ca7af0372
2021-11-30 10:50:06 -08:00
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c694985456e569ce2313b29e43607c62a12
2021-11-29 19:38:55 +01:00