Commit Graph

741 Commits

Author SHA1 Message Date
John Belmonte 6d2069b762 Car port: Toyota Alphard (#21382) 2021-06-24 12:10:19 -07:00
Yuxuan Zhao bb709f701c Chinese Toyota Avalon 2019 Hybrid FW versions (#21384) 2021-06-23 13:12:25 -07:00
Jason Young 4cdd50995d VW MQB: Add FW for 2018 Volkswagen Golf (#21388)
* add missing 2018 Golf FW

* touch up sorting
2021-06-23 11:52:34 -07:00
Willem Melching 29385688aa Remove Toyota Alphard fingerprints from Corolla (#21385) 2021-06-23 16:42:54 +02:00
Willem Melching 95e2bcb909 VW: put back DBC dict (#21369) 2021-06-23 15:48:40 +02:00
robbederks cdfba105ed Tesla AP2 port (#20074)
* squashed the PR

* remove AP passthrough

* disengage on steer override

* bump panda

* add test routes

* bump panda

* tesla is still dashcam only

* dashcam only

* rerun CI

* add to release files
2021-06-23 14:56:59 +02:00
Willem Melching a8fac002ae Honda Bosch longitudinal prerequisites (#21217)
* untested changes

* set compute_gb

* community feature for good measure

* add code for rolling backwards

* init needs CarParams

* stay in elm mode until carParams is written

* fix tester present bus number

* fix can errors

* fix enableCruise flag

* print when radar disable is done

* move retry logic to controlsd

* move lookup table into carcontroller params

* cleanup brake error values

* make init return

* that should be 1

* floats

* back to no failure handling

* try simplify knockout

* bump panda

* Move flags to panda

* add warnings

* Revert "try simplify knockout"

This reverts commit 4f496245791ea6bd041d4412b96035c6b434b91c.

* add note about LoC.long_control_state

* update ref
2021-06-22 16:28:11 +02:00
Andrew 9124a83900 2021 Hyundai Elantra Hybrid port (#21354)
* add support for hyundai elantra hev 2021

* add car to README. adjust tuning params.

* adjust weight

* update fingerprint with value from remote start

* update fingerprint to value of BEFORE getting in car (more reliable)

* add fingerprint v2

* remove fingerprint 1.0

* add test route

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-21 16:03:19 -07:00
John Belmonte 3f2722a7c6 Add Toyota C-HR Hybrid FW versions (#21341) 2021-06-19 21:34:34 -07:00
Nelson Chen 4a22dd6dfb Add 2021 Avalon Hybrid Fingerprint (#21338)
* Add jamil_hamida#1630's Fingerprint to AVALONH_2019

* Add 2021 Avalon Hybrid to README
2021-06-18 19:50:48 -07:00
Erich Moraga 66035ccac9 Add PACIFICA_2020 fingerprint (#21106) 2021-06-18 15:52:58 -07:00
Chris McCammon ec2524c7ac 2021 Honda Ridgeline fw (#21308) 2021-06-16 17:49:32 -07:00
Jason Young 22d456aef8 VW MQB: Simplify adding new cars (1 of 2) (#21297)
* simplify MQB DBC lookup

* GC now-unused import

* further simplify

* further simplify

* draw DBC string from values.py

* one DBC to rule them all
2021-06-16 13:56:26 -07:00
Jason Young 3cb2b0eb7d VW MQB: Clean up carcontroller (#21300) 2021-06-16 13:28:42 -07:00
jona96 7bc6319eff add fingerprint for Volkswagen Golf MK7 (#21280)
* add fingerprint for Golf MK7

* add to README

* sorted alphanumericaly

* sorted and corrected spelling
2021-06-15 22:24:14 -07:00
Chris McCammon 3365673eff 2021 Lexus UX Hybrid fw (#21286) 2021-06-15 15:43:06 -07:00
tanmayparikh 1abb971835 Add 2018 Accord 2.0T Touring transmission FW Vers (#21279)
Co-authored-by: Tanmay Parikh <tparikh@utex.com>
2021-06-15 13:25:28 -07:00
Jason Young 57cf9b1f39 VW MQB: Volkswagen Touran Mk2 (#21263)
* Add 2017 VW Touran (BIRB)

* Update README

* Autogratitude

* Add test route for VW Touran
2021-06-15 12:09:04 -07:00
Jason Young 8edb61b596 VW MQB: Add FW for 2016 Golf R (#21254)
* Add FW for 2016 Golf R (edwyck)

* Add comment for broken ECU SW PN

* Commentary on tuned FW versions

* different commentary
2021-06-15 11:28:57 -07:00
Greg Hogan 8071111f59 default carParams.stoppingControl to True (#21248)
* hyundai has full brake control

* set default stoppingControl to True

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-15 14:00:57 +02:00
Greg Hogan e28b5552e7 hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262) 2021-06-15 12:26:02 +02:00
Jason Young f86f344ba5 VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-13 22:21:23 -07:00
Adeeb Shihadeh af8d417627 Fix Honda Accord transmission type detection (#21247) 2021-06-12 20:52:50 -07:00
Jason Young 9ad129fd5f VW MQB: Škoda Octavia RS Mk3 (#21230)
* Add 2016 Skoda Octavia RS (derflo000)

* Autogratitude
2021-06-11 13:55:51 -07:00
ShaneSmiskol e7df9adfe3 2020 Ioniq PHEV Support (#21147)
* use DriverOverride

* keep using EMS16 msg which is available on manuals, TCS13 is not

* Need to differentiate between hybrid ev and ev

* bump opendbc

* add to release files

* try this

* try this

* fixup

* shouldn't need multiple dbc's

* update comments

* combine phev into ev_hybrid

* clean up

* accel_pedal_pos is a percent

* bump

* bump

* update list name

* do this in another PR

* not 2020+

* explicitly set safety param

* full hyundai gas press test coverage

* bump

* bump

* bump

* bump

* like this convention better

* bump

* revert some null gas_signal changes for now

* revert style change

* Add Ioniq PHEV 2020

* Use appropriate signals

* can't verify this to be true

* defaults

* order should really be opposite...

* original style

* bump panda

* bump

* update releases

* bump panda

* Update test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-10 23:25:02 -07:00
Jason Young fd397f039d VW MQB: Add FW for 2020 Volkswagen Tiguan (#21222) 2021-06-10 17:14:30 -07:00
jhlee111 4fc48834a4 Adding firmware for 2021 Honda CRV Touring (#21211)
* Adding firmware for 2021 Honda CRV Touring

* Update selfdrive/car/honda/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-10 13:07:11 +02:00
nepro012 579567102a added Hyundai Veloster 2020 FPv2 (#21203)
* added Hyundai Veloster 2020 FPv2

* added Hyundai Veloster 2020 FPv2

* revert addition of year information on hyundai/values.py
2021-06-09 14:10:49 +02:00
Nick Eneboe 6e32b13613 Fingerprint for Lexus NX Hybrid 2019 (#21198)
* added Lexus NX Hybrid 2019 engine fw version and included car in readme

* remove 2019 from CAR name in values.py
2021-06-08 13:30:56 -07:00
Cruise Brantley 22b1db8af0 Add Hyundai Santa Fe 2020 fw versions (#21161)
* updated values for 2020

* removed duplicate esp value
2021-06-07 23:47:35 -07:00
Camilo Lozano 5dbf1c1e28 Add Hyundai Sonata N-Line 2021 fw versions (#21182) 2021-06-07 22:52:09 -07:00
speedking456 f5d9ddc6c2 Add Kia Seltos fw (#21179)
* Kia Seltos updated fingerprint

* updated fpv2

dongle: c75a59efa0ecd502
2021-06-07 17:31:28 -07:00
CrispinFlowerday 7458e143e3 Subaru: show LDW on dash for correct lane (#20934)
* Emit correct alerts for LDW Left & Right on Subarus

This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash

* Remove whitespace, and add comment about not overwriting stock alerts

Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
2021-06-07 15:06:28 -07:00
Adeeb Shihadeh d4ab1f1e27 startup alert for no fw returned (#21177) 2021-06-07 14:15:09 -07:00
Jason Young db83cd7f84 VW MQB: Audi Q2 Mk1 (#21165)
* Add 2018 Audi Q2 (breckler)

* Update README

* Add test route

* Summarized autogratitude

* Revert "Summarized autogratitude"

This reverts commit e308e2afc1f4020528e1643f5da4976715a366da.
2021-06-07 01:34:22 -07:00
jma0 4488df8d1f VW MQB: Add FW for 2019 Volkswagen Golf SE (#21154) 2021-06-06 16:21:16 -07:00
Jafar Al-Gharaibeh 56fbf66c20 Add Mazda 6 and new FW for other models (#21167)
* Add support for Mazda6

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* New FWs and Mazda 6 test route

Change Mazda to MAZDA
Mazda6 test route
CX-5 2018 FW
CX-5 2019 Australia FW
CX-9 2016 FW
Mazda3 2014 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-06-06 14:40:57 -07:00
Jason Young 30b6c1b506 VW MQB: Add FW for 2014 SEAT Leon (#21166)
* Add FW for 2014 SEAT Leon (loetkolben)

* Update README

* Update RELEASES

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-06 14:32:50 -07:00
Jason Young 3a2893f11a VW MQB: Fix bug with HCA state handling (#21104)
* Improved HCA state and fault handling

* Apparently opendbc does an upper() on everything

* Update EPS HCA init state

* Make initial state "ready"
2021-06-04 19:12:42 -07:00
Willem Melching 72199e60d3 add FW versions 2021-06-04 10:37:00 +02:00
Greg Hogan 6e300aaf57 hyundai: disable steering on all steer warnings (#20657)
* hyundai: set CF_Lkas_ToiFlt for wind down

* hyundai: disable steering on all steer warnings

* Revert "hyundai: set CF_Lkas_ToiFlt for wind down"

This reverts commit 065f0a996db9e52511013c7011ed95876966d134.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:34:25 -07:00
Adeeb Shihadeh 66d01bd847 Remove unused CAN fingerprints (#21124)
* toyota

* honda
2021-06-03 15:22:40 -07:00
ShaneSmiskol ebc294296a Toyota: Only use gas interceptor under 19 mph (#21101)
* pedal improvements

* pedal tuning under 19 mph, stock tuning above

* Correctly set tuning, and a temporary reference script

* looking good

* use minEnableSpeed

* minEnableSpeed will always be -1 if pedal since it's used for lockout

* add hysteresis around 19 mph for enabling pedal use

* parameterize minAccSpeed (enable speed is -1 when stop and go to allow engage, acc is min limit for acc commands)

* fix Prius later, 5 mph gap around switch speed

* define min_acc_speed in interface and CC

* use pedal gains up to 22 mph, and correctly use hysteresis above the switch speed

* only check this if pedal

* consolidate comment

* Change BP to switch tuning at 19 mph, define global constant

* Start at interceptor status

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update releases

* typo

* transition tuning from 19 to +3 mph

* change cmd names and update tuning comment

* Update RELEASES.md

* calculate new pedal gains

* little more clear

* even clearer

* same comment convention and hardcode new pedal tune

* bump cereal

* weird, got added in with the rebase

* three possible long tunings: pedal, improved non-pedal, and default non-pedal

* update refs

* future note: don't add submodules when rebasing!

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-03 15:11:10 -07:00
ShaneSmiskol bf0e0ae00b Use hyundaiLegacy safety model for Hyundai Elantra (#21108) 2021-06-03 13:48:54 -07:00
ShaneSmiskol e9e197eb3c Merge Accord trims (#21105)
* Merge unique Accord 1.5 fw versions

* remove all instances of ACCORD_15

* bump opendbc and update dbcs

* Switch between gearbox messages by detecting presence of gearbox msg

* both accord (2t) and accord hybrid use the same gearbox, 1.5t is the outlier

* default to GEARBOX

* add old name to migration

* bump opendbc

* update refs

* change msg name, bump cereal

* Update selfdrive/test/test_routes.py

* update ref

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 13:35:23 -07:00
Josh Smith 77321dbac4 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
2021-06-03 12:21:04 +02:00
Cruise Brantley 8220056252 Update Elantra 2021 FPv2 values (#21069)
* Updates to fpv2 values

* Removed x00 changes

* Update incorrect value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Remove possible incorrect duplicate value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-06-03 11:31:18 +02:00
Adeeb Shihadeh a69e1715d4 Honda: cleanup enable logic (#20749) 2021-06-03 01:49:33 -07:00
Jason Young fcc68d2a74 VW MQB: Add FW for 2017 Volkswagen Golf R (#21110) 2021-06-02 10:43:28 -07:00
Jason Young 83ca5a0d29 Cleanup carstate quoting styles (#21109)
* carstate quoting style: VW

* carstate quoting style: Chrysler

* carstate quoting style: Ford

* carstate quoting style: GM

* carstate quoting style: Honda

* carstate quoting style: Hyundai

* carstate quoting style: Mazda

* carstate quoting style: Nissan

* carstate quoting style: Subaru

* carstate quoting style: Soulless Appliances

* Sorry Honda!
2021-06-02 15:51:54 +02:00