Commit Graph

913 Commits

Author SHA1 Message Date
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
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
Harald Schafer 2fca7f3900 Revert "better values"
This reverts commit 7ac7e5f994b1e9311d50c595706dd92ca38f6205.

old-commit-hash: 5a841c28560e79f613f1f4e2fcd72877bb42379d
2020-05-27 17:11:27 -07:00
Willem Melching 03a268fd0b add gpsOK flag to liveLocationKalman
old-commit-hash: 8ea8f405db489f262d396989626209a3e92b23ac
2020-05-27 15:14:13 -07:00
HaraldSchafer 3488486258 Minor fixes (#1571)
* was 5 seconds not .2!

* threshold for moving car highers, this can give FPw
old-commit-hash: 67017d69fe02d9ed6a9cfba54565a403e59afcc4
2020-05-27 14:35:01 -07:00
Harald Schafer 4974754159 better values
old-commit-hash: 109ba298b118e79644c7513eed6d08ace00abf83
2020-05-27 12:16:05 -07:00
HaraldSchafer 9dae9d6910 pure init (#1569)
old-commit-hash: 7c8d6cbdeff7b6c7ea5af9c4ed8843fea97c58a1
2020-05-26 20:49:14 -07:00
Adeeb f4ef9ae00a Remove incomplete Hyundai Ioniq port (#1570)
old-commit-hash: c78602e8ccf242be6f8a1806ba9e2f0e4f79275b
2020-05-26 20:48:41 -07:00
Adeeb Shihadeh 4221ed5d56 update refs after radarState fields populated
old-commit-hash: a1ffcdd2535b82ff1883879bd53a16f17042419f
2020-05-26 18:12:12 -07:00
Adeeb Shihadeh 6f0c5834e7 Fix blank mdMonoTime and controlsStateMonoTime in radard
old-commit-hash: 2ecc7d9f6f85818765da23cfac614d186111abb7
2020-05-26 17:53:55 -07:00
Thaixican 53a18127e6 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
old-commit-hash: dd16990952980bfd5c8eac919309052be084a7ee
2020-05-26 13:49:18 -07:00
Willem Melching 56bddd9105 Fix #1566, athena status flicker in sidebar
old-commit-hash: 4de2c57bd104b18557a0364f7b3e08aa1df45827
2020-05-26 13:41:02 -07:00
Willem Melching 91f1082394 -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>
old-commit-hash: 50f3f1d3357b356c5b1144c518f35375f5bb9924
2020-05-26 13:27:01 -07:00
Dean Lee 38e7d99d2f change light_sensor to atomic variable (#1560)
old-commit-hash: b3ab7ae3921e19c237284ec02683e739e68387f3
2020-05-26 09:59:49 -07:00
Dean Lee 9d31c0194f reduce the scope of mutex (#1561)
old-commit-hash: d5858955ee5aa9c8fae7c9f26e7754e86353377a
2020-05-26 09:57:14 -07:00
Tunder (Chris in RL) bcb52c06b9 add missing 2020 stinger value (#1565)
1371: 8 (not always present on startup, causes intermittent dashcam mode)
old-commit-hash: a63814866bfa561e3fb6a57f916f9c09e147bb30
2020-05-26 09:43:05 -07:00
George Hotz 6a68510918 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
old-commit-hash: b8571710e09e58b9e67170a9924eef79f32c480b
2020-05-24 03:33:36 -07:00
Adeeb Shihadeh 7ddfd7043b fix interface init for mock car
old-commit-hash: 86057f785bbf77ce38ea2d6869fdf7377613ca4b
2020-05-23 15:39:28 -07:00
Adeeb Shihadeh 02cea3e7b4 remove that script
old-commit-hash: b251eff7645035e51f6379209a9c492c2c980a37
2020-05-22 14:50:08 -07:00
Adeeb Shihadeh e5fee88a3d bump panda after hyundai checksum
old-commit-hash: ea1b19256540289732257df35c683730e329cf98
2020-05-22 14:42:22 -07:00
Willem Melching 768a744393 Split TSS2 RAV4 tuning based on fw version (#1558)
old-commit-hash: bfe7cbfe5fda226af6195a1e0de61083a18971bb
2020-05-22 14:00:20 -07:00
Willem Melching 8bbf609dda That corolla eps version was probably merged by mistake
old-commit-hash: a623ad2ab376e21b216e4a19aaeec6111adb32fa
2020-05-22 13:46:54 -07:00
VirtuallyChris 6f3f549a8e Add Engine FW (#1556)
old-commit-hash: 676fd8ecbceac444e50c1aab2df7197f95b918cc
2020-05-22 10:37:19 -07:00
Tunder (Chris in RL) 6300cd1a82 add missing 2020 pacifica value (#1551)
old-commit-hash: ee371919c1fd2866a2f76344083cc24dc23a0398
2020-05-22 10:37:05 -07:00
Harald Schafer 818695cfe7 needed for stability
old-commit-hash: 00e05bc7d881feaf82529b4066789e41ee555c42
2020-05-21 17:47:05 -07:00
Willem Melching 4061f1d530 Add permanent CAN error alert (#1549)
* Add permanent CAN error alert

* canValid needs some time to initialize

* update ref
old-commit-hash: fcf879d783c345ccbf80252de23f649427c35fbd
2020-05-21 16:08:05 -07:00
Willem Melching 7f0b3180a4 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>
old-commit-hash: ab5af232b243ba8137695f68c125f922fb412d44
2020-05-21 16:04:33 -07:00
Willem Melching ce310f3f65 Revert "Add permanent CAN error alert"
This reverts commit 41dfb2a149788a19eb1ee40a3497f2ab35386b74.

old-commit-hash: e6f24f239041da4dc0d889492f8fbcfda111cd7b
2020-05-21 15:30:16 -07:00
Willem Melching 5e4ada7249 Add permanent CAN error alert
old-commit-hash: 0abf99dbe01cfe87617bb293c8eb047d93f709dd
2020-05-21 14:53:40 -07:00
Willem Melching e57247be9d Sounds available isdir -> isfile
old-commit-hash: 41da10ff38abfb29c42e66250344176da14e2f65
2020-05-21 14:46:18 -07:00
Willem Melching 12d3366c55 Add percent sign to calibration screen
old-commit-hash: 517826c1e1263f0445c125a002223906b73538a8
2020-05-21 14:43:07 -07:00
Adeeb Shihadeh 982aacb28d fix possible FileNotFoundError
old-commit-hash: 260e6aff53f5f579298f81e1d3a01a0e1d6dc7fb
2020-05-21 09:59:39 -07:00
HaraldSchafer 54572b6f23 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
old-commit-hash: 7ffaff029f8b6d770809e601d748ec6ccb55b928
2020-05-20 19:21:03 -07:00
Willem Melching 2e0f9fe628 add sonata 2019 to test_car_modelsg
old-commit-hash: ef2ea14ecce0133b5596074712162931cbaebdc3
2020-05-20 17:20:17 -07:00
Alice Knag bf066b2601 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
old-commit-hash: fde1a5e9af1c1e84ed6f82b642a50bae21f25bbe
2020-05-20 17:12:00 -07:00
Willem Melching 47c5f52067 Locationd fixes
old-commit-hash: 8f3e932f96dbd6c6c27a74644bc5d1abbb166898
2020-05-20 14:18:28 -07:00
Willem Melching 3a4e139b83 Fixup comments
old-commit-hash: 68ef23f97b7530e4eab54b79508c1d4a393f65ab
2020-05-20 14:10:55 -07:00
openpilot laptop bd40e9a14b Add single fw requests for hyundai ECUs not supporting multi requests
old-commit-hash: b8cc31f888d4301b7db59ff9419db9215868a3f7
2020-05-20 14:07:04 -07:00
Willem Melching 0bfec1061a 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>
old-commit-hash: 1162041ea63a7213b9e2b9c11edd521c89f86c99
2020-05-20 13:02:24 -07:00
Willem Melching b2fb4632cd Fix #1545, sensor alert on startup
old-commit-hash: 9f0eac90895d9fc4cc4ab782d61f31d3b5ab9685
2020-05-20 11:25:55 -07:00
TK211X 7abddc5c90 Add 2016 Optima Print (#1510)
* Add 2016 Optima Print

* Update values.py
old-commit-hash: b62ce27483de8cd52b6929da01c906766b7876f7
2020-05-20 10:57:21 -07:00
Willem Melching a4f120d2be Rename enum
old-commit-hash: f69f2001788ed9057b907113b74e258a69ecad6d
2020-05-19 18:13:11 -07:00
Willem Melching d2a41fad6e Paramsd handle liveLocation not valid and add alerts
old-commit-hash: 44484102db471a5f85ad078a81b9d8b9456b5233
2020-05-19 17:00:30 -07:00
Willem Melching 6e41973c3c 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
old-commit-hash: d099e09fb77544eb00d13ba9aea34a0a3374a52e
2020-05-19 16:45:20 -07:00
Willem Melching fb7e47e2fb This one also needs to be fixed
old-commit-hash: 96605d095162c88b6e97de6262f4972c12c49c68
2020-05-19 16:19:00 -07:00
Adeeb Shihadeh e6af5da522 remove those debug prints
old-commit-hash: 8788ab36e40a413c777dd298817477a2fd7da8f9
2020-05-19 13:54:24 -07:00
Willem Melching 88a385e9c9 Hyundai fw query (#1540)
* hyundai fw query

* Change query

* this works

* That is not engine

* hyundai fw query

* Change query

* this works

* That is not engine

* Skip FW query in test_car_models

* Those routes don't fingerprint properly after speedup

* only send toyota queries to subaddresses

Co-authored-by: openpilot laptop <laptop@comma.ai>
old-commit-hash: bb8bbdd9ee4d610e2ae6048021407863b3f74683
2020-05-19 13:43:44 -07:00
VirtuallyChris 36904ea114 Add missing Civic Hatch FW (#1539)
old-commit-hash: 92f07b92ab1d5f395dbc2783f04112ebdbb8a5bd
2020-05-18 16:22:04 -07:00