Commit Graph

904 Commits

Author SHA1 Message Date
Adeeb f4ef9ae00a Remove incomplete Hyundai Ioniq port (#1570)
old-commit-hash: c78602e8cc
2020-05-26 20:48:41 -07:00
Adeeb Shihadeh 4221ed5d56 update refs after radarState fields populated
old-commit-hash: a1ffcdd253
2020-05-26 18:12:12 -07:00
Adeeb Shihadeh 6f0c5834e7 Fix blank mdMonoTime and controlsStateMonoTime in radard
old-commit-hash: 2ecc7d9f6f
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: dd16990952
2020-05-26 13:49:18 -07:00
Willem Melching 56bddd9105 Fix #1566, athena status flicker in sidebar
old-commit-hash: 4de2c57bd1
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: 50f3f1d335
2020-05-26 13:27:01 -07:00
Dean Lee 38e7d99d2f change light_sensor to atomic variable (#1560)
old-commit-hash: b3ab7ae392
2020-05-26 09:59:49 -07:00
Dean Lee 9d31c0194f reduce the scope of mutex (#1561)
old-commit-hash: d5858955ee
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: a63814866b
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: b8571710e0
2020-05-24 03:33:36 -07:00
Adeeb Shihadeh 7ddfd7043b fix interface init for mock car
old-commit-hash: 86057f785b
2020-05-23 15:39:28 -07:00
Adeeb Shihadeh 02cea3e7b4 remove that script
old-commit-hash: b251eff764
2020-05-22 14:50:08 -07:00
Adeeb Shihadeh e5fee88a3d bump panda after hyundai checksum
old-commit-hash: ea1b192565
2020-05-22 14:42:22 -07:00
Willem Melching 768a744393 Split TSS2 RAV4 tuning based on fw version (#1558)
old-commit-hash: bfe7cbfe5f
2020-05-22 14:00:20 -07:00
Willem Melching 8bbf609dda That corolla eps version was probably merged by mistake
old-commit-hash: a623ad2ab3
2020-05-22 13:46:54 -07:00
VirtuallyChris 6f3f549a8e Add Engine FW (#1556)
old-commit-hash: 676fd8ecbc
2020-05-22 10:37:19 -07:00
Tunder (Chris in RL) 6300cd1a82 add missing 2020 pacifica value (#1551)
old-commit-hash: ee371919c1
2020-05-22 10:37:05 -07:00
Harald Schafer 818695cfe7 needed for stability
old-commit-hash: 00e05bc7d8
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: fcf879d783
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: ab5af232b2
2020-05-21 16:04:33 -07:00
Willem Melching ce310f3f65 Revert "Add permanent CAN error alert"
This reverts commit 41dfb2a149788a19eb1ee40a3497f2ab35386b74.

old-commit-hash: e6f24f2390
2020-05-21 15:30:16 -07:00
Willem Melching 5e4ada7249 Add permanent CAN error alert
old-commit-hash: 0abf99dbe0
2020-05-21 14:53:40 -07:00
Willem Melching e57247be9d Sounds available isdir -> isfile
old-commit-hash: 41da10ff38
2020-05-21 14:46:18 -07:00
Willem Melching 12d3366c55 Add percent sign to calibration screen
old-commit-hash: 517826c1e1
2020-05-21 14:43:07 -07:00
Adeeb Shihadeh 982aacb28d fix possible FileNotFoundError
old-commit-hash: 260e6aff53
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: 7ffaff029f
2020-05-20 19:21:03 -07:00
Willem Melching 2e0f9fe628 add sonata 2019 to test_car_modelsg
old-commit-hash: ef2ea14ecc
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: fde1a5e9af
2020-05-20 17:12:00 -07:00
Willem Melching 47c5f52067 Locationd fixes
old-commit-hash: 8f3e932f96
2020-05-20 14:18:28 -07:00
Willem Melching 3a4e139b83 Fixup comments
old-commit-hash: 68ef23f97b
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: b8cc31f888
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: 1162041ea6
2020-05-20 13:02:24 -07:00
Willem Melching b2fb4632cd Fix #1545, sensor alert on startup
old-commit-hash: 9f0eac9089
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: b62ce27483
2020-05-20 10:57:21 -07:00
Willem Melching a4f120d2be Rename enum
old-commit-hash: f69f200178
2020-05-19 18:13:11 -07:00
Willem Melching d2a41fad6e Paramsd handle liveLocation not valid and add alerts
old-commit-hash: 44484102db
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: d099e09fb7
2020-05-19 16:45:20 -07:00
Willem Melching fb7e47e2fb This one also needs to be fixed
old-commit-hash: 96605d0951
2020-05-19 16:19:00 -07:00
Adeeb Shihadeh e6af5da522 remove those debug prints
old-commit-hash: 8788ab36e4
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: bb8bbdd9ee
2020-05-19 13:43:44 -07:00
VirtuallyChris 36904ea114 Add missing Civic Hatch FW (#1539)
old-commit-hash: 92f07b92ab
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: 6c0ad1e675
2020-05-18 11:34:29 -07:00
Hylke Jellema 07e66bc7a3 More RAV4H_TSS2 FW (#1523)
old-commit-hash: 52fe671c53
2020-05-18 10:41:19 -07:00
eFini 7ec2abcf08 use buttonEvent.type instead of string (#1533)
old-commit-hash: e14dfa3bec
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: 495e0c4648
2020-05-18 17:10:39 +00:00
eFini 7f2f867ea2 use constant max speed limit (#1521)
old-commit-hash: 4b13a58a93
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: 6daa255c44
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: b9a4e8c882
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: 78a352a8ca
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: 81686547cc
2020-05-17 20:59:53 -07:00