Commit Graph

499 Commits

Author SHA1 Message Date
Adeeb Shihadeh 55225dcd56 Block lane change start on blindspot detection (#1712)
* use BSM to block lane change start

* remove duplicate entry

* add approaching
old-commit-hash: c4a3d7afb0a190ea0abcf3deb0ec754b31de2cb3
2020-06-24 17:31:09 -07:00
VirtuallyChris 498cd9f47a Add missing fp value for Jeep Grand Cherokee 2019
old-commit-hash: 59cbaf88ef2d1477948bbd4f21c6f8398e38be74
2020-06-24 16:11:59 -07:00
VirtuallyChris a4bc6d6824 Add 2020 Prius fw
old-commit-hash: a5cd52a1c6902bd87a9ebbdae3a71a7b11f275d1
2020-06-24 15:54:43 -07:00
Adeeb Shihadeh 3f838318aa Hyundai stock adas signals (#1775)
* add stockAeb and stockFcw to carstate

* bump opendbc

* freq check

* bump opendbc
old-commit-hash: 28b249559702d052cb4ddfdff2fa0975ab8ff3c5
2020-06-24 14:55:58 -07:00
VirtuallyChris 9f832ba8d5 Add Lexus NXH fw
old-commit-hash: fd29c698221b5748c155dcf2acc56260a725bde1
2020-06-24 14:01:42 -07:00
Chris Souers 1b8cb18586 Add FW for CRV_EU (#1772)
old-commit-hash: 20e2185eda712cd66a8a66ebfda6228fc446cbaf
2020-06-24 11:57:45 -07:00
martinl 0d04c2cc26 Subaru Forester 2019 (#1768)
* Add initial Forester 2019 support

* Add dgranger15 Forester 2019 FPv1

* fingerprint syntax fix

* FPv1 syntax fix 2

* Add Forester 2019 to CAR

* fix indent

* Add Forester 2019 to test_car_models ignore list

* Update Forester 2019 steering tuning (dgranger15)

* Add Forester 2019 to README.md

* Change lists to single value

* Add test route for Forester 2019

* Remove model year

* Remove Forester model year in test_car_models

* Remove usernames, add Forester ACC speed mph unit value
old-commit-hash: 09e7d4ab3a044fd5279cce43853f69465eac876f
2020-06-23 16:07:46 -07:00
Adeeb Shihadeh 59b626ba8c test each model fingerprints with FW fingerprinting (#1769)
* test each model fingerprints with FW fingerprinting

* lock

* test for all
old-commit-hash: b44569284a70b07b15daa580922d895a70956c20
2020-06-23 15:33:04 -07:00
VirtuallyChris c4df79d1b5 2017 Lexus RX350 F Sport fw versions
old-commit-hash: a5ce72465b3ff7111e18433fe40e5538b85ade83
2020-06-23 11:01:05 -07:00
Thinh Nguyen fea7183248 Add firmware for 2020 RAV4 Hybrid TSS2 (#1764)
* Add firmware for 2020 RAV4 Hybrid TSS2

* Remove duplicate values
old-commit-hash: 574724765f8d1c2d6c6dc5cfdc0821264258c101
2020-06-23 09:01:46 -07:00
Adeeb Shihadeh 521e57e262 test for duplicate ECU firmware versions
old-commit-hash: b5efaef98afb812846a5f1c8df07970a9c73e7be
2020-06-22 22:47:16 -07:00
VirtuallyChris 3d228f47ad Add Civic hatch fw version (#1758)
old-commit-hash: ddd6029a865ba63d94b2679c68048d59e1922f70
2020-06-22 11:40:23 -07:00
Michael Honan bb0d671eae Added firmware versions for RAV4 TSS2 Non-Hybrid (#1756)
old-commit-hash: be08124d80dc47571c2f869ac659192ce95328c9
2020-06-22 10:18:04 -07:00
Adeeb Shihadeh e8ced8bee5 Cleanup startup event handling (#1748)
* cleanup startup event

* always show permanent

* lowest

* update refs
old-commit-hash: ccf6b80c7e5aa24b922ed60a519eab91a1d5ec9b
2020-06-19 16:16:48 -07:00
Michael Honan eb2896e2af Added 2019 C-HR FPv2 firmware (#1743)
old-commit-hash: d0254e60970c9938990c07fd2709240d01b8f453
2020-06-19 11:28:10 -07:00
Erich Moraga 3d04aaed84 Added 2020 RX350 fwdRadar f/w x018821F3301100 (#1739)
@ottopilot#7631 DongleID/route 3a5c5101bd71ad5d|2020-06-18--16-56-51
old-commit-hash: 853dfcd59ace1e7ee2f13b45403af94065fd921f
2020-06-18 15:38:19 -07:00
Adeeb Shihadeh 304d893af6 GM cleanup + ignition fix (#1729)
* small cleanup

* alertmanager handles that

* improve tuning

* below steer speed

* Revert "improve tuning"

This reverts commit 5d2de147d2c9979af09b7964ad59e4b95ddb2f2a.

* bump panda

* update refs

* bump panda
old-commit-hash: 472fe6696278b4137466e401496d1561a799a0da
2020-06-18 12:24:47 -07:00
eFini 92fa40ee8a remove dpulicated firmware id, already existed 3 lines above (#1736)
old-commit-hash: ee2f60f1cc1d95ba7b4288af143fc6f7132ab728
2020-06-18 08:31:42 -07:00
Scott Adair 82e6650743 ESP Firmware for Hyundai Palisade (#1728)
old-commit-hash: dbc609b240e598b06aec82c25d761d18d9c022ee
2020-06-16 18:35:42 -07:00
Willem Melching d2f2854488 Add Accord FW version
old-commit-hash: f418794e40798f7c4a1b6a1496878d755bd2746c
2020-06-15 18:53:09 -07:00
Adeeb Shihadeh b16559c4a0 Block entry on non-adaptive cruise mode (#1708)
* block entry on non-adaptive cruise mode

* user disable

* toyota
old-commit-hash: 25688f36cc16f4a4ce57e2e6d7a5c33e78cd520f
2020-06-15 18:11:50 -07:00
Adeeb Shihadeh e4f549c998 Hyundai Ioniq EV LTD (#1694)
* add ioniq

* bump panda

* test route

* bump pnada
old-commit-hash: 224672705c6bc5e7476275648813d39e17d3e476
2020-06-15 11:45:37 -07:00
Erich Moraga 7902dc33e0 Added C-HR Hybrid engine f/w (#1695)
@joxaarol#2418's 2020 C-HR Hybrid DongleID b7087e3bfd3a9cf6
https://discord.com/channels/469524606043160576/524592892627517450/721373655174742086

I also alphanumerically sorted the engine firmwares as a best practice, and to be consistent.
old-commit-hash: 3316e19aa4c905d4ab2d2c414bb14817649c6729
2020-06-13 08:36:29 -07:00
Adeeb 1cba78d535 Add hyundai legacy safety mode (#1693)
old-commit-hash: 437b974505a80011352bfa636e14445cea8c87c7
2020-06-12 20:55:59 -07:00
Willem Melching c2d94f260f Update Sonata stiffnes
old-commit-hash: 3061aea9f45dac4cb51d60d2a926a812ecf9a5d0
2020-06-12 12:06:26 -07:00
Willem Melching ba3dcb56ab Add Palisade fw versions
old-commit-hash: 15faf1791455fd9b4199ae1b6bf1289b08b8e340
2020-06-11 18:19:40 -07:00
Willem Melching 9779b2cd8f Big batch of FW versions (#1682)
* wip big batch of fw versions

* Add the rest

* And two more
old-commit-hash: 66ae0854b4cdee8dbc763d365c6e10b57237cec7
2020-06-11 16:37:45 -07:00
Erich Moraga 1cc091df7c 2016 RX350 F Sport corrections (#1679)
This fixes the botched PR I did yesterday...
https://github.com/commaai/openpilot/pull/1671
Accidentally used CAR.LEXUS_RXH_TSS2 firmware from my clipboard yesterday, instead of @gweedor#9653's...  Today I was extra careful ;-)

@gweedor#9653 DongleID 28f8c941d8b28743
old-commit-hash: 97b1ee25a7cff52216f5a1e8c5cb2b4b5847eba2
2020-06-10 20:47:10 -07:00
Erich Moraga a9e069f5f1 2016 RX350 F Sport (#1671)
@gweedor#9653 DongleID 28f8c941d8b28743
old-commit-hash: a2e6e4c71c804bb5caf59e4df1609320d66247ef
2020-06-09 16:59:27 -07:00
VirtuallyChris 26235622b8 Add Rav4 esp fw
old-commit-hash: 2fa07d2c0a0df3fc7ee3d738a51f8c4ce5eef282
2020-06-09 11:23:53 -07:00
Adeeb daea932130 Release cleanup (#1649)
* start cleanup

* whitelist submodule release files

* don't need to ship tests

* revert changes to build script

* add those tests back

* fix typo

* whitelist dbcs

* test

* run the right test

* whitelist opendbc/can

* revert that

* add missing dotfiles

* clean up

* ford DBCs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c24a7e248a295641f58d39e0db25dde1b742fc16
2020-06-08 14:24:14 -07:00
xx979xx 4aa1d21bde fix auto resume logic (#1657)
old-commit-hash: c8377131dc155d1c1330762fbe79a47205204604
2020-06-08 14:15:22 -07:00
Adeeb 9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
VirtuallyChris dd16cd5d56 add Rav4_TSS2 engine fw
old-commit-hash: eebdf52ff57857171c55df3cdc10f64adc2ad039
2020-06-03 15:18:30 -07:00
Jafar Al-Gharaibeh bbe43de357 Fix rounding of minSteerSpeed in events (#1620)
I thought I was missing a rounding in Mazda code, but it turned
out to be a missing rounding after the recent event refactoring

Python3 interpreter:
>>> print(" %d  %d" % (1.6,1.4))
 1  1
>>> print(" %d  %d" % (round(1.6),round(1.4)))
 2  1
>>> print(" %d  %d" % (int(round(1.6)),round(1.4)))
 2  1
>>> print(" %d  %d" % (int(round(1.6)),int(round(1.4))))
 2  1

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 73db0791997efa270f6793b7acb422aedc22d21f
2020-06-03 14:01:32 -07:00
Adeeb 8c0971086b Fix speed too low (#1627)
* fix speed too low

* bump ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 165bcf1f31ffc34b56c84cf8e71f41ce224dd7e3
2020-06-02 17:31:59 -07:00
Willem Melching a56e2b01f8 Make pylint more strict (#1626)
* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
old-commit-hash: 843a64c72fb94397a1edf814fa66044c8d92acbf
2020-06-02 16:29:32 -07:00
Willem Melching 2bc6a34ee5 fix flake8 error in honda carstate
old-commit-hash: 0a5bb88ca293a690d947ea5d98e915f3f3c8eca9
2020-06-01 15:28:47 -07:00
cowanhmoore 81d0cdfcec HRV fix gas pedal signal (#1582)
Seperate CAR.HRV from CAR.FIT
HRV used GAS_PEDAL, not GAS_PEDAL_2 for FIT
old-commit-hash: afaa2b917c249872f59b5ab1a03a93c02d7a3789
2020-06-01 15:26:47 -07:00
Willem Melching 650ee4c0de remove unused line in nissan carstate
old-commit-hash: fa7d8f6e1b6c8a27dacff2bbff89b3cbe79c5609
2020-06-01 14:39:06 -07:00
Andre Volmensky 6ad040fda7 Nissan mph bit (#1609)
* Added MPH bit for Rogue/XTrail

* Init seatbeltUnlatched as True
old-commit-hash: 843b2940c5b35a92cc3f9f7d0f4310a420a8ad94
2020-06-01 14:38:20 -07:00
Willem Melching 3df1a2c681 Fix low speed engage on stop and go Hondas (#1613)
* fix low speed engage on stop and go Hondas

* update ref commit
old-commit-hash: f575a9ec12990ac2a764a5f416795d1c618f4609
2020-06-01 10:14:11 -07:00
Jafar Al-Gharaibeh 80a6d76ce5 Mazda: Slower rate for ACC cancel msg to avoid cruise disable (#1615)
* Slower rate for ACC cancel msg to avoid cruise disable

 Sending ACC cancel message at 10hz may end up disabling
main cruise state. That is because stoc ACC use the same
signal for both functions. If cruise is already enabled
the signal canceles it, otherwise cruise is disabled.
10hz seems to be still fast in some cases not allowing
the state to sync up between OP and the Stock state.
5hz avoids that issue. Also, the resume message was also
updated to 5hz as that seems to work better as well.

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

* Round up 27.96 to 28mph

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 41fbce59067569d370b38f40cd1ef09b61c08df2
2020-06-01 02:04:47 -07:00
Adeeb Shihadeh 37a67a2a14 enable flake8 E502: backslash is redundant between brackets
old-commit-hash: 6466ec982aa47bcbbc7c6a3a7cf60cec0163be84
2020-05-31 17:41:18 -07:00
Adeeb Shihadeh 9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh 68a3061c9d enable E261 in flake8: two spaces before inline comment
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Willem Melching e048a1f054 Add alternate Accord tuning
old-commit-hash: 02c130731c2c041cbe95cef8717a93a0b6d67b48
2020-05-31 13:37:55 -07:00
Willem Melching 168ac65d9e White panda no longer supported
old-commit-hash: 106cddb49a3c60449a0413ff28dbbe50479c43bf
2020-05-31 13:33:56 -07:00
Adeeb Shihadeh be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb 7965569766 Flake8 E22X (#1607)
* e221

* e225

* bump opendbc
old-commit-hash: 6051061ff8e7809960cc1f2bad9a582801d5a83e
2020-05-31 00:48:47 -07:00