Commit graph

917 commits

Author SHA1 Message Date
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
Adeeb Shihadeh 04047d835f fix run_docker_tests.sh 2020-05-20 00:00:13 -07:00
Adeeb Shihadeh 0d1ac8db76 update CONTRIBUTING.md 2020-05-19 23:32:43 -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
Willem Melching f5a9cd2644 bump cereal 2020-05-19 15:50:20 -07:00
Willem Melching f6f4a0b558 bump cereal 2020-05-19 15:46:14 -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
Adeeb Shihadeh 58d8887328 update README github actions shield 2020-05-19 12:34:59 -07:00
Adeeb 45ee131a44
Fast CI (#1537)
* don't compile in docker build stage

* disable that for now

* do we need that?

* upload artifact already compresses

* that wasn't faster

This reverts commit 2221e13c71.

* try that

* don't think that's used

* this too

* check this

* less layers

* that's not in the dockerfile anymore

* system

* even less layers and clear pipenv cache

* no inline comment i guess

* uninstall pipenv after we're done with it

* separate build job adds too much overhead

* quotes

* clean that up

* increase timeout

* cleanup
2020-05-19 02:12:57 -07:00
Willem Melching 8d46c0fa8a apks need capnpc-java 2020-05-18 19:56:33 -07:00
Willem Melching 9228e964a0 bump panda 2020-05-18 19:50:02 -07:00
VirtuallyChris 92f07b92ab
Add missing Civic Hatch FW (#1539) 2020-05-18 16:22:04 -07:00
Harald Schafer 6d72a5e1f9 bump rednose 2020-05-18 14:38:12 -07:00
Harald Schafer e864d1af2f update 2020-05-18 14:37:47 -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
Adeeb Shihadeh 6c46630293 no pip cache in docker build, compressed docker image is 70MB smaller 2020-05-17 14:47:54 -07:00
Adeeb Shihadeh 1c982a5e91 add github actions status badge to README 2020-05-17 14:29:25 -07:00
Adeeb Shihadeh 2063a370d3 don't need external in CI, compressed docker image is 50MB smaller 2020-05-17 14:01:38 -07:00
Adeeb Shihadeh a415fe1ebe capnp is no longer in external 2020-05-17 13:32:26 -07:00
Noel Schenk ce8b629fb0
tensorflow-gpu==2.1 update (#1525)
not available on current used python version
2020-05-16 21:59:28 -07:00
Adeeb 31346264b5
Faster CI (#1527) 2020-05-16 21:38:38 -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
VirtuallyChris 5677f45a65
Update README for Hyundai car harness
Remove panda / giraffe mention in footnotes where possible
Car harnesses now available, removed subscript for known HKG models; left subscript for not known models
2020-05-15 17:41:10 -07:00
Chris Souers b9b8e61e93
Add ECM ID for 2018 Civic Hatchback (#1518) 2020-05-15 16:36:07 -07:00
Willem Melching d08c2d084f Lower modeld cpu threshold thanks to thneed 2020-05-15 15:48:48 -07:00
Willem Melching 896bd1b5c7 use base class in car_kf 2020-05-15 15:48:48 -07:00
VirtuallyChris 53c0214a65
Add VW Golf 2015 2020-05-15 14:31:50 -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 1260b701d4 bump rednose 2020-05-15 14:16:53 -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 3d75b4d7c0 Add white panda deprecation to release notes 2020-05-15 13:00:59 -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