Commit Graph

872 Commits

Author SHA1 Message Date
Chris McCammon d6201ce95a 2020 Corolla Engine fw (#22244) 2021-09-15 17:13:22 -07:00
Willem Melching 6fd980c63e Hyundai radar parser (#22241)
* add radar parser for 0x5XX range

* fix speed

* enable based of fingerprint

* fix speed scale

* use proper signal names

* add to release files

* hyundai: script to enable radar points

* typo

* add comment

* fix tests

* cleanup

* add note about persistent

* Update selfdrive/car/hyundai/radar_interface.py

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

* fix bugs in hyundai enable radar points script

* accidentally removed comment

* add some other cars

* add cosine to dRel

* fw versions do not match openpilot

* bump opendbc

* include state 4

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-15 15:43:01 -07:00
Jason Young b7e74f3b24 VW MQB: Škoda Kamiq Mk1 (#22240)
* VW MQB: Škoda Kamiq Mk1

* footnote about the China market Kamiq
2021-09-15 11:29:37 -07:00
Adeeb Shihadeh b670868bcd add TSS2 Rav4 hybrid fw versions from #22216 2021-09-14 19:37:22 -07:00
Willem Melching 417e229624 Add upper/lower bounds for longitudinal lag (#22235)
* Add upper/lower bounds for longitudinal lag

* add ref

* update ref

* bump cereal

* bump cereal
2021-09-14 18:57:16 -07:00
Trae b6c65aca08 Add 2022 Corolla Hatchback Engine FP (#22232) 2021-09-14 15:51:05 -07:00
John Belmonte f07e1ae99e Honda carstate: use common gas pedal signal (#22010)
* Honda carstate: refactor GAS_PEDAL handling

* collapse SCM signal cases

* stop using CAR_GAS signal (combined user pedal + computer)

* cleanup

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-13 22:41:50 -07:00
Willem Melching c4bac6bd68 Hyundai longitudinal prerequisites (#22121)
* panda

* bring over changes

* dont check car model

* remove comment

* fix typo

* more stuff gated behind long

* not

* not used

* gate that too

* try honda tuning

* clip accel values

* fix up merge

* fix stopping

* add retry logic around knockout

* increase timeout

* keep flipping lead bit

* true for now

* less tuning

* update comment

* 0.1 s is fine now

* merge honda and hyundai knockout

* more lead fields

* another obj bit

* increase timeout

* fix stopping flag

* only lag compensate for braking

* no lead

* less tuning

* only do knockout if not readonly

* try controlling using jerk

* tuning

* try higher stopping rate

* set stopping flag at higher speed

* clip upper jerk when stopping

* remove comments

* tester present 1hz

* use positive start accel

* 1.0 to maybe improve low speed stuff

* no point going over 0

* bump panda

* bump panda

* revert that change

* update ref
2021-09-13 22:03:08 -07:00
Willem Melching b7d1aac197 Parameterize longitudinal control using carParams (#22200)
* use CP.startAccel

* missing values

* order

* update ref

* cereal
2021-09-11 18:01:54 -07:00
Willem Melching 1e62b09e5d Use CP.vEgoStopping and clean up CP.startAccel (#22199)
* use CP.vEgoStopping and clean up

* update ref
2021-09-11 17:13:30 -07:00
Jason Young d5e6dd3d5b VW MQB: Škoda Karoq Mk1 round 2 (#22190)
* VW MQB: Škoda Karoq Mk1

* Update README

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-10 14:41:31 -07:00
Andrew d2e751f108 add another missing FW for elantra_hev-2021 (#22186)
popped up during drive: `715ac05b594e9c59|2021-09-10--05-58-04`
2021-09-10 11:39:12 -07:00
Jason Young 7d5ee9fbd1 VW MQB: Cleanup stock LKAS signal forwarding (#22180)
* VW MQB: Cleanup stock LKAS signal forwarding

* apply review suggestion
2021-09-10 11:23:38 -07:00
HaraldSchafer 74b6c87254 cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
2021-09-10 10:34:18 -07:00
speedking456 1f639e38b2 Remove Kia Seltos from Legacy Safety Model (#22179) 2021-09-10 08:19:58 -07:00
Jason Young 5a4d03da29 VW MQB: Fixes for network location detection (#22174)
* VW MQB: Fixes for network location detection

* apply review suggestion

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

* FP back to 100ms; VIN state poll at 50Hz

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-09 17:49:31 -07:00
Jason Young 11730b8077 VW MQB: Fix for rare autoresume problems (#22176) 2021-09-09 13:21:04 -07:00
vanillagorillaa bcb8a11d7f Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-07 16:46:44 -07:00
AlexandreSato 83f5cdb18b VW: Add FW for Brazilian Tiguan (#22143)
* Fingerprint brazilian VW TINGUAN_MK2

* Fingerprint for 2019 VW TINGUAN_MK2

* Update values.py

* Update values.py

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-07 15:22:34 -07:00
HaraldSchafer 449a28b9aa Speed only ACC control for NIDEC Odyssey (#22156)
* speed only nidec control

* mergeable
2021-09-06 21:11:26 -07:00
Adeeb Shihadeh 82bd060a68 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 04c50e5c0c.
2021-09-06 20:50:02 -07:00
seven121-ym 67ab1193d0 Subaru: Add Japanese Impreza fingerprint (#22125)
* Update values.py

* crosstrek is a subset of new fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-06 20:23:32 -07:00
Jason Young 04c50e5c0c VW MQB: Škoda Karoq Mk1 (#22133) 2021-09-06 19:56:50 -07:00
Willem Melching 21ae64868e put LongControlState in CarControl.Actuators (#22154) 2021-09-06 18:45:59 -07:00
Willem Melching b39f6efa3f parameterize longitudinal actuator delay (#22153)
* paremetrize longitudinal actuator delay

* update ref
2021-09-06 17:56:52 -07:00
Willem Melching f941111dcd Clean up PID controller ACCEL_MIN/ACCEL_MAX (#22148)
* use ISO 15622:2018 limits in PID controller

* allow more for nidec

* limit PID inputs

* CP is not needed

* add GM

* not used

* update ref

* fix honda bosch
2021-09-06 17:29:32 -07:00
Willem Melching 4c37ea98b5 Extend Toyota braking to 3.5 m/s^2 according to ISO 15622:2018 (#22150)
* Extend toyota braking to 3.5 m/s^2 according to ISO 15622:2018

* bump panda
2021-09-06 16:37:04 -07:00
Willem Melching ec71aa0458 toyota: clean up accel command (#22145)
* toyota: clean up accel command

* revert comment

* fix HYST_GAP
2021-09-06 16:12:58 -07:00
Shroom 37daec5dee Add Kia Niro EV 2019 fw signature. (#22141) 2021-09-06 15:11:45 -07:00
Jason Young 4a79692092 VW MQB: Add FW for 2020 Volkswagen Golf GTI (#22136) 2021-09-06 12:10:34 -07:00
Jason Young 387816de6c VW MQB: Add FW for 2020 Volkswagen Tiguan (#22140) 2021-09-06 12:10:23 -07:00
martinl d32b1f703c Subaru: replace stock LKAS alerts with openpilot's (#21993)
* Add stock LKAS alert filters and openpilot LKAS state indicator

* Update ES_LKAS_State signals

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-03 16:53:49 -07:00
Harald Schafer 054c912b9a need to add gas here 2021-09-03 14:01:24 -07:00
John Belmonte e7c4992900 Honda CarState: clean up unnecessary instance attributes (#22117) 2021-09-03 09:43:30 -07:00
Adam Boeglin b5daca3881 Added fingerprint for 2018 Jeep Trackhawk (#21976)
* Added fingerprint for 2018 Jeep Trackhawk

When connecting the Comma3 to my Trackhawk with the latest jvePilot beta, it showed the error "Car Unrecognized: Dashcam Mode".

Obtaining this fingerprint resolved the issue. I don't know if it works with any other model years.

* merge fingerprints

* add missing vals

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 15:12:43 -07:00
martinl d3113fe01a Subaru: universal signal for ACC speed units (#21995)
* Change ACC Speed Units signals for Global and Pre-Global

* Use Dash_State UNITS signal for Preglobal

* Change Subaru Preglobal to use Dash_State2 UNITS signal

* bump opendbc

* cleanup

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:21:35 -07:00
HaraldSchafer ebf2a2279d Prevent PID windup on Honda NIDEC (#22112)
* add higher set speed

* freeze when close to cruise

* dont bias this

* higher set speed

* start high

* 2mph might be needed

* better condition

* limit accel windup like this

* wrong name
2021-09-02 14:16:44 -07:00
John Belmonte 44c546c92a Honda HR-V: set standstill (#22009)
* fix apparent Honda HR-V bugs

  * CarState.standstill was not set
  * CarState.gas was not derived from GAS_PEDAL/CAR_GAS

* revert gas change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:05:00 -07:00
HaraldSchafer c93f3b10f7 no more old nidec (#22104) 2021-09-02 12:05:03 -07:00
Jason Young 619beb3942 VW MQB: Mechanical sort of UDS FW values (#22111) 2021-09-02 10:26:48 -07:00
Jason Young d9e2ecb01c VW MQB: Add FW for 2017 Volkswagen Golf (#22110) 2021-09-02 09:10:21 -07:00
Erich Moraga 959202e555 Add missing CAR.HIGHLANDER_TSS2 engine f/w (#22102)
`@gusguz#5296` 2021 Toyota Highlander   DongleID|route 6519c1e9abaf1ddf|2021-09-01--17-18-47
2021-09-01 16:37:55 -07:00
Willem Melching c15a616ac4 Continuously update offset between TSS2 angle sensors (#21943)
* Continuously update offset between TSS2 angle sensors

* add comment

* less lines

* only when initialized

* init to None

* update ref
2021-09-01 15:00:52 -07:00
Erich Moraga f8052cb80a Add missing COROLLA_TSS2 engine f/w (#22097)
`@webnz#4042` 2019 Toyota Corolla ICE DongleID/route 4468e4365edecd70|2021-08-31--22-07-53
2021-08-31 23:10:07 -07:00
Felixowns 676fb6740b 2018 Sonata 2.0T Limited Fingerprint (#21823)
* Update values.py

* cleanup

* add 2nd tranmission FW

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-31 16:28:37 -07:00
Willem Melching b8e4717f72 Populate angle offset in carState for Toyota accurate angle sensor (#22091)
* populate angle offset in carstate for TSS2

* update ref
2021-08-31 11:34:00 -07:00
Jason Young acabdf5866 HKG: Add FW for 2018 Hyundai Kona EV (#22051)
* HKG: Add FW for 2018 Hyundai Kona EV

* try to fix FCA error on engage

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-08-31 11:25:12 -07:00
robbederks 41934c9a9b Tesla radar interface (#21932)
* tesla radar interface

* add  tesla radar dbc to release

* rerun jenkins

* forgot to clear the message set

* trigger message

* raw data points

* cleanup

* rerun jenkins
2021-08-31 07:30:51 -07:00
Jafar Al-Gharaibeh cb63a89dd0 Mazda 3/CX-5 FW (#22087)
* Mazda 3 2017 FW

dongle-id: 2f26dfe847d7c138

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

* CX-5 fw

dongle id: 769d87694463b543

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-08-30 22:14:49 -07:00
Adeeb Shihadeh b4e9ab9343 Update Honda HRV DBC (#22086)
* update honda hrv dbc

* fix release files
2021-08-30 22:14:35 -07:00