Commit Graph

4201 Commits

Author SHA1 Message Date
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
Andre Volmensky
135385c5fb Bugfix: Reset saturated_count if angle no longer saturated (#1522) 2020-05-16 01:14:10 -07:00
Chris Souers
7abcf71f92 These lines are an unlabeled duplicate of the 4 below it. (#1519) 2020-05-15 18:30:19 -07:00
Willem Melching
c18891b936 Alert callback functions were returning tuples 2020-05-15 18:29:22 -07:00
Chris Souers
b9b8e61e93 Add ECM ID for 2018 Civic Hatchback (#1518) 2020-05-15 16:36:07 -07:00
Willem Melching
896bd1b5c7 use base class in car_kf 2020-05-15 15:48:48 -07:00
Harald Schafer
273e81715a xRevert "way cleaner"
This reverts commit a4ffd8c226.
2020-05-15 14:29:34 -07:00
Harald Schafer
a4ffd8c226 way cleaner 2020-05-15 14:24:11 -07:00
Willem Melching
2cc218e144 lane kf was not built 2020-05-15 14:22:36 -07:00
Willem Melching
ed5284f9b3 turn locationd back on 2020-05-15 13:53:45 -07:00
George Hotz
302d06ee70 thneed saves 45% of a core (#1512)
* thneed runs the model

* thneed is doing the hooking

* set kernel args

* thneeding the bufferS

* print the images well

* thneeds with better buffers

* includes

* disasm adreno

* parse packets

* disasm works

* disasm better

* more thneeding

* much thneeding

* much more thneeding

* thneed works i think

* thneed is patient

* thneed works

* 7.7%

* gpuobj sync

* yay, it mallocs now

* cleaning it up, Thneed

* sync objs and set power

* thneed needs inputs and outputs

* thneed in modeld

* special modeld runs

* can't thneed the DSP

* test is weird

* thneed modeld uses 6.4% CPU

* add thneed to release

* move to debug

* delete some junk from the pr

* always track the timestamp

* timestamp hacks in thneed

* create a new command queue

* fix timestamp

* pretty much back to what we had, you can't use SNPE with thneed

* improve thneed test

* disable save log

Co-authored-by: Comma Device <device@comma.ai>
2020-05-15 13:53:01 -07:00
Willem Melching
c85b174584 White panda is deprecated (#1516)
* Start white panda deprecation

* Unify alert text

* Add noentry

* Change to no longer supported

* panda is lowercase

* Capitalize

* rerun ci
2020-05-15 13:00:00 -07:00
Willem Melching
631d0d94d3 Fix two event names 2020-05-15 12:24:12 -07:00
Willem Melching
e66c246f34 add simple script to print controlsd alive and valid 2020-05-14 20:16:24 -07:00
Paweł Goliński
8b0ab73fef Use Conversions in calibrationd (#1511) 2020-05-14 17:56:45 -07:00
Bruce Wayne
f8a0eb0f7a make linter happy 2020-05-14 17:38:52 -07:00
Harald Schafer
013e49bf90 too complex 2020-05-14 16:30:00 -07:00
Willem Melching
28bf5d1dd8 Rednose (#1503)
* add rednose

* update rednose

* This compiles

* Add rednose to release

* cleanup

* Extract generated dir as argument

* Add constants.py to release

* Add rednose to dockerfile

* Fix that
2020-05-14 15:36:56 -07:00
Adeeb
d976233f69 Alerts + Events refactor (#1466) 2020-05-14 15:21:21 -07:00
Jason Young
d8d490ef6d Make timeout setting code reachable (#1509) 2020-05-14 13:03:47 -07:00
Willem Melching
49dd37b81b Add code to steer using TSS2 LTA message (#1507)
* try again with toyota LTA

* Fix dbc and send at 50Hz

* Add commented code

* Remove unused import

* Remove that
2020-05-13 19:09:51 -07:00