Commit Graph

7421 Commits

Author SHA1 Message Date
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
Willem Melching
96605d0951 This one also needs to be fixed 2020-05-19 16:19:00 -07:00
Adeeb Shihadeh
8788ab36e4 remove those debug prints 2020-05-19 13:54:24 -07:00
Willem Melching
bb8bbdd9ee 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>
2020-05-19 13:43:44 -07:00
VirtuallyChris
92f07b92ab Add missing Civic Hatch FW (#1539) 2020-05-18 16:22:04 -07:00
George Hotz
6c0ad1e675 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>
2020-05-18 11:34:29 -07:00
Hylke Jellema
52fe671c53 More RAV4H_TSS2 FW (#1523) 2020-05-18 10:41:19 -07:00
eFini
e14dfa3bec use buttonEvent.type instead of string (#1533) 2020-05-18 10:15:30 -07:00
Comma Device
495e0c4648 wtf, how was that commented out and the tests still passed 2020-05-18 17:10:39 +00:00
eFini
4b13a58a93 use constant max speed limit (#1521) 2020-05-18 00:02:55 -07:00
Erich Moraga
6daa255c44 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
2020-05-18 00:02:37 -07:00
Erich Moraga
b9a4e8c882 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
2020-05-18 00:01:05 -07:00
George Hotz
78a352a8ca 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>
2020-05-17 23:13:17 -07:00
HaraldSchafer
81686547cc 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
2020-05-17 20:59:53 -07:00