Commit Graph

932 Commits

Author SHA1 Message Date
Jafar Al-Gharaibeh c898939423 Mazda: fix disabling cruise main on after cancelling cruise (#22193)
On some disengagement events (brake/gas/etc) OP may occasionally
ends up disabling the main cruise control where the driver has
to press the main cruise button before they can engage ACC again.
Try to detect this situation and automatically turn on cruise
when that happens.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 14:24:57 -07:00
Jafar Al-Gharaibeh d19ac7e49b Mazda: Fix steer lockout issue in CX-9 2021 (#22506)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 14:19:43 -07:00
Jafar Al-Gharaibeh 2dff0597b7 Mazda: Add CX-9 2021 GT firmware (#22509)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 10:08:18 -07:00
AlexandreSato 879b50c1a3 update comment in toyota carcontroller (#22490) 2021-10-08 10:13:50 -07:00
Robbe Derks 91987f38d4 Make pandaState and safetyMode a list (#22454)
* wip: move to pandaStates

* bump cereal

* wip: SafetyMode struct

* move to safetyMode

* fix typo

* this can be None

* fix potential empty pandaStates list

* fix thermald

* fix controlsd

* rename safetyModes to safetyConfigs

* update process_replay

* fix test_models

* bump cereal
2021-10-08 17:54:34 +02:00
Jason Wen 6c6f46bf9a Hyundai: Add FW for 2021 Kia K5 (#22479) 2021-10-07 18:23:08 -07:00
Harald Schafer 0e4058d0ec remove unused line in honda carcontroller 2021-10-07 11:18:55 -07:00
HaraldSchafer e5da7cc04b no throttle when not enabled (#22474) 2021-10-07 11:15:08 -07:00
Willem Melching 6c29a4c7fb Honda Bosch longitudinal tuning (#22407)
* revert changes to standstill logic

* start with mostly open loop

* Revert "revert changes to standstill logic"

This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.

* proper clipping

* less lag

* less gas command

* start gas from -0.2

* controls should take care of that

* use CarControllerParams

* switch to braking sooner

* Revert "switch to braking sooner"

This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.

* 2.5x more P

* use active

* engage on rising edge

* Revert "engage on rising edge"

This reverts commit c972956cb460eedaff3d0169a40673a6ea933385.

* update ref
2021-10-07 16:37:02 +02:00
Erich Moraga 0b9b479a5a COROLLA_TSS2 add missing ESP f/w (#22446)
`PJ Tremblay#9640` 2021 Corolla ZR ICE (AUS)  DongleID/route 33e7ea5e01511d3|2021-10-06--01-37-50
2021-10-07 12:07:57 +02:00
Willem Melching 305e8d07ec add Sonata N-Line FW versions (#22469) 2021-10-07 10:51:44 +02:00
Greg Hogan c1a8fe143f Hyundai Palisade: adjust tire_stiffness_factor (#22444) 2021-10-07 10:46:42 +02:00
Willem Melching 95957bc188 FW query: catch asserts from uds.py (#22456) 2021-10-07 10:34:59 +02:00
Jason Wen 8bd626aade Hyundai: Add FW for 2021 Hyundai Ioniq PHEV (#22455)
* Hyundai: Add FW for 2021 Hyundai Ioniq PHEV

* Force recognition

* Revert "Force recognition"

This reverts commit 6283b7f4c222d376dc8af49b02d001ff82ed3757.

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:40:12 -07:00
Jason Wen d4ac05b77b Hyundai: Add FW for 2021 Hyundai Elantra (#22461)
* Hyundai: Add FW for 2021 Hyundai Elantra

* Apply suggestions from code review

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:35:49 -07:00
Erich Moraga 519fdc0816 RIDGELINE add missing combinationMeter f/w (#22458)
`elliot sharpe <elliot2345@hotmail.com>`  2021 Ridgeline  DongleID/route 03ba90562055a83e|2021-10-06--08-27-30
2021-10-06 11:56:46 -07:00
Lee Jong Mun de88349ef0 hyundai clean up interface.py (#22408)
* Update interface.py

santa_fe / santa_fe_2022 same value 
kia_k5_2021 single value

* hyundai fw sort

# fwdRadar, fwdCamera, eps, esp, engine, transmission

kia ceed esp double fix 0x7d4 eps

* Update selfdrive/car/hyundai/interface.py

* Revert "hyundai fw sort"

This reverts commit 8ab24ffeeb84c3cb11f5fa44ae45fa35ed50ac06.

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-05 09:41:20 +02:00
Jason Young 10ff1fefaf VW MQB: Add FW for 2019 Volkswagen Jetta (#22435) 2021-10-04 14:12:53 -07:00
odomobo 037624de60 2022 Corolla engine FW (#22432) 2021-10-04 19:43:43 +02:00
Willem Melching 26ce0fa0cb Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
2021-10-04 18:42:06 +02:00
qadmus 3461e25944 Lateral PID: move steer feedforward to CarInterface (#22411)
* move steer feedforward to car interface, in car parameters

* LatControlPID.get_steer_feedforward()
2021-10-04 10:03:53 +02:00
Jason Young e98d125811 VW MQB: Add FW for 2018 Volkswagen Passat (#22418) 2021-10-03 16:39:37 -07:00
Kamil Klimkiewicz 2ab0d52fda Add fingerprint for 2019 Honda Civic Hatchback (#22400)
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
2021-10-01 15:02:26 -07:00
Jason Wen 6018bda2ba HKG: Car Port for 2021 Kia K5 (#22347)
* HKG: Kia K5 2021 Car Port

* Update CARS.md and RELEASES.md

* Add test route: Kia K5 2021

* Update firmware format due to recent query change

* Update CARS.md: not all 2021 Kia K5 have SCC

* Update test_routes.py
2021-09-30 14:35:14 -07:00
Jason Young b289ee6e53 VW MQB: Add FW for 2013 Volkswagen Golf (#22388) 2021-09-30 11:15:29 -07:00
martinl 4c45e90722 Subaru: update brake pressed signal (#21012)
* Change Global brakePressed to Brake_Status Brake signal

* Add Brake_Status Brake signal and check

* bump panda

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-28 22:00:35 -07:00
Adeeb Shihadeh 4c0b82308d honda nidec: fix no acceleration with pedal (#22368) 2021-09-28 16:31:12 -07:00
Adeeb Shihadeh 3b8fa4b7fd controls: only send cruise cancel while cruise is enabled (#22359)
* controls: only send cruise cancel while cruise is enabled

* cleanup

* might actually do something

* update refs

* update refs again

* update refs
2021-09-28 12:30:50 -07:00
cto424 d95641a594 2021 Hyundai Sonata engine FW (#22355)
* Update values.py

* Apply suggestions from code review

* Also duplicate

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 14:56:56 +02:00
smithula 8096da1dcd Add Firmware 2021 Hyundai Sonata Hybrid (#22353)
* Update values.py

* Update values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 12:24:05 +02:00
Jason Young f03ee4599e VW MQB: Fix min steer speed alerts (#22358) 2021-09-27 15:00:55 -07:00
ikawaoka ed5644fc1a Add Prius prime 2017 FW versions (#22350) 2021-09-27 13:37:52 -07:00
Jason Young 0630c42602 VW MQB: Improve auto network location detect (#22351) 2021-09-27 10:12:26 -07:00
John Belmonte 29edd56049 honda: replace hard-coded address for STEERING_CONTROL check (#22352) 2021-09-27 10:11:58 -07:00
Erich Moraga 98ee53618d Add missing COROLLAH_TSS2 engine f/w (#22346)
`emerson#6018` DongleID 4907c31e2bc2b77b
https://discord.com/channels/469524606043160576/524592892627517450/891336882485608559
2021-09-25 09:56:25 -07:00
Willem Melching 2d7d8fba99 Improve Hyundai FW query stability (#22344)
* extend timeout on valid response

* extend total timeout in fw query

* redundant query

* cleanup

* add 2 new sonata fw

* add cloudlog

* total timeout always 10x

* update ref

* time.monotonic()

* more logging
2021-09-24 17:32:09 -07:00
John Belmonte edabca193d Car Port: Honda Freed 2020 (#22003)
* car port: Honda Freed

Popular 3-row compact minivan in Japan based on Fit platform.

test route: 2c4292a5cd10536c|2021-08-19--21-32-15

* missing DRIVERS_DOOR_OPEN signal on FREED

* remove redundant long parameters

* additional FW; confirm lack of stop-and-go

* restore gateway ECU to fingerprint

* corrected mass and wheelbase

* add another forwardRadar id
2021-09-24 17:11:47 -07:00
Jafar Al-Gharaibeh b170c1f4e1 Mazda: use cruise speed signal from PCM (#22345)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-24 16:58:32 -07:00
HaraldSchafer 4e939a9648 NIDEC pedal, good gas/brake transition (#22314)
* need gas to combat windbrake

* coasting deadzone

* no pcm gas and no pedal when braking
2021-09-24 11:24:49 -07:00
Willem Melching c68fc8ef9c set Honda Bosch long lag to 1s (#22335)
* set Honda Bosch long lag to 1s

* update ref
2021-09-24 10:28:00 -07:00
Jason Young 6a18c8624f VW MQB: Add FW for 2013 Volkswagen Golf (#22338) 2021-09-24 08:45:32 -07:00
Adeeb Shihadeh 649af76fd4 remove community supported cars from community features (#22330)
* remove community supported cars from community features

* remove bosch and hkg long

* remove test case

* update refs
2021-09-23 17:34:52 -07:00
Willem Melching 88d248a5af Remove fuzzy fingerprint startup alert (#22328)
* deprecate fuzzy fingerprint startup alert

* bump cereal
2021-09-23 17:15:33 -07:00
Jason Wen 9acc592cd9 Hyundai: Car Port for 2022 Hyundai Santa Fe (#22325)
* Add fingerprint: Hyundai Santa Fe 2022

* Update LFAHDA_mfc: Add 2022 Hyundai Santa Fe

* Add car port: Hyundai Santa Fe 2022

* Add test route: Hyundai Santa Fe 2022

* Update RELEASES.md

* Update CARS.md

* Update RELEASES.md

* Remove FPv1 due to deprecation
2021-09-23 16:03:28 -07:00
Jason Young c51eba3fd6 VW MQB: Min steer speed support, other cleanup (#22324)
* VW MQB: Min steer speed support, other cleanup

* simplify

* more correct

* fix README
2021-09-23 15:12:57 -07:00
Andrew cc03ac49aa add another transmission FPv2 for elantra hev 2021 (#22316) 2021-09-23 13:23:16 -07:00
Greg Hogan 793ceb6b56 hyundai: resume from stop faster (#22274)
* hyundai: resume from stop faster

* update ref_commit
2021-09-23 13:20:25 -07:00
Jason Wen 1ba28af265 2021 Hyundai Sonata N Line: Fingerprint (#22300)
* 2021 Hyundai Sonata N Line: Fingerprint

* Force FPv2: 2021 Hyundai Sonata N Line

* Revert "Force FPv2: 2021 Hyundai Sonata N Line"

This reverts commit 50351a3d1765290ce489bb88bd784b073e8db77b.

* remove too short fw versions

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-23 11:20:29 -07:00
Chris McCammon b59894ec6e Highlander Firmware (#22304) 2021-09-21 18:06:56 -07:00
Cruise Brantley 75730c28ca Radar tracks for Santa Fe (#22270)
* Radar tracks for Santa Fe

* add radar DBC

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-21 15:04:14 -07:00