Commit Graph

1936 Commits

Author SHA1 Message Date
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
Ewout ter Hoeven d302078e30 Pip: Move from tensorflow-gpu to tensorflow package (#1530)
* Pip: Move from tensorflow-gpu to tensorflow package

Since tensorflow 2.1 the regular tensorflow package contains GPU support and replaces the tensorflow-gpu package, which will be depreceated at some point.

* Readme: Update Tensorflow version

* Update Pipfile.lock

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3f8afe593f14a4a6f94ddb9c2f1aed1419d2f69a
2020-05-20 13:17:54 -07:00
Ewout ter Hoeven 6e3b893205 Add workflow to update Pipfile.lock weekly (#1542)
* Create workflow to update the Pipfile.lock weekly

* Update-pipfile: Also install wheel

* Install wheel in different step

* Pipfile: Only lock major versions

Assumes Semantic Versioning, and only sets the major versions of all packages

* Run update-pipfile on changes in pipfile and use tensorflow

Move from tensorflow-gpu to tensorflow, an excelent test for this PR

* [create-pull-request] automated change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
old-commit-hash: b1795235f9767ac38f1bc8c7cd2dee9d4f646cf6
2020-05-20 13:16:02 -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
Adeeb Shihadeh 3338bd284f fix run_docker_tests.sh
old-commit-hash: 04047d835fd0392426eb4ff22829a1dcd5eb0567
2020-05-20 00:00:13 -07:00
Adeeb Shihadeh 3f4ddd33e0 update CONTRIBUTING.md
old-commit-hash: 0d1ac8db76fc9026bd7ed7b69fa71792b61c58f6
2020-05-19 23:32:43 -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
Willem Melching 2afb900383 bump cereal
old-commit-hash: f5a9cd2644798dd728cdd613ee331526ba074f6f
2020-05-19 15:50:20 -07:00
Willem Melching 99c10309de bump cereal
old-commit-hash: f6f4a0b55899ad369c5665143673dc83d22d9969
2020-05-19 15:46:14 -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
Adeeb Shihadeh c25e69b8c2 update README github actions shield
old-commit-hash: 58d8887328dcbf93ef02b1aab335120c539fe33c
2020-05-19 12:34:59 -07:00
Adeeb 64d5d57677 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 2221e13c71b5cc693dd3bebfa4061d4ab6821437.

* 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
old-commit-hash: 45ee131a4427db6d97531849bf4a1c3206ecbd19
2020-05-19 02:12:57 -07:00
Willem Melching 4fe41122b9 apks need capnpc-java
old-commit-hash: 8d46c0fa8a4ce2779de435ff5f5c2cc8b9cc07ad
2020-05-18 19:56:33 -07:00
Willem Melching 86acaaf7e8 bump panda
old-commit-hash: 9228e964a0805017f540c6df456d18deec9d1292
2020-05-18 19:50:02 -07:00
VirtuallyChris 36904ea114 Add missing Civic Hatch FW (#1539)
old-commit-hash: 92f07b92ab1d5f395dbc2783f04112ebdbb8a5bd
2020-05-18 16:22:04 -07:00
Harald Schafer 9a1d318554 bump rednose
old-commit-hash: 6d72a5e1f9608d9f21c156be86adf0481938cff9
2020-05-18 14:38:12 -07:00
Harald Schafer 319bd1b9df update
old-commit-hash: e864d1af2fbc191c50af99a33cf252b3d56bc4bd
2020-05-18 14:37:47 -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
Adeeb Shihadeh 96dd0232cd no pip cache in docker build, compressed docker image is 70MB smaller
old-commit-hash: 6c4663029374d0e6a8e66304fe460395f8c98ecb
2020-05-17 14:47:54 -07:00
Adeeb Shihadeh 8c2223a7fa add github actions status badge to README
old-commit-hash: 1c982a5e91846e494c0ec1c06fdab3966ccb38b8
2020-05-17 14:29:25 -07:00
Adeeb Shihadeh 672eaac01e don't need external in CI, compressed docker image is 50MB smaller
old-commit-hash: 2063a370d37311375ae6c868c6567aa76f6806d2
2020-05-17 14:01:38 -07:00
Adeeb Shihadeh afbfee85a3 capnp is no longer in external
old-commit-hash: a415fe1ebec7bf54cf2cdea31b75dd90b0c8809b
2020-05-17 13:32:26 -07:00
Noel Schenk 0f610ac909 tensorflow-gpu==2.1 update (#1525)
not available on current used python version
old-commit-hash: ce8b629fb0fc989d99fa38f49eb96e552dc6e728
2020-05-16 21:59:28 -07:00
Adeeb f4020a2ed4 Faster CI (#1527)
old-commit-hash: 31346264b539312a7bff8563f7d7b7fbb33b72fb
2020-05-16 21:38:38 -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
VirtuallyChris d8ce258d2a 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
old-commit-hash: 5677f45a655b1d065f77f55e37b300e10dadcfd0
2020-05-15 17:41:10 -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 93fa246cc4 Lower modeld cpu threshold thanks to thneed
old-commit-hash: d08c2d084f808d38ac9b8055894fd4deb57f7632
2020-05-15 15:48:48 -07:00
Willem Melching 046c47296f use base class in car_kf
old-commit-hash: 896bd1b5c72aa2e80c498067c299e643478559bf
2020-05-15 15:48:48 -07:00
VirtuallyChris 35f6b9b4ec Add VW Golf 2015
old-commit-hash: 53c0214a65f032e7124f756a4531c639875a8dbb
2020-05-15 14:31:50 -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