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: c4bac6bd68
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: 0dc45eaf1c
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: 369c5d5bff
2021-09-13 21:12:25 -07:00
Adeeb Shihadeh b3893511db fix live_cpu_and_temp.py for c3
old-commit-hash: c4e9f4de99
2021-09-13 20:27:53 -07:00
Adeeb Shihadeh 0c29c7928b check_timings.py: start printing immediately
old-commit-hash: a7cc34fd77
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: 7081ab4fb7
2021-09-13 19:06:54 -07:00
Harald Schafer 335089db07 fix more acados leaks
old-commit-hash: 32db9184d4
2021-09-13 17:51:15 -07:00
George Hotz edab0ea0a6 fix param setting
old-commit-hash: 9b61072690
2021-09-13 17:35:05 -07:00
Harald Schafer 06c018f5bf acados compiled to pyextra
old-commit-hash: de478b75fb
2021-09-13 16:32:06 -07:00
Harald Schafer ab2f65e485 fix more acados mem leaks
old-commit-hash: d774087408
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: dac8597a08
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: e90eb79ceb
2021-09-13 10:32:12 -07:00
Dean Lee 1e1c4fcd83 fix Replay::mergeEvents: use std::end() (#22215)
old-commit-hash: a89bdb6a05
2021-09-13 09:49:32 -07:00
Dean Lee 1fd8466af0 replay: unlock mutex before sleep (#22213)
old-commit-hash: 365e8bfd93
2021-09-13 00:57:03 -07:00
Dean Lee b8c56b5b75 replay: fix bugs in merging events (#22205)
old-commit-hash: eb4a28af11
2021-09-12 16:29:37 -07:00
Adeeb Shihadeh db3ad9b658 update acados (#22202)
* update acados

* cleanup
old-commit-hash: 63453c951e
2021-09-11 21:50:16 -07:00
Adeeb Shihadeh 6cdb496204 version.py: set terms and training version
old-commit-hash: a19738cba8
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: 2d640e25c3
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: b7d1aac197
2021-09-11 18:01:54 -07:00
Dean Lee 7100381a02 replay: thread safe merge & free logs (#22196)
old-commit-hash: a1a0201069
2021-09-11 17:35:04 -07:00
Adeeb Shihadeh 3bf834d4ec bump opendbc
old-commit-hash: 23ce2450e9
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: 1e62b09e5d
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: f3683dd4cb
2021-09-10 21:53:46 -07:00
Adeeb Shihadeh 947083be0b add update shim to release files
old-commit-hash: 9c5e8a2d04
2021-09-10 17:43:28 -07:00
Adeeb Shihadeh 75b50fc128 disable replay tests for now
old-commit-hash: 95ee5daec5
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: b3705ede5e
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: d5e6dd3d5b
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: 54b5972cf6
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: d2e751f108
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: 7d5ee9fbd1
2021-09-10 11:23:38 -07:00
Willem Melching 9524fc7e2b bump panda
old-commit-hash: cbbf0cc520
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: 74b6c87254
2021-09-10 10:34:18 -07:00
speedking456 e9ebd076f7 Remove Kia Seltos from Legacy Safety Model (#22179)
old-commit-hash: 1f639e38b2
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: 5a4d03da29
2021-09-09 17:49:31 -07:00
HaraldSchafer 58aec2531e Create tuning.md
old-commit-hash: 1b4e780025
2021-09-09 14:13:32 -07:00
Adeeb Shihadeh 52aaad7cad plannerd: remove last of liveMpc
old-commit-hash: da74a6cf73
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: 81a128cd76
2021-09-09 13:40:12 -07:00
Jason Young 103050b6c5 VW MQB: Fix for rare autoresume problems (#22176)
old-commit-hash: 11730b8077
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: d2448e0cc4
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: 02a83fdcb3
2021-09-08 19:11:14 -07:00
Adeeb Shihadeh c1a7b5dc06 bump version to 0.8.10
old-commit-hash: 0a75a66537
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: a034926264
2021-09-08 13:13:27 -07:00
Willem Melching 4844f8196d remove loggerd todo about encodeIdx decimation
old-commit-hash: 377fe84948
2021-09-08 12:16:16 -07:00
Adeeb Shihadeh 89e6cf7e1f remove rest of git from launch script
old-commit-hash: 26e6e07c2b
2021-09-08 10:51:06 -07:00
Adeeb Shihadeh ef7b6016b1 updated: move final git reset before finalizing update (#22168)
old-commit-hash: d4b4204233
2021-09-08 10:47:38 -07:00
Chris McCammon 14ba727634 Honda 'e'
update to match capitalization
old-commit-hash: 204e5a0907
2021-09-07 18:44:55 -07:00
Adeeb Shihadeh 027f6c7aa5 update release notes
old-commit-hash: 835b66cd41
2021-09-07 18:04:05 -07:00
Adeeb Shihadeh e476cc14dc no supercombo dlc in release3
old-commit-hash: 132d94371f
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: d5475ba946
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: bcb8a11d7f
2021-09-07 16:46:44 -07:00