Commit Graph

1018 Commits

Author SHA1 Message Date
Adeeb Shihadeh
efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
Adeeb Shihadeh
ddcc78d2d5 bump panda 2020-05-31 12:09:18 -07:00
Adeeb
6051061ff8 Flake8 E22X (#1607)
* e221

* e225

* bump opendbc
2020-05-31 00:48:47 -07:00
Willem Melching
b08fff33a0 Update Nissan years in release notes 2020-05-30 20:27:15 -07:00
Andre Volmensky
9fc826cb5c 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
2020-05-30 20:25:32 -07:00
Adeeb
d9bf9f0a40 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
2020-05-30 20:14:58 -07:00
Willem Melching
4fcf47812b add some sanity checks on returned params 2020-05-30 17:15:41 -07:00
Willem Melching
b5a2cec913 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
2020-05-30 17:04:38 -07:00
Adeeb Shihadeh
18afb979fe remove file that shouldn't have been committed 2020-05-30 14:40:00 -07:00
Willem Melching
d920290544 add RAV4H_TSS2 EPS firmware version 2020-05-30 13:38:42 -07:00
Willem Melching
4cec8bcc30 Fix indentation in board.cc 2020-05-30 10:31:40 -07:00
Kishan Karunaratne
9256530a1d [GM] Show FCW from OP on dashboard UI / LED (#1596) 2020-05-30 10:17:04 -07:00
Dean Lee
af36aa28ab driving.cc: Pass ModelDataRaw by reference (#1600)
* pass ModelDataRaw by reference

* pass NVGpaint by refer
2020-05-30 10:08:44 -07:00
Erich Moraga
94b2d4d522 CAR.SIENNA Engine, ESP, and DSU f/w was missing (#1597)
DongleID 307249a92f279059... verified working via TeamViewer, as FPv2 switched to `fingerprintsource = fw`
2020-05-30 10:07:23 -07:00
Yahya Lmallas
3ddbb7fe5b 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
2020-05-30 10:06:29 -07:00
Adeeb
cc2137bded pyextra isn't a submodule anymore (#1601) 2020-05-30 10:04:56 -07:00
martinl
7b54dad0b8 Add Subaru blindspot monitoring signals (#1374)
* Add blindspot signals to carstate

* Change blindspot signals to boolean
2020-05-29 23:32:51 -07:00
VirtuallyChris
3d7cd9ec78 Add Camry Hybrid 2018 Engine FW 2020-05-29 17:26:05 -07:00
Willem Melching
e958b371a2 Fix Nissan model years in readme and release notes 2020-05-29 15:43:53 -07:00
Adeeb Shihadeh
f3bd6ad48a add mazda to release notes 2020-05-29 14:02:30 -07:00
Adeeb Shihadeh
2d898bc0ed update refs 2020-05-29 12:41:20 -07:00
Willem Melching
7a37594320 bump submodules 2020-05-29 12:08:53 -07:00
Willem Melching
ad099c43c7 update release notes 2020-05-29 12:08:45 -07:00
Adeeb Shihadeh
916448af25 break canError into two separate events 2020-05-29 12:00:41 -07:00
Adeeb Shihadeh
6230f366c5 Revert "minor LGTM fixes"
This reverts commit f10c2eff7d.
2020-05-29 11:10:48 -07:00
Adeeb Shihadeh
f10c2eff7d minor LGTM fixes 2020-05-29 00:44:27 -07:00
Jafar Al-Gharaibeh
34b9b5e849 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>
2020-05-28 22:15:19 -07:00
Adeeb Shihadeh
7961d5ffd7 Fix below steer speed alert text not updating 2020-05-28 20:39:13 -07:00
Willem Melching
6a8b4fe793 bump submodules 2020-05-28 17:48:04 -07:00
Willem Melching
266dfe5a9b use github url instead of gitlab mirror 2020-05-28 17:45:32 -07:00
Greg Hogan
d112a58366 FrameReader env vars FFMPEG_THREADS and FFMPEG_CUDA 2020-05-28 17:33:34 -07:00
Willem Melching
ba2ac1207a 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
2020-05-28 15:40:48 -07:00
Dean Lee
108a13ead8 UI: better read_model (#1586)
* update model struct inplace

* refer params

* pass path by refer
2020-05-28 15:10:49 -07:00
Willem Melching
3d08dcc3b2 Run mypy commit hook (#1591)
* run mypy commit hook

* fix mypy errors
2020-05-28 15:05:04 -07:00
Willem Melching
9e73f65a7d bump rednose 2020-05-28 14:44:30 -07:00
Adeeb Shihadeh
2752df8266 timeouts for all CI jobs 2020-05-28 14:40:25 -07:00
Willem Melching
e47b8b5d1a bump panda 2020-05-28 14:07:18 -07:00
Greg Hogan
2d0686faa1 framereader single threaded env var 2020-05-28 13:39:28 -07:00
Adeeb Shihadeh
cff745bc6e bump panda 2020-05-28 13:25:19 -07:00
Willem Melching
bee15f8abe make pre-commit pass without xx present 2020-05-28 13:20:28 -07:00
Willem Melching
639cf2288f framereader only has to support h265 and raw (#1588) 2020-05-28 12:45:38 -07:00
Willem Melching
44851ae934 bump opendbc 2020-05-28 11:53:17 -07:00
Erich Moraga
2bcab668d4 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
2020-05-28 09:07:07 -07:00
Adeeb
0499ae46b7 Static C/C++ analysis in CI (#1564) 2020-05-28 01:46:30 -07:00
Willem Melching
29aaa44740 flake8 in pre-commit(#1583) 2020-05-27 20:33:05 -07:00
Willem Melching
bd06434243 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>
2020-05-27 20:00:14 -07:00
Willem Melching
c1886486a5 Revert "Add pre commit config to docker"
This reverts commit 64e1145b50.
2020-05-27 18:50:53 -07:00
Willem Melching
64e1145b50 Add pre commit config to docker 2020-05-27 18:50:22 -07:00
Willem Melching
db8f3aee11 only run pipfile action on schedule 2020-05-27 18:49:00 -07:00
Harald Schafer
5a841c2856 Revert "better values"
This reverts commit 109ba298b1.
2020-05-27 17:11:27 -07:00