Commit Graph

8267 Commits

Author SHA1 Message Date
Willem Melching b85209979a ui: use C3 video sizes by default on PC
old-commit-hash: cf4cd3b6935f7d0fcfc35ef0e9ea4ec0aae7155f
2021-09-14 11:27:34 -07:00
George Hotz 73a4b05065 allow PC to emulate TICI with TICI=1
old-commit-hash: 362f067c9c1c608dbe5adb7d318bab1fa8b9760e
2021-09-14 10:48:43 -07:00
John Belmonte a84744e158 Honda carstate: use common gas pedal signal (#22010)
* Honda carstate: refactor GAS_PEDAL handling

* collapse SCM signal cases

* stop using CAR_GAS signal (combined user pedal + computer)

* cleanup

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f07e1ae99ebce1e809fb4a07ef39f4b0ca1bcc5a
2021-09-13 22:41:50 -07:00
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
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 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
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 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
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
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 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 ef7b6016b1 updated: move final git reset before finalizing update (#22168)
old-commit-hash: d4b42042331fe797efa144d7e5646c92925386db
2021-09-08 10:47:38 -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
Dean Lee 5afeb1e0a3 panda: call libusb_free_device_list before libusb_exit (#22162)
old-commit-hash: a077b8a566c27d3625047c0f165b75906df45cff
2021-09-07 15:52:34 -07:00
Dean Lee 9a1fa559ba Panda::list: remove call to libusb_release_interface (#22157)
old-commit-hash: c61e7c7898256896b44a48a5094125aa542eee4b
2021-09-07 15:51:06 -07:00
AlexandreSato dd675058fc VW: Add FW for Brazilian Tiguan (#22143)
* Fingerprint brazilian VW TINGUAN_MK2

* Fingerprint for 2019 VW TINGUAN_MK2

* Update values.py

* Update values.py

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 83f5cdb18bbbf43e1964a684d9a656c1ab411b55
2021-09-07 15:22:34 -07:00
Dean Lee 31adaa3906 panda: fix dev_list may be freed twice on failure (#22161)
old-commit-hash: 83cd67ddb5a7f8fc649d38aa24130e38f230fe69
2021-09-07 15:12:38 -07:00
Adeeb Shihadeh 7fc6a76f04 reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s

* update refs

* update refs

* update refs
old-commit-hash: 1c750975fc179185b270f2063831431538d075d8
2021-09-07 13:40:31 -07:00
Jason Young 01a10fe8bd Fixes for C3 LTE connection being deleted (#22129)
* Fix for LTE connection being deleted

* also fix newConnection

* simplify
old-commit-hash: 251a074b20432e65d33c803a08d2c61826844737
2021-09-07 09:54:12 -07:00
Adeeb Shihadeh b3f5ad454e nav: set map widget parent
old-commit-hash: d5face26a82b717ce694aa848641b879076dfe1f
2021-09-06 22:51:09 -07:00
HaraldSchafer 745c8ce522 Speed only ACC control for NIDEC Odyssey (#22156)
* speed only nidec control

* mergeable
old-commit-hash: 449a28b9aa0e9307124961958b26c3a6125de023
2021-09-06 21:11:26 -07:00
Adeeb Shihadeh 5bb5760a78 Revert "VW MQB: Škoda Karoq Mk1 (#22133)"
This reverts commit 601b5d15b0e5f6b3af2651d1f3ca0f0e4461aa60.

old-commit-hash: 82bd060a68e454cf4913312504e4fed1dee9dd57
2021-09-06 20:50:02 -07:00
seven121-ym fdae7d1f47 Subaru: Add Japanese Impreza fingerprint (#22125)
* Update values.py

* crosstrek is a subset of new fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67ab1193d0b06b74d471e9959fb62a6993e1a6fe
2021-09-06 20:23:32 -07:00
Adeeb Shihadeh edc6f4ba7e agnos 1.5 (#22147)
* agnos 1.5

* bump version
old-commit-hash: 745de33941b8f1b00a0cac3bfc49f793918f2ea9
2021-09-06 20:17:37 -07:00
Willem Melching 83ce6c65bb actually set longControlState in actuators packet (#22155)
* actually set longControlState in actuators packet

* update ref
old-commit-hash: 4f84e1b2ad689fb43b06d28def2bd58abf722748
2021-09-06 20:14:01 -07:00
Jason Young 31f0f101d1 VW MQB: Škoda Karoq Mk1 (#22133)
old-commit-hash: 04c50e5c0c3bd4217605b435a821068ccdba21d7
2021-09-06 19:56:50 -07:00