Commit Graph

8267 Commits

Author SHA1 Message Date
Dean Lee d5e9c7ecf1 UI: always clear CameraView background (#23231)
* fix background

* gate that with Hardware::EON

* always call glclear
old-commit-hash: 5810583d57
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh 85ff2fe9cb Revert "Qt/SetingWindow: faster initialization and painting (#21764)"
This reverts commit 720e3a73e7befe597bb94f93e41f8f294431ba65.

old-commit-hash: 472177e2a8
2021-12-15 09:58:25 -08:00
Willem Melching 4b13d224bd manage_athenad.py: add daemon argument to launcher
old-commit-hash: d09cc197d1
2021-12-15 17:03:12 +01:00
Dean Lee 0e0c8c9941 modeld: make valid variable thread safe (#23228)
old-commit-hash: 7c4855a609
2021-12-15 14:01:11 +01:00
Dean Lee b547e87f17 driving.h: remove obsolete poly_fit function prototype (#23229)
old-commit-hash: f20d53b15c
2021-12-15 14:00:46 +01:00
Dean Lee f0eb7a5402 qt/util: new function scaledPixmap (#23103)
* new function scaledPixmap

* rename to loadpixmap
old-commit-hash: 75687169eb
2021-12-14 22:58:47 -08:00
Adeeb Shihadeh 5e37ac43be selfdrive/version: remove one unnecessary write to .git/ (#23183)
old-commit-hash: 13b4ff504d
2021-12-14 22:35:18 -08:00
Dean Lee 1fc1819c2b ui: singleton uistate (#22789)
* singleton uistate

* merge master

* merge master

* merge master

* connect uistate in sidebar

* move to device
old-commit-hash: 2483fc5d5d
2021-12-14 22:28:12 -08:00
martinl 14c8689bab Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance (#23024)
* Rename preglobal ES_CruiseThrottle to ES_Distance

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 345fe48338
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh 6fc218503c cloudlog: add daemon name to context for python daemons (#23225)
* python

* manager is a daemon too

* Update selfdrive/manager/process.py

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b27a19e9d1
2021-12-14 20:43:26 -08:00
Adeeb Shihadeh ea2dcf9d37 modeld: start publishing before calib seen (#23190)
old-commit-hash: fa62b9d3f9
2021-12-14 17:04:40 -08:00
Kevin Robert Keegan 7a55ba0175 Toyota: Display Blue Barriers When Engaged, Matches OEM Design (#23150)
old-commit-hash: 245b4d910c
2021-12-14 16:42:31 -08:00
HaraldSchafer 4de7b45d40 Calibrationd: check size of valid_blocks without current (#23223)
old-commit-hash: cd190dc85d
2021-12-14 15:14:14 -08:00
HaraldSchafer 22ec491d1f Calibrationd: don't use noisy current block (#23222)
old-commit-hash: 40dcc63823
2021-12-14 14:09:38 -08:00
HaraldSchafer 4708268c7d Revert "Dont use erratic current block (#23211)" (#23221)
This reverts commit 5c76900f565c8e55f5738efb8fdf5d6a846dbe0e.
old-commit-hash: 837823ff58
2021-12-14 13:59:39 -08:00
HaraldSchafer 6a7849aea3 Dont use erratic current block (#23211)
old-commit-hash: 19335bb6a4
2021-12-14 13:58:42 -08:00
Harald Schafer 8d8b61e73f Update ref with minSpeedCAN removed
old-commit-hash: c25ed45437
2021-12-14 12:31:30 -08:00
Shane Smiskol c413152da3 seems to be flipped (#23213)
old-commit-hash: c84310c94c
2021-12-14 12:17:02 -08:00
ZwX1616 f464a02782 DM: more adaptive pose policy (#23184)
* rename and add dep

* proto thresholds

* tweak vk

* update natural offset and clip offsets

* 95th looks good

* no punish for being relaxed

* yaw laplace only

* some pay more attention

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: af5a418fa6
2021-12-14 12:13:59 -08:00
Shane Smiskol 91ff6918e5 Remove minSpeedCan (#22991)
* Remove minCanSpeed

Remove minCanSpeed

* it actually only goes out to 2.5 seconds, this is okay to remove

* test to see if this preserves behavior

add minSpeedCan

* Revert "test to see if this preserves behavior"

This reverts commit 31b11f017f7e9da7654fc8064b5983d4a6cc22e5.

* preserve behavior (don't enter stopping as early)

* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation
old-commit-hash: 2799ef5292
2021-12-14 12:09:32 -08:00
Dean Lee 01eb405677 put logcat in bootlog (#23217)
* put logcat in boot log

* continue

* use std::unique_ptr

* Revert "use std::unique_ptr"

This reverts commit c671f8ca7160691791bade508c4a8eb5cdb73fb8.
old-commit-hash: f042962933
2021-12-14 11:54:54 -08:00
Willem Melching 0574f0f774 comma two: remove lens sag compensation (#23113)
old-commit-hash: 36db473bab
2021-12-14 13:29:59 +01:00
Devin Leamy 20a2b9d0a2 athena: persist upload queue to disk (#22659)
* revert submodules

* lowercase

* addressed comments

* add test for cancelled uploads

* formatting

* catch all exceptions

* handle empty param

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8cb83b29a6
2021-12-14 13:29:17 +01:00
Shane Smiskol ef38c36435 version.py: make function names more clear (#23216)
* rename a few version functions

* and is_prebuilt

* and some formatting 😊
old-commit-hash: b745a14ff7
2021-12-14 12:15:13 +01:00
Dean Lee 31bf68c622 C2: display ip address in network panel (#23215)
* display ipv4 address

* refactor to class

* only display ip address
old-commit-hash: 084ef39489
2021-12-14 12:14:51 +01:00
Dean Lee c031c1a8d4 UI: add timeout to close settings window while onroad (#22980)
* refactor updateWakefulness

* don't hide sidebar

* rename reset->reset_timeout

* move related variables and functions into class Device

* reset timeout in ctor

* set timeout to 10s if ignition is on

* cleanup

* remove unused QTimer *timer

* check getTimestamp

* keep socket reading in update_state

* keep filtering

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c5dbee4e58
2021-12-14 11:22:16 +01:00
Dean Lee b462e5584f move LayoutWidget,ClickableWidget to controls (#23207)
old-commit-hash: d4b8cba0f6
2021-12-14 11:00:01 +01:00
Adeeb Shihadeh 87ca19c8fd bump version to 0.8.13
old-commit-hash: 4a936bb2e5
2021-12-13 22:24:03 -08:00
Adeeb Shihadeh 0a43e415cc androidd: reduce cloudlog spam
old-commit-hash: 8a229826cf
2021-12-13 17:42:15 -08:00
Adeeb Shihadeh 0bcb3936ad add small minimum time between taps to onboarding (#23212)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: df5b374033
2021-12-13 17:38:19 -08:00
Dean Lee b7e08ff8fd 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
old-commit-hash: f482354e4e
2021-12-13 15:57:04 +01:00
Dean Lee 88e6b990d4 LapConv: remove hardcoded FULL_STRIDE_X (#23200)
* fix wroing stride_x

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

* Trigger Build
old-commit-hash: 8a84263c2d
2021-12-13 15:22:31 +01:00
Dean Lee 4754da9fbc common_process_driver_camera: same parameters as process_thread_cb (#23202)
old-commit-hash: 5c6229f3df
2021-12-13 15:07:31 +01:00
Dean Lee ad8ab75ede 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>
old-commit-hash: 13ad02bc06
2021-12-13 14:58:21 +01:00
Dean Lee 3e72a81dac Use std::unique_ptr to manage memory (#23168)
* use unique_ptr

* trigger ci

* move down loggerdstate
old-commit-hash: 4aa291c406
2021-12-13 14:16:53 +01:00
Dean Lee a88eb06773 RawLogger: fix wrong pts (#23205)
old-commit-hash: cfad1f35e8
2021-12-13 11:46:52 +01:00
Dean Lee dd7c226097 util: move all functions into util namespace (#23203)
old-commit-hash: 9decd3d8a2
2021-12-12 14:42:23 -08:00
Adeeb Shihadeh 0c76321224 update refs
old-commit-hash: af125f3c51
2021-12-12 13:49:14 -08:00
Adeeb Shihadeh 83136e8016 increase cruise mismatch threshold
old-commit-hash: 7f618b16bf
2021-12-12 13:35:12 -08:00
Greg Hogan f1f2a52a5c 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
old-commit-hash: 40d2e4ec90
2021-12-12 11:41:25 -08:00
Adeeb Shihadeh 06a9b3448d alerts: escalate soft disable alert near disengagement (#23198)
* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement
old-commit-hash: 8068df0b2a
2021-12-11 17:07:37 -08:00
Adeeb Shihadeh e3e9a6402b Revert "soundd: use setLoopCount(0) to stop repeating sound (#23076)"
This reverts commit 27bcef8a3846acc7664a26e30a1284abb9fd8752.

old-commit-hash: d28622f8d3
2021-12-11 14:32:38 -08:00
Adeeb Shihadeh db8e512ee5 updated: handle execptions while setting params
old-commit-hash: c6d3306dbe
2021-12-10 22:49:32 -08:00
Adeeb Shihadeh 1d429f7e90 fix missing time import
old-commit-hash: 7c9fa91fb8
2021-12-10 20:14:24 -08:00
Adeeb Shihadeh 700ad9ec50 alerts: handle min duration properly (#23191)
* alerts: handle min duration properly

* add active

* tests

* cleanup test

* update refs
old-commit-hash: 07b971d473
2021-12-10 19:20:07 -08:00
Adeeb Shihadeh 853dc0d016 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
old-commit-hash: 4627d201b6
2021-12-10 15:21:37 -08:00
Adeeb Shihadeh 943ddb1d5d revert to old red alert sound for now (#23182)
old-commit-hash: b2c0fcb580
2021-12-09 15:50:49 -08:00
Adeeb Shihadeh 3d72ed6ea1 alerts: add test for creation delay
old-commit-hash: 45f3662cf0
2021-12-09 14:29:50 -08:00
Dean Lee 22a334b224 limit style scope (#23181)
old-commit-hash: 2335a20584
2021-12-09 11:37:59 -08:00