Commit Graph

1582 Commits

Author SHA1 Message Date
Adeeb Shihadeh
be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb Shihadeh
b30f62293e bump panda
old-commit-hash: ddcc78d2d5e83f4355533164a00036dea112b080
2020-05-31 12:09:18 -07:00
Adeeb
7965569766 Flake8 E22X (#1607)
* e221

* e225

* bump opendbc
old-commit-hash: 6051061ff8e7809960cc1f2bad9a582801d5a83e
2020-05-31 00:48:47 -07:00
Willem Melching
b8dd04d4cb Update Nissan years in release notes
old-commit-hash: b08fff33a0d8e05cb0941c69ecbc0bbff89783c6
2020-05-30 20:27:15 -07:00
Andre Volmensky
d106ccc0fb Added Rogue 2019/Leaf 2019 fingerprints (#1605)
* Added Rogue 2019/Leaf 2019 fingerprints

* Added Rogue as new car. Updated readme

* Added route to test_car_models.py. Fixed if statements to check against rogue/x-trail

* Fixed paste error

* Merged Leaf fingerprints

* Assume Rogue is MPH until we work out the mph/kph bit
old-commit-hash: 9fc826cb5c6fc46ebd0fe5c1ecd322a472da44ef
2020-05-30 20:25:32 -07:00
Adeeb
5e857427ba Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
2020-05-30 20:14:58 -07:00
Willem Melching
2ee34128d0 add some sanity checks on returned params
old-commit-hash: 4fcf47812bee79a82919799d9a9b9cac115dea99
2020-05-30 17:15:41 -07:00
Willem Melching
e04d6772d8 Improved tune for VW Golf Mk7. #1603
commit 012049274fd5573bdc5d2d0f198817646dfd5a1b
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sat May 30 10:40:49 2020 -0700

    update ref

commit d50cc2d81fd73dcfccfe1a8e2726879941ec5327
Author: Jason Young <jyoung8607@gmail.com>
Date:   Sat May 30 10:32:25 2020 -0400

    Discard no-longer-used import

commit c092e6f5092535a3b4bb5cabb6f5ecf83ef754c7
Author: Jason Young <jyoung8607@gmail.com>
Date:   Sat May 30 10:21:57 2020 -0400

    Improved tune from community

old-commit-hash: b5a2cec913f44438aa15b8b49e2cfee2b033c5e6
2020-05-30 17:04:38 -07:00
Adeeb Shihadeh
25f83a654e remove file that shouldn't have been committed
old-commit-hash: 18afb979fe5ef00ebb9079991a0fcbfdf3734eb1
2020-05-30 14:40:00 -07:00
Willem Melching
672b9ff1f0 add RAV4H_TSS2 EPS firmware version
old-commit-hash: d9202905449b8e2ea25ddb2ebb392eccb384471b
2020-05-30 13:38:42 -07:00
Willem Melching
5d897a743c Fix indentation in board.cc
old-commit-hash: 4cec8bcc30ed93136a0378f55bed55c34d89644f
2020-05-30 10:31:40 -07:00
Kishan Karunaratne
433cd9843a [GM] Show FCW from OP on dashboard UI / LED (#1596)
old-commit-hash: 9256530a1d41a4ad65616815f8e9ab047c63f61e
2020-05-30 10:17:04 -07:00
Dean Lee
b72fcb69e2 driving.cc: Pass ModelDataRaw by reference (#1600)
* pass ModelDataRaw by reference

* pass NVGpaint by refer
old-commit-hash: af36aa28abeb55a4445cbc1ff13ac55993d989d9
2020-05-30 10:08:44 -07:00
Erich Moraga
0df6d7d187 CAR.SIENNA Engine, ESP, and DSU f/w was missing (#1597)
DongleID 307249a92f279059... verified working via TeamViewer, as FPv2 switched to `fingerprintsource = fw`
old-commit-hash: 94b2d4d522108c8897b89a1c0727b394ad3c5892
2020-05-30 10:07:23 -07:00
Yahya Lmallas
8e6224cfd2 Call to gmtime is potentially dangerous (#1598)
* Call to gmtime is potentially dangerous

* Revert "Call to gmtime is potentially dangerous"

This reverts commit cc531e4e1969f7a615230d8462f0be3258ba3378.

* Call to gmtime is potentially dangerous

* oops

* not a pointer

* Little identation fix
old-commit-hash: 3ddbb7fe5baac45b561f9c0efbac05e2f552637c
2020-05-30 10:06:29 -07:00
Adeeb
55dedc0476 pyextra isn't a submodule anymore (#1601)
old-commit-hash: cc2137bdedb8c65d6d9d32a1234250225dc2d3dc
2020-05-30 10:04:56 -07:00
martinl
e8fea4d187 Add Subaru blindspot monitoring signals (#1374)
* Add blindspot signals to carstate

* Change blindspot signals to boolean
old-commit-hash: 7b54dad0b8635d745d976073cd6551beee7177e5
2020-05-29 23:32:51 -07:00
VirtuallyChris
29287c3939 Add Camry Hybrid 2018 Engine FW
old-commit-hash: 3d7cd9ec78c07d25489078c890bee4249475ef68
2020-05-29 17:26:05 -07:00
Willem Melching
20fe72b58f Fix Nissan model years in readme and release notes
old-commit-hash: e958b371a29c3f3338379da4e491fe00446c7b17
2020-05-29 15:43:53 -07:00
Adeeb Shihadeh
6f688a0bb8 add mazda to release notes
old-commit-hash: f3bd6ad48a12b590de3695fe6e080af8c33d7538
2020-05-29 14:02:30 -07:00
Adeeb Shihadeh
974b9317bc update refs
old-commit-hash: 2d898bc0edb2cef132e90c695e77911c2720c026
2020-05-29 12:41:20 -07:00
Willem Melching
a558eff11d bump submodules
old-commit-hash: 7a37594320b77ed514b11125e54b6f515150d6c1
2020-05-29 12:08:53 -07:00
Willem Melching
46fcbf96a7 update release notes
old-commit-hash: ad099c43c729a0371dc94faa1fc9ec898110ea34
2020-05-29 12:08:45 -07:00
Adeeb Shihadeh
2feaebfc80 break canError into two separate events
old-commit-hash: 916448af25d61a9acf1d35356fafccdfc800c440
2020-05-29 12:00:41 -07:00
Adeeb Shihadeh
60f348e310 Revert "minor LGTM fixes"
This reverts commit 58d908531bfb28b46719d74121325a7e6548d98c.

old-commit-hash: 6230f366c5f0b319755e537f4cc621f0805b270d
2020-05-29 11:10:48 -07:00
Adeeb Shihadeh
dc81f74851 minor LGTM fixes
old-commit-hash: f10c2eff7d8bbbaab62f1fc3712309a29558be07
2020-05-29 00:44:27 -07:00
Jafar Al-Gharaibeh
a476d51333 Bounty: Mazda (#988)
* Mazda Port

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

* Update checksum to account for steer angle signal used in some cars

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

* Add test drive/segment ID to pass CI tests

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

* Process gear and brake signals, add new fingerprints

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

* Refactor some car interface code

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

* Drop redundant call, use Ecu, move warning to carstate, fix cruise speed

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

* Drop unused variables, cleanup handsoff tracking

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

* Update to steerError and steeringRate

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

* Refactor parse gear, update lkas signals from the new dbc

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

* Better tracking of engage and warning events

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

* remove commented lines, update speed_kph to match panda

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

* Steer Error

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

* Set lkas enable speed to 52 kph

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

* Drop block signal use, fix LGTM alerts

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

* When gas is pressed OP will disengage, sync local state with it

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

* Use car's speed signal instead of wheel speed

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

* Tidy up disengage events

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

* Rebase/Refactor with upstream

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

* Sync stock ACC state with OP

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

* mazda dbc file renamed

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

* Improve acc stock and go by removing the 3 seconds limit

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

* Dashcam

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

* PR Feedback

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

* Send ACC cancel only if we are sure cruise is enabled

Otherwise we run the risk of disabling main cruise

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

* updated route

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

* no process replay for now

* add to release files

* Revert "updated route"

This reverts commit 233db4f1bc2d8eefaa86488be4f6f88360d20793.

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 34b9b5e849fcd192bbd8c3060ce725ef61d725ab
2020-05-28 22:15:19 -07:00
Adeeb Shihadeh
5ab1d48f90 Fix below steer speed alert text not updating
old-commit-hash: 7961d5ffd71328f4e104c01244cc6e08152d76fa
2020-05-28 20:39:13 -07:00
Willem Melching
35858a1b16 bump submodules
old-commit-hash: 6a8b4fe793a94cf4e5f74959f7e98a70181f60ba
2020-05-28 17:48:04 -07:00
Willem Melching
8a32bd3c41 use github url instead of gitlab mirror
old-commit-hash: 266dfe5a9b521d62cfdfdca73ffe622deee82013
2020-05-28 17:45:32 -07:00
Greg Hogan
10becfa268 FrameReader env vars FFMPEG_THREADS and FFMPEG_CUDA
old-commit-hash: d112a58366d9d9a8830fa344efe6c50bf587cd00
2020-05-28 17:33:34 -07:00
Willem Melching
2ac27def5a Running pre-commit in CI (#1590)
* Running pre-commit in CI

* fix dockerfile syntax

* dont run on submodule repo folders

* Fix some import errors in ci

* more stuff

* That should be the last one
old-commit-hash: ba2ac1207a554d277e01af5b9514de4500d4f66a
2020-05-28 15:40:48 -07:00
Dean Lee
7db5410f10 UI: better read_model (#1586)
* update model struct inplace

* refer params

* pass path by refer
old-commit-hash: 108a13ead84ea5f06bba77d81cae371a08c020c6
2020-05-28 15:10:49 -07:00
Willem Melching
2b60ee9531 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
old-commit-hash: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Willem Melching
9aa70600dd bump rednose
old-commit-hash: 9e73f65a7db364606d11d6c2715db555dfdb1803
2020-05-28 14:44:30 -07:00
Adeeb Shihadeh
3ecd9c2d31 timeouts for all CI jobs
old-commit-hash: 2752df82664d1a45e60f09ede09760c67903f135
2020-05-28 14:40:25 -07:00
Willem Melching
ba195b745b bump panda
old-commit-hash: e47b8b5d1aff12fc932bc99f1e3e58f629bc9b83
2020-05-28 14:07:18 -07:00
Greg Hogan
5db5ecd0b9 framereader single threaded env var
old-commit-hash: 2d0686faa1876d65642f6c982a4352630a842676
2020-05-28 13:39:28 -07:00
Adeeb Shihadeh
b8a63ef047 bump panda
old-commit-hash: cff745bc6e4bd052006fc8e11a9015e87ea8c45e
2020-05-28 13:25:19 -07:00
Willem Melching
4022d92155 make pre-commit pass without xx present
old-commit-hash: bee15f8abef98b35d070e931d5b34fd01ca8128e
2020-05-28 13:20:28 -07:00
Willem Melching
57cc3cd69a framereader only has to support h265 and raw (#1588)
old-commit-hash: 639cf2288f3527230d103ba9e12652f52d38ad39
2020-05-28 12:45:38 -07:00
Willem Melching
4489056d30 bump opendbc
old-commit-hash: 44851ae93441fc918fabde908078058befde8323
2020-05-28 11:53:17 -07:00
Erich Moraga
1bcac33021 Added CAR.COROLLA_TSS2 EPS f/w x018965B12520 (#1587)
As seen in Discord, for DongleID/route 35794509ea3b423e|2020-05-28--14-51-06 (Euro Toyota Corolla Hatchback Hybrid)...
https://discord.com/channels/469524606043160576/524327905937850394/715579226186579985
old-commit-hash: 2bcab668d4db5ca940d6f82ee43dd486f13cad3a
2020-05-28 09:07:07 -07:00
Adeeb
dd9daf81c4 Static C/C++ analysis in CI (#1564)
old-commit-hash: 0499ae46b7842e8e49067ebba03016c6cd305d4e
2020-05-28 01:46:30 -07:00
Willem Melching
12a306021d flake8 in pre-commit(#1583)
old-commit-hash: 29aaa44740b5dae3c1cc0c273c72c7eb53135e5e
2020-05-27 20:33:05 -07:00
Willem Melching
c0866d9edb pre-commit pylint (#1580)
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
-  pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344

* add pylint to pre-commit and make everything pass

* Remove uncommented stuff

Co-authored-by: J <user@4800.lan>
old-commit-hash: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Willem Melching
834f6c383a Revert "Add pre commit config to docker"
This reverts commit 92482e23547adbf6ee189ed9129a46d39ef831ab.

old-commit-hash: c1886486a56037588f71b8638c6e650bb7309862
2020-05-27 18:50:53 -07:00
Willem Melching
86ab76c456 Add pre commit config to docker
old-commit-hash: 64e1145b50393a253d9938cc8c8dd52e7e1c08b1
2020-05-27 18:50:22 -07:00
Willem Melching
167ac83f8e only run pipfile action on schedule
old-commit-hash: db8f3aee1189533b3cd733b8723c9b01e0c157dc
2020-05-27 18:49:00 -07:00
Harald Schafer
2fca7f3900 Revert "better values"
This reverts commit 7ac7e5f994b1e9311d50c595706dd92ca38f6205.

old-commit-hash: 5a841c28560e79f613f1f4e2fcd72877bb42379d
2020-05-27 17:11:27 -07:00