Commit Graph

634 Commits

Author SHA1 Message Date
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 bee15f8abe make pre-commit pass without xx present 2020-05-28 13:20:28 -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
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
Harald Schafer 5a841c2856 Revert "better values"
This reverts commit 109ba298b1.
2020-05-27 17:11:27 -07:00
Willem Melching 8ea8f405db add gpsOK flag to liveLocationKalman 2020-05-27 15:14:13 -07:00
HaraldSchafer 67017d69fe Minor fixes (#1571)
* was 5 seconds not .2!

* threshold for moving car highers, this can give FPw
2020-05-27 14:35:01 -07:00
Harald Schafer 109ba298b1 better values 2020-05-27 12:16:05 -07:00
HaraldSchafer 7c8d6cbdef pure init (#1569) 2020-05-26 20:49:14 -07:00
Adeeb c78602e8cc Remove incomplete Hyundai Ioniq port (#1570) 2020-05-26 20:48:41 -07:00
Adeeb Shihadeh a1ffcdd253 update refs after radarState fields populated 2020-05-26 18:12:12 -07:00
Adeeb Shihadeh 2ecc7d9f6f Fix blank mdMonoTime and controlsStateMonoTime in radard 2020-05-26 17:53:55 -07:00
Thaixican dd16990952 Add 2020 Lexus RX Hybrid support (#1547)
* Add 2020 Lexus RX Hybrid support

* Add 2020 Lexus RX Hybrid to IGNORED_FINGERPRINTS and route to test_car_models per @pd0wm
2020-05-26 13:49:18 -07:00
Willem Melching 4de2c57bd1 Fix #1566, athena status flicker in sidebar 2020-05-26 13:41:02 -07:00
Willem Melching 50f3f1d335 -Werror (#1567)
* werror

* -Wno-inconsistent-missing-override

* Silence ffmpeg deprecation warnings

* add some more pragmas to ignore warnings

Co-authored-by: Comma Device <device@comma.ai>
2020-05-26 13:27:01 -07:00
Dean Lee b3ab7ae392 change light_sensor to atomic variable (#1560) 2020-05-26 09:59:49 -07:00
Dean Lee d5858955ee reduce the scope of mutex (#1561) 2020-05-26 09:57:14 -07:00
Tunder (Chris in RL) a63814866b add missing 2020 stinger value (#1565)
1371: 8 (not always present on startup, causes intermittent dashcam mode)
2020-05-26 09:43:05 -07:00
George Hotz b8571710e0 remove the clCreateProgramWithSource interceptor (#1559)
* remove the clCreateProgramWithSource interceptor

* that's old code, thneed is better

* label them thneed_, we shouldn't need to touch CL for anything not SNPE related
2020-05-24 03:33:36 -07:00
Adeeb Shihadeh 86057f785b fix interface init for mock car 2020-05-23 15:39:28 -07:00
Adeeb Shihadeh b251eff764 remove that script 2020-05-22 14:50:08 -07:00
Adeeb Shihadeh ea1b192565 bump panda after hyundai checksum 2020-05-22 14:42:22 -07:00
Willem Melching bfe7cbfe5f Split TSS2 RAV4 tuning based on fw version (#1558) 2020-05-22 14:00:20 -07:00
Willem Melching a623ad2ab3 That corolla eps version was probably merged by mistake 2020-05-22 13:46:54 -07:00
VirtuallyChris 676fd8ecbc Add Engine FW (#1556) 2020-05-22 10:37:19 -07:00
Tunder (Chris in RL) ee371919c1 add missing 2020 pacifica value (#1551) 2020-05-22 10:37:05 -07:00
Harald Schafer 00e05bc7d8 needed for stability 2020-05-21 17:47:05 -07:00
Willem Melching fcf879d783 Add permanent CAN error alert (#1549)
* Add permanent CAN error alert

* canValid needs some time to initialize

* update ref
2020-05-21 16:08:05 -07:00
Willem Melching ab5af232b2 Use C++ version of SubMaster and PubMaster (#1548)
* add PubMaster & SubMaster

remove 'delete msg'

remove headers

* use constructor to initial all submster

* modify drain sockets

* fix typo in ssconscript.remove lines

no checkValid in loggerd

last modify

handle_message:event->&event

fix type

remove heads

event to auto

* new interface

* api changed

* Revert "use constructor to initial all submster"

This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692.

* change to new api

* revert loggerd

* dd

* use new PubSub api

* update to new interface

don't modify loggerd

reset panda

reset opendbc

remove empty lines

* switch to new pubMaster

* update to the new inteface

change

remove error code

. to ->

merge paramsd.cc

update panda

fix typo

simplify

fix typo

* Fix build

* always conflate

Co-authored-by: deanlee <deanlee3@gmail.com>
2020-05-21 16:04:33 -07:00
Willem Melching e6f24f2390 Revert "Add permanent CAN error alert"
This reverts commit 0abf99dbe0.
2020-05-21 15:30:16 -07:00
Willem Melching 0abf99dbe0 Add permanent CAN error alert 2020-05-21 14:53:40 -07:00
Willem Melching 41da10ff38 Sounds available isdir -> isfile 2020-05-21 14:46:18 -07:00
Willem Melching 517826c1e1 Add percent sign to calibration screen 2020-05-21 14:43:07 -07:00
Adeeb Shihadeh 260e6aff53 fix possible FileNotFoundError 2020-05-21 09:59:39 -07:00
HaraldSchafer 7ffaff029f Calib in settings (#1543)
* test test

* yo dawg

* yo dawg 2

* yo dawg 3

* calib in ui

* no pitch and yaw

* no more drive rating

* stricter

* param is no longer a vp

* less wall of test

* less is more

* better language

* cleaner
2020-05-20 19:21:03 -07:00
Willem Melching ef2ea14ecc add sonata 2019 to test_car_modelsg 2020-05-20 17:20:17 -07:00
Alice Knag fde1a5e9af add support for Sonata 2019 (#1538)
* add sonata interface

update values.py

update values.py

* change sonata_1 to sonata_2019

* add sonata 2019 and forte 2019 to README

prettier fucked me up pretty hard at first
sdfsd

* update README.md

* mock test
2020-05-20 17:12:00 -07:00
Willem Melching 8f3e932f96 Locationd fixes 2020-05-20 14:18:28 -07:00
Willem Melching 68ef23f97b Fixup comments 2020-05-20 14:10:55 -07:00
openpilot laptop b8cc31f888 Add single fw requests for hyundai ECUs not supporting multi requests 2020-05-20 14:07:04 -07:00
Willem Melching 1162041ea6 Only send FW query requests for the right brand (#1546)
* only send requests for the right brand

* this works on sonata

Co-authored-by: openpilot laptop <laptop@comma.ai>
2020-05-20 13:02:24 -07:00
Willem Melching 9f0eac9089 Fix #1545, sensor alert on startup 2020-05-20 11:25:55 -07:00
TK211X b62ce27483 Add 2016 Optima Print (#1510)
* Add 2016 Optima Print

* Update values.py
2020-05-20 10:57:21 -07:00
Willem Melching f69f200178 Rename enum 2020-05-19 18:13:11 -07:00
Willem Melching 44484102db Paramsd handle liveLocation not valid and add alerts 2020-05-19 17:00:30 -07:00
Willem Melching d099e09fb7 Handle posenet and sensor alerts in locationd (#1541)
* handle posenet and senor alerts in locationd

* defaults now set in capnp file

* Cleanup c++ version of params learner

* update ref commit
2020-05-19 16:45:20 -07:00