Commit Graph

904 Commits

Author SHA1 Message Date
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
George Hotz 11628b1f14 add thneed self test (#1535)
* add thneed self test

* don't do the memset in thneed, shouldn't matter though

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6c0ad1e67567e149cdf9e00ab7ae43f4cc5bc579
2020-05-18 11:34:29 -07:00
Hylke Jellema 07e66bc7a3 More RAV4H_TSS2 FW (#1523)
old-commit-hash: 52fe671c53faf2b2c72402c5c16ec09f2d0eacbb
2020-05-18 10:41:19 -07:00
eFini 7ec2abcf08 use buttonEvent.type instead of string (#1533)
old-commit-hash: e14dfa3beca9897dafa776fdd68c5076d7a31d4e
2020-05-18 10:15:30 -07:00
Comma Device 16c1926f64 wtf, how was that commented out and the tests still passed
old-commit-hash: 495e0c4648b5c3d20709bb3e08f83dad62725c2d
2020-05-18 17:10:39 +00:00
eFini 7f2f867ea2 use constant max speed limit (#1521)
old-commit-hash: 4b13a58a93a8a47d32b65cc3502845634df20f80
2020-05-18 00:02:55 -07:00
Erich Moraga 7b9240f242 Add fwdCamera f/w for CAR.COROLLAH_TSS2 (#1526)
* Add fwdCamera f/w for CAR.COROLLAH_TSS2

@jamcar23#7629  DongleID/route 095142f13f39faf9|2020-05-16--15-54-21

* Forgot x008646G26011A0 to x008646G2601400
old-commit-hash: 6daa255c448f6491f49ee3534fab3797d2c14332
2020-05-18 00:02:37 -07:00
Erich Moraga 4a34aa4473 Added fwdCamera f/w for RX350 ICE (#1531)
* Update values.py

@mikoko#7438 / @mikokolee
DongleID/route f2df066cef1b3647|2020-05-17--16-43-43

* Added missing commas
old-commit-hash: b9a4e8c8827a3eb6d2c400f5c1f5e73b3a6c85fb
2020-05-18 00:01:05 -07:00
George Hotz 988361dd92 This isn't bigmodel, but there's a lot of good stuff here (#1532)
* bigmodel

* more debug print

* debugging bigmodel

* remove the tanh, debugging

* print images/buffers

* disassemble the command queues

* decompiler

* dump the shaders

* full disasm

* support patching kernel and fixing convolution_horizontal_reduced_reads_1x1

* microbenchmark

* 42 GFLOPS, 1 GB/s

* gemm benchmark

* 75 GFLOPS vs 42 GFLOPS

* 115 GFLOPS

* oops, never mind

* gemm image is slow

* this is pretty hopeless

* gemm image gets 62 GFLOPS

* this is addictive and still a waste of time

* cleanup cleanup

* that hook was dumb

* tabbing

* more tabbing

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 78a352a8ca8a948e86e7c752732e470f89d92280
2020-05-17 23:13:17 -07:00
HaraldSchafer e21bbf8bbd Locationd cleanup (#1517)
* way cleaner take 2

* cleanup

* be more relaxed

* just let it be

* don't drive backwards or upside down

* do this more

* vNED sometyimes invalid

* use reasonble stds

* stability in nonlinear zone

* previous metrics were without publishing
old-commit-hash: 81686547cc10dc129fb921f938dc496455613e33
2020-05-17 20:59:53 -07:00