Commit Graph

5183 Commits

Author SHA1 Message Date
Willem Melching a8ce1288fd Hyundai longitudinal prerequisites (#22121)
* panda

* bring over changes

* dont check car model

* remove comment

* fix typo

* more stuff gated behind long

* not

* not used

* gate that too

* try honda tuning

* clip accel values

* fix up merge

* fix stopping

* add retry logic around knockout

* increase timeout

* keep flipping lead bit

* true for now

* less tuning

* update comment

* 0.1 s is fine now

* merge honda and hyundai knockout

* more lead fields

* another obj bit

* increase timeout

* fix stopping flag

* only lag compensate for braking

* no lead

* less tuning

* only do knockout if not readonly

* try controlling using jerk

* tuning

* try higher stopping rate

* set stopping flag at higher speed

* clip upper jerk when stopping

* remove comments

* tester present 1hz

* use positive start accel

* 1.0 to maybe improve low speed stuff

* no point going over 0

* bump panda

* bump panda

* revert that change

* update ref
old-commit-hash: c4bac6bd68ce2a91beb15bb4f4472d76525288e0
2021-09-13 22:03:08 -07:00
HaraldSchafer 65a1b386dc Fix 0 init bug for acados lateral (#22225)
* this is needed somehow

* new ref
old-commit-hash: 0dc45eaf1cebc4247b59a4508b4ef192ea7b0e56
2021-09-13 21:23:22 -07:00
Adeeb Shihadeh a9221d6eaf timing tests (#22214)
* timing tests

* tuning

* more tuning

* passes?

* increase min/max

* eon tuning

* more lax

* even more

* fix plannerd cpu

* should pass

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 369c5d5bff8d6635f86215540e3c34fc25d16998
2021-09-13 21:12:25 -07:00
Adeeb Shihadeh b3893511db fix live_cpu_and_temp.py for c3
old-commit-hash: c4e9f4de99adc9329051fc480bd23b8188a4e149
2021-09-13 20:27:53 -07:00
Adeeb Shihadeh 0c29c7928b check_timings.py: start printing immediately
old-commit-hash: a7cc34fd77f780d5c45abb0d0bfaefd000f96b2b
2021-09-13 20:08:43 -07:00
HaraldSchafer c422cce205 Port lateral planning to ACADOS (#22080)
* lateral acados

* looks good!

* add another solve, needed for init somehow

* use copy

* init correctly

* cleanup sconstruct

* Update files_common

* update cpu usage

* reset when invalid

* fix cpu usage

* cost_set doesnt leak

* new ref

* non leaky reset

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7081ab4fb7473a5be424db4b63e6bdaacf62157f
2021-09-13 19:06:54 -07:00
Harald Schafer 335089db07 fix more acados leaks
old-commit-hash: 32db9184d4cea612a12a0ab8f1948336a390c46b
2021-09-13 17:51:15 -07:00
George Hotz edab0ea0a6 fix param setting
old-commit-hash: 9b610726902c9713ec63c304c59ca3dd5f708449
2021-09-13 17:35:05 -07:00
Harald Schafer 06c018f5bf acados compiled to pyextra
old-commit-hash: de478b75fb93fc37cb414bcfe2af5fd9c6ac7364
2021-09-13 16:32:06 -07:00
Harald Schafer ab2f65e485 fix more acados mem leaks
old-commit-hash: d774087408e46149b699dbade379507d49050fa5
2021-09-13 16:25:40 -07:00
ZwX1616 0e661532a2 refactor dm pitch/yaw thresholding (#22191)
* use indiviual pitch/yaw instead of norm

* update process replay
old-commit-hash: dac8597a08097235cc63a77e025043f618878d6f
2021-09-13 16:05:42 -07:00
Dean Lee 00e02325ab boardd: new function get_time_str (#22158)
* new function get_time_str

* apply review
old-commit-hash: e90eb79ceb8fce4542d7cbba1f02e5a6f4a9d9f9
2021-09-13 10:32:12 -07:00
Dean Lee 1e1c4fcd83 fix Replay::mergeEvents: use std::end() (#22215)
old-commit-hash: a89bdb6a05b7c5302702030ee3981aa2f7d7f941
2021-09-13 09:49:32 -07:00
Dean Lee 1fd8466af0 replay: unlock mutex before sleep (#22213)
old-commit-hash: 365e8bfd93046dc16caf23867ea094d2fe0f8e6a
2021-09-13 00:57:03 -07:00
Dean Lee b8c56b5b75 replay: fix bugs in merging events (#22205)
old-commit-hash: eb4a28af1164d4d615a9bcdd4711e0d539bda7ed
2021-09-12 16:29:37 -07:00
Adeeb Shihadeh db3ad9b658 update acados (#22202)
* update acados

* cleanup
old-commit-hash: 63453c951e7d125a49d8c6dc839d8f2849599b25
2021-09-11 21:50:16 -07:00
Adeeb Shihadeh 6cdb496204 version.py: set terms and training version
old-commit-hash: a19738cba8b95a7a4c342ab4e17ec0b7859a29f3
2021-09-11 21:07:41 -07:00
Dean Lee 66c6adc436 UI: lazy onboarding widgets init (#21780)
* don't show onboarding on startup

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d640e25c3b95ebaef137c550907e29eb50bc837
2021-09-11 18:18:58 -07:00
Willem Melching 523219c678 Parameterize longitudinal control using carParams (#22200)
* use CP.startAccel

* missing values

* order

* update ref

* cereal
old-commit-hash: b7d1aac1972d8317e77d1f48edb22156b2c67bd6
2021-09-11 18:01:54 -07:00
Dean Lee 7100381a02 replay: thread safe merge & free logs (#22196)
old-commit-hash: a1a0201069aade71dc16e663073f2b40955752b3
2021-09-11 17:35:04 -07:00
Adeeb Shihadeh 3bf834d4ec bump opendbc
old-commit-hash: 23ce2450e9d63f35d0c161c920353357b5625107
2021-09-11 17:19:06 -07:00
Willem Melching b079219b93 Use CP.vEgoStopping and clean up CP.startAccel (#22199)
* use CP.vEgoStopping and clean up

* update ref
old-commit-hash: 1e62b09e5dd70cae6721d2da9f7bcef59aa87c10
2021-09-11 17:13:30 -07:00
Dean Lee 0d226299e7 test_replay.cc: temporarily comment out the rand seek test (#22192)
* Temporarily comment out the rand seek test

* enable ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci

* trigger ci
old-commit-hash: f3683dd4cbead3e090f48bbec60f35483c194193
2021-09-10 21:53:46 -07:00
Adeeb Shihadeh 947083be0b add update shim to release files
old-commit-hash: 9c5e8a2d0499389e0b7ae3d4edd85478a44a9a72
2021-09-10 17:43:28 -07:00
Adeeb Shihadeh 75b50fc128 disable replay tests for now
old-commit-hash: 95ee5daec5e34e9fb782887e4c962a4ad36d5e11
2021-09-10 17:33:20 -07:00
Adeeb Shihadeh 9193e1afa1 Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Jason Young 03ba5918c8 VW MQB: Škoda Karoq Mk1 round 2 (#22190)
* VW MQB: Škoda Karoq Mk1

* Update README

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5e6dd3d5b3ef3aaae16b50e3ca5b34de0025368
2021-09-10 14:41:31 -07:00
ntegan1 d508125f35 Upload when on ethernet (#22188)
in addition to when on wifi

Co-authored-by: ntegan <nick@egan.gg>
old-commit-hash: 54b5972cf6f7220ba6af061c6dadc2dc80d813d0
2021-09-10 12:05:12 -07:00
Andrew 6703ad8e24 add another missing FW for elantra_hev-2021 (#22186)
popped up during drive: `715ac05b594e9c59|2021-09-10--05-58-04`
old-commit-hash: d2e751f108a06adf1df34891de5bf69c35bfcbc5
2021-09-10 11:39:12 -07:00
Jason Young 87249effaf VW MQB: Cleanup stock LKAS signal forwarding (#22180)
* VW MQB: Cleanup stock LKAS signal forwarding

* apply review suggestion
old-commit-hash: 7d5ee9fbd1b4d2d67c92a2d9f84e99632760a733
2021-09-10 11:23:38 -07:00
Willem Melching 9524fc7e2b bump panda
old-commit-hash: cbbf0cc520bbfba4adf8fd63e2657ee656f94771
2021-09-10 11:04:12 -07:00
HaraldSchafer cb1cd01bdf cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
old-commit-hash: 74b6c872545ac64055a914789a89ccc173168d8b
2021-09-10 10:34:18 -07:00
speedking456 e9ebd076f7 Remove Kia Seltos from Legacy Safety Model (#22179)
old-commit-hash: 1f639e38b2577c9f2db69b9ddc97e31ab926849f
2021-09-10 08:19:58 -07:00
Jason Young 1df072cd3a VW MQB: Fixes for network location detection (#22174)
* VW MQB: Fixes for network location detection

* apply review suggestion

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* FP back to 100ms; VIN state poll at 50Hz

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5a4d03da29b3afe428c8add57b8bfb36b185dd12
2021-09-09 17:49:31 -07:00
HaraldSchafer 58aec2531e Create tuning.md
old-commit-hash: 1b4e780025598d08f3b0cd3641357b0d9cdec9aa
2021-09-09 14:13:32 -07:00
Adeeb Shihadeh 52aaad7cad plannerd: remove last of liveMpc
old-commit-hash: da74a6cf73ab94999c6cb17d2598cdad2f1a27e0
2021-09-09 14:09:09 -07:00
Dean Lee 1d5ca75029 FrameReader: do not depend on Qtunit tests (#21379)
* add timeout and test case

* remove useless comment

* reduce to 1s

* fix gotframe fail when Duplicate POC in a sequence

* cleanup

* remove space

* fix
old-commit-hash: 81a128cd764ef74a0d50be464dea653f46f82998
2021-09-09 13:40:12 -07:00
Jason Young 103050b6c5 VW MQB: Fix for rare autoresume problems (#22176)
old-commit-hash: 11730b8077b8fc1e2ab0a850ab2a61c11e95481d
2021-09-09 13:21:04 -07:00
Adeeb Shihadeh a20bb2cf38 more neos acados lib fixes (#22175)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d2448e0cc4f43e4bd552ef1688450a78ec80931b
2021-09-09 11:57:34 -07:00
Adeeb Shihadeh 8ca491f879 fix acados libs on neos (#22172)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 02a83fdcb342d6ed284d4b42adc8a0b3f6e2a4cc
2021-09-08 19:11:14 -07:00
Adeeb Shihadeh c1a7b5dc06 bump version to 0.8.10
old-commit-hash: 0a75a6653754bdf320263ddccca0fd8087596e15
2021-09-08 15:07:55 -07:00
Dean Lee f4d8621be1 Qt/onroad: use CameraViewWidget (#21821)
* use CameraViewWidget

* no timer, updateFrame after frameSwapped

* use QOpenGLShaderProgram

* merge master

* remove that

* new function setStreamType

* continue

* remove showEvent

* cleanup

* cleanup

* little more

* fix black screen on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a034926264cd1025c69d6ceb3fe444965f960b75
2021-09-08 13:13:27 -07:00
Willem Melching 4844f8196d remove loggerd todo about encodeIdx decimation
old-commit-hash: 377fe84948c069c3f00824c06e0ae40f2aa2616e
2021-09-08 12:16:16 -07:00
Adeeb Shihadeh 89e6cf7e1f remove rest of git from launch script
old-commit-hash: 26e6e07c2bb2310925615b7977c0ba19c60800f6
2021-09-08 10:51:06 -07:00
Adeeb Shihadeh ef7b6016b1 updated: move final git reset before finalizing update (#22168)
old-commit-hash: d4b42042331fe797efa144d7e5646c92925386db
2021-09-08 10:47:38 -07:00
Chris McCammon 14ba727634 Honda 'e'
update to match capitalization
old-commit-hash: 204e5a090735a059d69c29145a4cee49450da07e
2021-09-07 18:44:55 -07:00
Adeeb Shihadeh 027f6c7aa5 update release notes
old-commit-hash: 835b66cd412191ed602426f858f0659898427eba
2021-09-07 18:04:05 -07:00
Adeeb Shihadeh e476cc14dc no supercombo dlc in release3
old-commit-hash: 132d94371fa917f379e15602aad028ffbebcc39d
2021-09-07 17:59:03 -07:00
Adeeb Shihadeh 706542a7b2 nav: add button to clear current route (#22167)
* nav: add button to clear current route

* fix scroll

* retab

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d5475ba9462ad9c6a18db05e96a4fa9d3bf9772a
2021-09-07 17:39:24 -07:00
vanillagorillaa 1349e159e7 Honda e Port (#22108)
* Honda e Port

* Test route for Honda e

* remove

* Update README.md

* update values based on logs

* no need for Honda e specific DBC

* fix tests

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bcb8a11d7fe3868535bb7a66fcb767885c21a5e6
2021-09-07 16:46:44 -07:00