Commit Graph

1340 Commits

Author SHA1 Message Date
Shane Smiskol 40a688983a Honda: use common DBC for CRV H and Accord Diesel (#23743)
* bump

* use Accord DBC for CRVH, Civic Diesel

* bump

* bump opendbc
old-commit-hash: 31228ce5605b6ba231ac09e22fd41946bf80ab36
2022-02-12 16:28:53 -08:00
Shane Smiskol a2f9ac2b5e unsafe mode: update safety declaration comment (#23753)
* update safety declaration comment

* whoops
old-commit-hash: 7410160d09b09c529efece237f20cd0d5c062686
2022-02-11 19:20:27 -08:00
Vivek Aithal 1329847be0 controlsd: Fix Toyota steer angle sensor race condition (#23747)
* fix steer angle race condition

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3e915cf628d24d04843730a9f5f664a20083291a
2022-02-11 13:54:17 +01:00
suryad b8e87efae6 Mazda: add 2017 CX-9 firmware (#23742)
old-commit-hash: 12e79761e12c79d933aaa8a7f50a60f3d0b0736d
2022-02-10 16:30:00 -08:00
Shane Smiskol 2675996ef3 GM: Fix noisy brake pressed (#23712)
* GM: Use ECMEngineStatus.Brake_Pressed

* consistent style

* add TODO

* bump panda

bump panda

* it should

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd76cfcf28f95354e78abc5786db0cef75cb23cf
2022-02-10 13:08:19 -08:00
Shane Smiskol 1cd3c05a70 Honda: fix brake pressed signal (#23683)
* or brake_switch

* remove car exceptions

* Revert "remove car exceptions"

This reverts commit cad6a552aa4a17c69616014d3e9333d30c1fadd3.

* does have ts noise, use updated

* bump panda for tests

* bump

* messsssy draft

* clean up

* clean up

* bump

* CS: process all messages at once, like we do during real openpilot usage

* handle multiple messages updated in one cycle

* bump

* bump

* use less confusing, but equivalent cp.vl

* Update selfdrive/test/test_models.py

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

* no msg

* bump opendbc

* Update selfdrive/car/honda/carstate.py

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

* same test logic

* add brake_switch_prev to class

* need to set previous brake switch when not lagging (most of the time)

* need to compare

* only update previous if updated this cycle

rm

* need to maintain previous active state

* move brake_switch

* bump opendbc

* bump

* bump

* bump

* bump

* bump

* bump

* bump opendbc

* rename

* oops

* bump opendbc

* bump

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 209bfe536b9ed645af3642336d2d05ab5160deba
2022-02-10 13:04:37 -08:00
Jason Young 149925398e VW MQB: Volkswagen Caravelle T6.1 (#23735)
* VW MQB: Volkswagen Caravelle T6.1

* autogratitude
old-commit-hash: 3553a26d520a0541ce1d75e55a393c75dc4257b8
2022-02-09 10:30:13 -08:00
khoi 194db0e013 Hyundai: add FW for Santa Fe 2022 (#23718)
* Add finger print for Santa Fe 2022 - Vietnamese

* Add trailing commas
old-commit-hash: 4bc86225243b21bf3a78c3db643a15a5e80a846a
2022-02-07 14:34:35 -08:00
Adeeb Shihadeh 59c76fc993 resolve misc car TODOs
old-commit-hash: 3c83975ef6ee340bebca362ef1238b4f9018ac8e
2022-02-06 13:50:59 -08:00
Jafar Al-Gharaibeh 5b2973b308 Mazda CX-5 2022 Car port (#23704)
* Mazda CX5 2022 FW

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

* CX-5 2022: No lockout and steer down to zero

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

* CX-5 2022: No dashcam!

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

* CX-5 2022: add to supported cars

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

* Mazda: stick with 800 max torque for now

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

* Update docs/CARS.md

* Apply suggestions from code review

* Mazda: set car models where needed

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

* Mazda: set minSteerSpeed per car

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

* unused

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

* cleanup

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 341f5a4ae01445049f7bb8a51f9e2781bbdfa124
2022-02-04 23:34:37 -08:00
Adeeb Shihadeh cd0362abcf not sure we want this
old-commit-hash: c05bff58b8fa5323a4633f5fb8029bbf700bdaac
2022-02-04 23:31:22 -08:00
Shane Smiskol 8ade6dd81a GM: remove noisy ignition signal (#23698)
* move BUICK_REGAL to dashcamOnly

* bump to master
old-commit-hash: fccb80e9a542c7d500586ce62c018a27862e3746
2022-02-03 12:32:33 -08:00
Erich Moraga 00b8dc8ce9 Toyota: Add missing LEXUS_RX_TSS2 engine & fwdCamera (#23691)
old-commit-hash: 3e094bc7c4a3eba628633fb86412d09bce677ffe
2022-02-01 23:32:40 -08:00
Shane Smiskol 3bcd3e2b81 Toyota: merge Lexus ESH params into similar vehicles (#23673)
* merge LEXUS_ESH

* min and max of all variants
old-commit-hash: 31af75f2e35572dc0592bb87c190c9abb00e1c17
2022-01-31 17:30:48 -08:00
Shane Smiskol 4864a65f5e CANParser: remove rest of default values (#23676)
* forgot honda somehow!

* forgot some more signal defaults
old-commit-hash: 61de3788ff3b49485e8ef6546fb2362d43ba373c
2022-01-31 17:29:55 -08:00
Jafar Al-Gharaibeh 055b8b06e6 Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

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

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c31c9b7a3b0ee72b9dca443067deab793e19187
2022-01-30 21:04:07 -08:00
VAHAMAISEN 22c3778cab Toyota: add COROLLA_TSS2 fw (#23661)
* Update values.py

Added Toyota Corolla fingerprint.

* a
old-commit-hash: 9ec99b52303eb7036ccce4adc4b3c8d1ea7d8e1b
2022-01-30 20:04:36 -08:00
Willem Melching 65e2f0e360 Honda Pilot, Passport, Ridgeline: increase user brake threshold (#23641)
old-commit-hash: 96743c10676fa340cffd8a3ef36da16d805f1d09
2022-01-30 19:45:24 +01:00
Adeeb Shihadeh f4a10c631f test car models: fix all panda safety mismatches (#23616)
* remove tolerance

* fix nissan mismatches

* warm up

* remove additional bosch check

* another honda exception

* little more

* Update selfdrive/test/test_models.py
old-commit-hash: d2735d73fc488f0da98073268eb266d492be37f9
2022-01-29 22:14:27 -08:00
Shane Smiskol 3ec9266de0 Honda: use common DBC for PILOT and others (#23659)
* use common dbc

* bump

* remove from files common
old-commit-hash: a5844363280ec4bafba9eaf046813f16aba6d6ac
2022-01-28 22:26:18 -08:00
Adeeb Shihadeh 9dc6ad47a0 Volkswagen: no actuation while pre-enabled
old-commit-hash: 661d47325a17574c88c9e6bf8c76880ac3973f15
2022-01-28 19:14:14 -08:00
Adeeb Shihadeh 71da8d1250 No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state

* update refs
old-commit-hash: 72e00a07686fa112dde7928fa48ab4a56ed7a7f5
2022-01-28 16:03:44 -08:00
Adeeb Shihadeh 6e9e095184 Honda: no actuation while in pre-enabled state (#23657)
* Honda: no actuation in pre-enabled state

* Honda: no actuation while in pre-enabled state
old-commit-hash: 8eb6a6a535bb037d375e0f81581bcda8d1f5114a
2022-01-28 15:28:17 -08:00
Adeeb Shihadeh 783779c2d6 Honda: minor carState cleanup
old-commit-hash: 2aa2031352b7727468fc8f433c0b67dd5a8e8c14
2022-01-28 14:29:40 -08:00
Shane Smiskol f443d62f8d CANParser: consistent style for adding signals/checks (#23646)
* consistent style, like toyota

* typo
old-commit-hash: 95caa5f3996dff4ec621d45d3ce6446aff4bd512
2022-01-28 13:20:13 -08:00
vanillagorillaa f8f1ffd0d6 Honda: Merge Passport interface (#23651)
old-commit-hash: 06541abddcd84a6a6f6b4dbe51f036090e725351
2022-01-27 20:16:13 -08:00
Shane Smiskol fadba4b34d CANParser: remove default values (#23642)
* draft

* remove rest

* bump

* update radar interfaces

* do rest and formatting

* bump

* fix mising check

* try this

* Revert "try this"

This reverts commit 0d26d9a072f87dbc897ed525b70fb1db9cb04a06.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3645186d7cfcbe8889fed14caf5c51a0a84f14bb
2022-01-27 17:06:18 -08:00
Adeeb Shihadeh 73b4613abf Toyota: merge IS and RC params
old-commit-hash: fe5056ffd8dfb6a8ecb1b008a8c77c2b3b2e7511
2022-01-27 16:20:57 -08:00
【TIM】 64ebc3b4fd 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>
old-commit-hash: eaebf01e581b910763eb23ed3e15af1559e84dc6
2022-01-27 15:33:18 -08:00
Adeeb Shihadeh 31857ee45b Toyota: DBC rename
old-commit-hash: 036c1799d440a0bb8e69e647c18848fe173e303b
2022-01-27 11:44:57 -08:00
Adeeb Shihadeh effdebff11 Toyota: use common DBC for IS and RC
old-commit-hash: 4c765acb6ec834c9721e8c273336750b90ed56b7
2022-01-27 10:27:28 -08:00
Adeeb Shihadeh 0a5779a090 Toyota: remove Prius DBC
old-commit-hash: 9a211ee14b3efe10df16c4aef19744607f0163fd
2022-01-27 08:59:16 -08:00
Adeeb Shihadeh c59e3695db Toyota: unify TNGA-K platform DBCs
old-commit-hash: 2f01bf3b6fa86597c4eeee7748c664e8c65891ac
2022-01-27 08:52:24 -08:00
Adeeb Shihadeh 4ecc611e27 Toyota: CT200H DBC merged into Rav4
old-commit-hash: b321d65cac2c7213ba9377ce8cc57e366e62d6d5
2022-01-27 08:43:40 -08:00
Willem Melching 9f202e63f5 clip steer saturation counter to steerLimitTimer (#23638)
* clip steer saturation counter to steerLimitTimer

* update ref
old-commit-hash: ee71fd2fccdca9c311d7912f1fbaae6d50aac27a
2022-01-27 12:31:36 +01:00
Willem Melching 39a5e19e30 tesla: fix actuatorsOutput logging (#23637)
old-commit-hash: 6a9a573296696065c00ac3f9c6af916cd31eadb1
2022-01-27 11:46:35 +01:00
Adeeb Shihadeh ed3eef90b1 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>
old-commit-hash: 2240b802be8f781d52b7c00da54a577612d67330
2022-01-26 22:57:26 -08:00
Adeeb Shihadeh 9363436646 Toyota: rav4 DBC is same as corolla now
old-commit-hash: 33c8468e0278ca7828f3f4b37c7008ed81d8a754
2022-01-26 22:13:51 -08:00
Shane Smiskol 589d720b30 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 40b7b28f8416497cd1337784d336c1dd4f5dd6e3.
old-commit-hash: 3c62d9da0952dc28fa7315e2ff5beb8e5942089f
2022-01-26 22:08:04 -08:00
Shane Smiskol af77fa14a4 Toyota: use common gear packet signal (#23634)
* Toyota: remove nodsu hybrid dbc

* bump

* no longer exists
old-commit-hash: 14133069e1f226b9c981d09653fb74f5020f725e
2022-01-26 17:10:32 -08:00
Shane Smiskol beeb0442ce base LatControl class (#21967)
* base LatControl class, move sat check out of pid.py

clean up

clean up

* fix

* global variable for min control speed

* nicer name

* unify latcontrol class init arguments

* add to release files

* saturated if close to limit

* move angle mode saturation checks into class

* check_saturation function takes in current saturated status

undo

* apply latcontrol_angle's active checking to all controllers

* clean up

* move those back

* make abstract baseclass

* add test for saturation

* keep clip

* update ref

* fix static analysis

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9de8f8cd8c384596868edf3307da51819b28bb4b
2022-01-26 17:10:41 +01:00
Shane Smiskol dc20ab6c42 Toyota: add fw for 2020 Lexus UX250h (#23626)
old-commit-hash: 173c3ae3a9ec77493527ccaa2844e2cdf14d651f
2022-01-25 22:20:03 -08:00
Shane Smiskol 183715ccea controlsd: verify unsafe mode consistency (#23563)
* add unsafe mode check to controlsd

bump submodules

forgot to add to health_t struct

bump

ahh forgot to set it!

bump

bump

clean up

clean up

bump

* fix ordering

* move to end

* unsigned

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 31d147dca2ada336d14c08ae35f5af510c309730
2022-01-25 12:09:13 +01:00
vanillagorillaa 455fd17008 Honda: Merge Pilot_2019 into Pilot (#23590)
* merge pilot

* these weren't on the 2019 pilot

* add non essential ECUs
old-commit-hash: 4f827e2e9e62944dd804268780ffd410c3e628c1
2022-01-24 21:19:40 -08:00
Adeeb Shihadeh f96d34902f GM: use generated DBC (#23615)
* Rename GM PT dbc to generated

* bump opendbc

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: cdd3598146c9e06362683e2993af730157abf0b6
2022-01-24 20:51:57 -08:00
Adeeb Shihadeh badf4dff4f 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
old-commit-hash: b18c4eeb82f94a655c46e50750debcb37b49a598
2022-01-24 15:43:10 -08:00
Adeeb Shihadeh 70f1418256 remove community features toggle (#23214)
* remove community features toggle

* bump cereal

* little more

* update refs
old-commit-hash: 3e9cb7fa12b5f686fdcf6122ef5979d01c41f0a3
2022-01-24 14:49:47 -08:00
Jakob Murko 903863050b VW MQB: Add FW for 2015 Golf 7 2.0 TDI (#23603)
old-commit-hash: 2e6e566a7dc69c8da174060d83352c3e556f9698
2022-01-22 13:21:44 -08:00
Kento Tokuhiro 6cc3a5dcd1 Toyota: add fwVersion for 2018 CHR (#23604)
old-commit-hash: 0a5115d7750fc1e27dd4caf46c6ff50752b7a5d8
2022-01-22 13:20:04 -08:00
Jason Young 6f8443ce26 VW MQB: Update steering angle and actuator delay (#23584)
old-commit-hash: d898cccaa7d772c92c8128092d42898607b08a40
2022-01-20 14:00:05 -08:00