Commit Graph

5529 Commits

Author SHA1 Message Date
Dean Lee
f482354e4e Qt/SetingWindow: faster initialization and painting (#21764)
* reduce init time from ~520ms to ~350ms

* faster init toggle

setfixedheight in ctor

delay init TogglesPanel,reduce init time to ~180ms

cleanup

* precise style, reduce to ~100ms

* revert 'faster toggle

* fix horizontal_line

* fix background

* cleanup
2021-12-13 15:57:04 +01:00
Dean Lee
b519acd37b LapConv: remove hardcoded FULL_STRIDE_X (#23200)
* fix wroing stride_x

* remove hardcoded rgb_stride
2021-12-13 15:53:44 +01:00
Dean Lee
8a84263c2d replay: use std::unique_ptr to manage memory, reuse events buffer. (#23049)
* reuse events buffer

* Trigger Build
2021-12-13 15:22:31 +01:00
Dean Lee
5c6229f3df common_process_driver_camera: same parameters as process_thread_cb (#23202) 2021-12-13 15:07:31 +01:00
Dean Lee
13ad02bc06 commonmodel.h: move global model size into class ModelFrame (#23193)
* move to class ModelFrame

* remove defines in dmonitoring as well

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-13 14:58:21 +01:00
Dean Lee
4aa291c406 Use std::unique_ptr to manage memory (#23168)
* use unique_ptr

* trigger ci

* move down loggerdstate
2021-12-13 14:16:53 +01:00
Dean Lee
cfad1f35e8 RawLogger: fix wrong pts (#23205) 2021-12-13 11:46:52 +01:00
Dean Lee
9decd3d8a2 util: move all functions into util namespace (#23203) 2021-12-12 14:42:23 -08:00
Adeeb Shihadeh
af125f3c51 update refs 2021-12-12 13:49:14 -08:00
Adeeb Shihadeh
7f618b16bf increase cruise mismatch threshold 2021-12-12 13:35:12 -08:00
Greg Hogan
40d2e4ec90 model output struct for metadata (#23139)
* model output struct for metadata

* better max element search

* ModelDataRawDesireProb.to_array()

* eliminate some copies

* not worth messing with softmax now

* remove unused includes

* more cleanup

* no longer pointers

* better variable name

* fix recurrent state

* improve variable name

* fix OUTPUT_SIZE and NET_OUTPUT_SIZE
2021-12-12 11:41:25 -08:00
Adeeb Shihadeh
8068df0b2a alerts: escalate soft disable alert near disengagement (#23198)
* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement
2021-12-11 17:07:37 -08:00
Adeeb Shihadeh
d28622f8d3 Revert "soundd: use setLoopCount(0) to stop repeating sound (#23076)"
This reverts commit 35885745f1.
2021-12-11 14:32:38 -08:00
George Hotz
8122a0af4c RELEASES.md: prevention is a bold statement 2021-12-11 14:15:59 -08:00
HaraldSchafer
321b08a0e9 Update RELEASES.md 2021-12-10 23:20:49 -08:00
Adeeb Shihadeh
9c51aa9f0e add honda bosch hud msgs to release notes 2021-12-10 22:53:49 -08:00
Adeeb Shihadeh
c9c96cbf73 update release notes 2021-12-10 22:49:46 -08:00
Adeeb Shihadeh
c6d3306dbe updated: handle execptions while setting params 2021-12-10 22:49:32 -08:00
Adeeb Shihadeh
7c9fa91fb8 fix missing time import 2021-12-10 20:14:24 -08:00
Adeeb Shihadeh
07b971d473 alerts: handle min duration properly (#23191)
* alerts: handle min duration properly

* add active

* tests

* cleanup test

* update refs
2021-12-10 19:20:07 -08:00
Adeeb Shihadeh
4627d201b6 alert text simplification (#23186)
* alert text simplification

* little more

* user triggered

* little more

* less annoying ldw

* Update selfdrive/controls/lib/events.py

* update refs

* revert
2021-12-10 15:21:37 -08:00
mitchellgoffpc
921656e9d7 Added sbigmodel frame transformations 2021-12-09 16:15:24 -08:00
Adeeb Shihadeh
b2c0fcb580 revert to old red alert sound for now (#23182) 2021-12-09 15:50:49 -08:00
Adeeb Shihadeh
45f3662cf0 alerts: add test for creation delay 2021-12-09 14:29:50 -08:00
Adeeb Shihadeh
c133ad760a not separate model ports 2021-12-09 14:15:56 -08:00
Dean Lee
2335a20584 limit style scope (#23181) 2021-12-09 11:37:59 -08:00
Willem Melching
f93d89b888 dmonitoring/DriverView: get crop_rect & transform by video size (#23169)
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014)

* keep rounding the same

Co-authored-by: Dean Lee <deanlee3@gmail.com>
2021-12-09 16:20:50 +01:00
Adeeb Shihadeh
85b90883ad AGNOS 3 (#23172)
* AGNOS 3

* always forget to do this

* update

* release manifest
2021-12-08 19:24:40 -08:00
Adeeb Shihadeh
f71085484d tici: lower min volume 2021-12-08 18:54:16 -08:00
Adeeb Shihadeh
aa02e05193 tici: lower offroad temp setpoint (#23177)
* tici: lower offroad temp setpoint

* Update selfdrive/thermald/thermald.py
2021-12-08 17:46:01 -08:00
Harald Schafer
44adea73ce fix max speed comments 2021-12-08 17:13:43 -08:00
Adeeb Shihadeh
e4caaeb2d3 tests for agnos manifest (#23176) 2021-12-08 16:21:12 -08:00
HaraldSchafer
c41a0cae4b XVA long policy: prev_a becomes numpy anyway (#23175) 2021-12-08 16:06:09 -08:00
Harald Schafer
7e20fe7ca2 Long mpc: fix xva policy for sim 2021-12-08 15:42:30 -08:00
Adeeb Shihadeh
1638975627 Merge 2021 Accords into 2018 Accords (#23174)
* Merge 2021 Accords into 2018 Accords

* last of them
2021-12-08 14:40:14 -08:00
Adeeb Shihadeh
755ec71c05 UI: remove burn in prevention (#23173) 2021-12-08 13:58:06 -08:00
Mitchell Goff
1d119999c2 New model: 224877e7-dfcf-4b28-9482-371655918fe1/950 (#23170)
* New model: 224877e7-dfcf-4b28-9482-371655918fe1/950

* Updated model replay ref
2021-12-08 13:55:30 -08:00
Metalbird1997
809154571a add fingerprint for European 2018 Toyota C-HR Hybrid (#23171) 2021-12-08 13:43:11 -08:00
Willem Melching
b5fdf646ff Revert "dmonitoring/DriverView: get crop_rect & transform by video size (#23014)"
This reverts commit 1af715d6a2.
2021-12-08 19:13:38 +01:00
Dean Lee
1af715d6a2 dmonitoring/DriverView: get crop_rect & transform by video size (#23014) 2021-12-08 17:51:56 +01:00
Dean Lee
48963d4b24 locationd_thread: fix possible dangling reference to params (#23156) 2021-12-08 17:46:18 +01:00
Willem Melching
0ec68a5a09 0.8.11-release FW batch (#23167)
* 0.8.11-release FW batch

* those toyota also dont always return esp

* attempt to clean up 2018 & 2021 accord
2021-12-08 14:44:00 +01:00
Joost Wooning
4a73445ee5 nav: athena destination with name and details (#23155) 2021-12-08 14:40:31 +01:00
Robbe Derks
bb7208f4c3 add check for restoring almanac, and clear like suggested in the datasheet (#23153)
Co-authored-by: Comma Device <device@comma.ai>
2021-12-08 14:13:56 +01:00
Adeeb Shihadeh
c8e64b2c62 tici: higher cpu freq while offroad (#23151) 2021-12-07 21:44:35 -08:00
Adeeb Shihadeh
2f78cfcbfd onroad test fixes (#23164) 2021-12-07 21:02:17 -08:00
Adeeb Shihadeh
5f36b48199 loggerd: fix delayed exit from main thread 2021-12-07 18:22:00 -08:00
Harald Schafer
16bf562806 Add TSS2 prius to TSS2 long tunes 2021-12-07 16:06:43 -08:00
HaraldSchafer
d1b003c5d2 Cruise speed: up to 90mph max (#23161)
* Cruise speed: up to 90mph max

* update ref
2021-12-07 15:47:57 -08:00
Adeeb Shihadeh
1501c2e376 whole new family (#23157)
* family two

* more volume

* repeating dm sound

* update tests
2021-12-07 13:45:49 -08:00