Commit Graph

1179 Commits

Author SHA1 Message Date
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
Andre Volmensky f6c2c72851 Bugfix: Reset saturated_count if angle no longer saturated (#1522)
old-commit-hash: 135385c5fb47ca1b9efaf3ae9e388b44cd6e538d
2020-05-16 01:14:10 -07:00
Chris Souers a479ab0802 These lines are an unlabeled duplicate of the 4 below it. (#1519)
old-commit-hash: 7abcf71f922c9bbff2f71b69c2946e7a57fecc53
2020-05-15 18:30:19 -07:00
Willem Melching 8189186d8e Alert callback functions were returning tuples
old-commit-hash: c18891b936a964493393242020783482e5467ac5
2020-05-15 18:29:22 -07:00
Chris Souers 4d1bed7319 Add ECM ID for 2018 Civic Hatchback (#1518)
old-commit-hash: b9b8e61e93a5f8878b0421a6002b7f2d0ea32be9
2020-05-15 16:36:07 -07:00
Willem Melching 046c47296f use base class in car_kf
old-commit-hash: 896bd1b5c72aa2e80c498067c299e643478559bf
2020-05-15 15:48:48 -07:00
Harald Schafer 99d9c3651c xRevert "way cleaner"
This reverts commit b8d13b1b44c6d33cb8209aac7fa65a269d8892b9.

old-commit-hash: 273e81715a045b9aac07796973493aad86f7a3e6
2020-05-15 14:29:34 -07:00
Harald Schafer 696fd01f9d way cleaner
old-commit-hash: a4ffd8c226ab1f286334c1cee9a90a03cbaec91a
2020-05-15 14:24:11 -07:00
Willem Melching 8f4c431efc lane kf was not built
old-commit-hash: 2cc218e144bec84d5992e45076adf00d56988f84
2020-05-15 14:22:36 -07:00
Willem Melching 207dff6092 turn locationd back on
old-commit-hash: ed5284f9b3768df8693b7e14e5e5285c9c64d10f
2020-05-15 13:53:45 -07:00
George Hotz 206b6abe7d 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>
old-commit-hash: 302d06ee709cb65dba39e836917f5693f0819efb
2020-05-15 13:53:01 -07:00
Willem Melching a6676b8a62 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
old-commit-hash: c85b174584b1281ce1f1d168b0b0610d5d540896
2020-05-15 13:00:00 -07:00
Willem Melching 380d1e4f3d Fix two event names
old-commit-hash: 631d0d94d3beb1bd5ac9000b70104847c8c71dac
2020-05-15 12:24:12 -07:00
Willem Melching b1a73d69ea add simple script to print controlsd alive and valid
old-commit-hash: e66c246f34fc1cfa87adb1157e2b44d8927cdd03
2020-05-14 20:16:24 -07:00
Paweł Goliński 524397ce86 Use Conversions in calibrationd (#1511)
old-commit-hash: 8b0ab73fefa4fbfae58192067b82073cd5d485fe
2020-05-14 17:56:45 -07:00
Bruce Wayne 157c671a60 make linter happy
old-commit-hash: f8a0eb0f7a9a63404b82b3f131436dcd5d9958c8
2020-05-14 17:38:52 -07:00
Harald Schafer 777e183af3 too complex
old-commit-hash: 013e49bf907539d119fbebcf02f4ce3749849065
2020-05-14 16:30:00 -07:00
Willem Melching 8f71de0dbe 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
old-commit-hash: 28bf5d1dd8d08cd8998d2ee9d813b7e573858cf9
2020-05-14 15:36:56 -07:00
Adeeb 48340cc8cb Alerts + Events refactor (#1466)
old-commit-hash: d976233f696040cd5f9a5081c7b21742b7aaef66
2020-05-14 15:21:21 -07:00
Jason Young 30e1e9f91c Make timeout setting code reachable (#1509)
old-commit-hash: d8d490ef6d3ac849ae05d1183020fb469b218dcc
2020-05-14 13:03:47 -07:00
Willem Melching c83dabd8e2 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
old-commit-hash: 49dd37b81b05c8d77d801c4a027d27d7b1b8094c
2020-05-13 19:09:51 -07:00
Willem Melching 39e5985776 Clip v_cruise to V_CRUISE_MAX
old-commit-hash: ef330078130f71f93b3e81e9839c3386fe55946f
2020-05-13 18:05:24 -07:00
Willem Melching 43b696893d speed too high louder alert
old-commit-hash: e7ec02e2011721a819d0bafe0245bc017ef89f4a
2020-05-13 18:02:09 -07:00
Willem Melching aedf223401 remove eigen from phonelibs (#1505)
old-commit-hash: add784a7df0bd27aa1df115e38d43d5159c832f9
2020-05-13 16:41:52 -07:00
Willem Melching 5cbaf497f7 bump version to 0.7.6
old-commit-hash: 69aacd9d179fe6dd3110253a099c38b34cff7899
2020-05-13 16:13:38 -07:00
xps-genesis 45bb947116 Split G80 from Hyundai Genesis (#1502)
Previous commit moved G80 from G90 grouping to Hyundai Genesis grouping.
Bug found as minSteerSpeed is 0 for G80 but 60 for Hyundai Genesis.
Taking @pd0wm recommendation and  ungrouping G80 to its own.
old-commit-hash: 2c39133c094c0db21bf46be753752d6c49961c06
2020-05-13 15:31:30 -07:00