Commit Graph

4201 Commits

Author SHA1 Message Date
Adeeb Shihadeh
7e66a944b2 fix startup test 2021-12-06 14:40:42 -08:00
Comma Device
20dc4df024 fix UI build on comma two 2021-12-06 14:34:20 -08:00
Dean Lee
20f571db3c UI: move rest of NVG to Qt (#23133)
* move ui_draw_world to qt

* draw world if world_objects_visible is true

* cleanup

* cleanup includes

* continue

* cleanup

* cleanup

* enable  multisampling on all devices
2021-12-06 14:02:39 -08:00
Adeeb Shihadeh
5e20a46db6 tici: use powersave CPU governor while offroad (#23146)
* tici: use powersave CPU governor while offroad

* fix path
2021-12-06 13:53:55 -08:00
jimw
db9ea45cd5 PC: fix onnxruntime excessive CPU (#23051)
* onnxruntime-gpu two threads

* relock pipfile

Co-authored-by: jwolffe <wolffja@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-06 16:51:45 +01:00
Dean Lee
ddc612e9f6 LogCameraInfo: remove unused variables (#23142) 2021-12-06 14:25:28 +01:00
Willem Melching
790a64af90 nav: open map on new route without valid OpenGL context (#23140) 2021-12-06 13:50:42 +01:00
Dean Lee
8545901c0c UI: draw header gradient in OnroadHud (#23137) 2021-12-05 21:06:47 -08:00
Adeeb Shihadeh
795bdf4c61 remove ford fingerprints (#23136) 2021-12-05 14:43:57 -08:00
Adeeb Shihadeh
0283942a95 Honda: use new Bosch LKAS_HUD messages (#23000)
* Honda: use new Bosch LKAS_HUD messages

* enum value

* better name

* flip that
2021-12-05 13:51:33 -08:00
Comma Device
cc1699707f fix sound test 2021-12-05 13:33:12 -08:00
Dean Lee
5ab6bff670 OnroadHud: update engageability and DM icons at 2Hz (#23134) 2021-12-05 12:54:35 -08:00
Jason Wen
fa952f650d HKG: Add FW for 2022 Kia K5 (#23131) 2021-12-05 12:47:24 -08:00
Dean Lee
ad09507e1b UI: move onroad hud to Qt (#23040)
* onroad hud

* improve boudingrect, same as nanvg

* QRect

* Update selfdrive/ui/paint.cc

* stacked with nvgWindow

* cleanup ui.h

* rename to road_view_layout

* no lambda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-04 23:02:10 -08:00
khoi
1f73192695 Add 2021 Toyoto Corolla Cross Non-Hybrid (Thailand version) (#23123) 2021-12-04 22:53:23 -08:00
Adeeb Shihadeh
4803b26352 thermald: only go offroad on falling edge of ignition (#23130)
* thermald: only go offroad on falling edge of ignition

* and

* fix taht
2021-12-04 22:17:44 -08:00
Adeeb Shihadeh
b79eaca18d updated: move update alerts out of thermald (#23028)
* updated: move update alerts out of thermald

* cleanup last update time

* set on startup
2021-12-04 22:15:55 -08:00
Dean Lee
480fb54926 move struct LogCameraInfo into loggerd.h (#23129) 2021-12-04 21:08:55 -08:00
Adeeb Shihadeh
7c291a1b39 jenkins: improve overall robustness (#23117)
* test onroad: more reliable log finding

* Update selfdrive/test/test_onroad.py

* write continue.sh in device setup

* clone

* try different delimeter

* try this instead

* fix keys path

* executable

* remove orphaned lock
2021-12-04 21:07:57 -08:00
Jason Young
8a4ab7f46d VW MQB: Audi Q3 Mk2 (#23128) 2021-12-04 18:55:02 -08:00
Adeeb Shihadeh
9ceb1a15eb registration: remove key generation (#23111)
* registration: remove key generation

* add test
2021-12-03 22:58:34 -08:00
grekiki
6951b3271d Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

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

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-03 22:57:19 -08:00
cydia2020
b8c42d01eb Toyota: remove unused ACCEL_HYST_GAP (#23121)
* fix typo in comments

* remove hyst gap from values.py
2021-12-03 22:56:11 -08:00
Igor Biletskyy
e294e1620e len_to_dlc make static (#23120) 2021-12-03 16:37:17 -08:00
HaraldSchafer
0dcdf9c30f Long policy: strictly squared stopped equivalence function (#23118)
* new ref

* never let lead stopped equivalence go down

* no overbraking

* stricter again

* cleanup

* updated refs
2021-12-03 16:12:30 -08:00
Chris McCammon
9e51befe18 Honda Pilot fw (#23119) 2021-12-03 16:11:15 -08:00
Willem Melching
bbd0f94d9d add desired angle to log (#23115)
* add desired angle to log

* update ref

* bump cereal
2021-12-03 21:35:34 +01:00
Willem Melching
e6180738fd add CarParams.wheelSpeedFactor (#23079)
* add CarParams.wheelSpeedFactor

* Fudge speed for Lexus RX

* should have been the TSS2 model

* bump cereal

* refactor into function

* update refs
2021-12-03 14:57:53 +01:00
HaraldSchafer
5b0e10ea33 Reaction buffer on follow distance (#23112)
* Reaction time buffer

* new ref
2021-12-02 23:56:02 -08:00
Adeeb Shihadeh
37e2de2244 soundd: fix test for repeating soundsgitt status (#23110)
Co-authored-by: Comma Device <device@comma.ai>
2021-12-02 19:55:19 -08:00
Dean Lee
35885745f1 soundd: use setLoopCount(0) to stop repeating sound (#23076)
* use setLoopCount(0) to stop sound

* print default backend name
2021-12-02 16:40:10 -08:00
Dean Lee
599c07e027 panda: refactor can_recv (#22977)
* refactor

* use macro

* rebase master

* fix incorrect chunk_len

* cleanup

* type fix

* lines

* while

Co-authored-by: Igor Biletksyy <bs@privacy.im>
2021-12-02 16:28:38 -08:00
flightguy2
0ee6f42a8e 2019 Lexus NX FW versions (#23106) 2021-12-02 16:12:29 -08:00
HaraldSchafer
46fd5892bf Human inspired follow distance (#22937)
* Add cost for creep

* more reasonable cost

* seems better than before

* science tune

* more chill

* closer follow

* stopping takes some leeway

* better cruise

* needed to be cumsum all along

* jerk not even needed

* matches better

* 6 is too much

* add back

* a little extra buffer is good for badly tuned cars

* new refs

* refs again
2021-12-02 14:42:13 -08:00
HaraldSchafer
316a10bb6b add tss2 highlander to tss2 tune (#23107) 2021-12-02 14:01:17 -08:00
Adeeb Shihadeh
bc4ae3f587 soundd: max volume at 20m/s 2021-12-02 13:53:00 -08:00
Dean Lee
8c6242888c CameraView: use unique_ptr for CameraView::program (#23096) 2021-12-02 13:37:49 -08:00
Erich Moraga
4a33d61de0 Add several missing LEXUS_ES_TSS2 firmwares (#23098)
`@TechGuy#9141`  2021 Lexus ES 350 ICE  DongleID/route  f9238e084316715b|2021-12-01--19-26-20
2021-12-02 07:55:50 -08:00
Willem Melching
e8d56f241a manager.py use get_short_branch() for GitBranch param 2021-12-02 10:25:03 +01:00
Cosmo Borsky
faecf4e4c1 keyboard: replace backtick with apostrophe (#23104)
* Replace existing symbol with apostrophe

Without `'`, I cannot type my WiFi password... though it might be time
to rotate it.

* Replace extra bactic with apostrophe

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

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-02 01:23:59 -08:00
Adeeb Shihadeh
3b367e6872 Newer sounds (#23091)
* new prompt sound

* padding

* prompt distracted

* debug

* fix spelling

* lower min volume

* better volume at low speeds

* revert debug

* revert that

* fix tests

* update refs

Co-authored-by: Comma Device <device@comma.ai>
2021-12-02 00:28:25 -08:00
HaraldSchafer
68015f75ed Set accel trajectory to a_ego when not engaged (#23100)
* Set accel trajectory to a_ego when not engaged

* update ref
2021-12-01 23:12:11 -08:00
Mitchell Goff
be89044c51 New model: d2053554-6094-43ce-943a-7bee3f43458d/950 (#23097)
* New model: d2053554-6094-43ce-943a-7bee3f43458d/950

* Updated model replay ref

* Revert "Updated model replay ref"

This reverts commit e83e0a1adc79dd20232b74932de202d858ebb485.

* New refs (again)

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-01 22:43:13 -08:00
Adeeb Shihadeh
36a13e8245 test car models: add test for addr checks (#23093)
* test car models: add test for addr checks

* revert that

* add checks

* ugh broken cars

* which seg

* f

* move that
2021-12-01 17:23:49 -08:00
HaraldSchafer
8f3bc4872f Less sensitive torque saturated warning (#23003)
* Less sensetive torque saturated warning

* better comment
2021-12-01 13:53:42 -08:00
Willem Melching
fa34bd912e ci: improve valgrind test robustness (#23092) 2021-12-01 17:54:06 +01:00
Vivek Aithal
64eb5b0da4 locationd: cleanup (#23088)
* remove dead code, avoid indexing by value in locationd

* remove dead states in live_kf
2021-12-01 00:09:00 -08:00
Adeeb Shihadeh
d78be47a90 test car models: ignore more fake buses 2021-11-30 21:52:44 -08:00
Adeeb Shihadeh
e679d05d9e New sounds (#22652)
* new engage/disengage + amp config

* first family

* cleanup audible alerts

* tici isn't special

* fix up debug cycle alerts

* these were better

* extend range

* use distracted sound

* log scaling

* getting closer

* slightly louder

* prompt

* update tests

* update refs

* fix c2 test

* resolve todo

* adjust tolerance

* revert for now

* should work

Co-authored-by: Comma Device <device@comma.ai>
2021-11-30 19:47:33 -08:00
Adeeb Shihadeh
b3b5beb627 process replay: set full env in cpp replay 2021-11-30 18:18:12 -08:00