Commit Graph

5509 Commits

Author SHA1 Message Date
Willem Melching d09cc197d1 manage_athenad.py: add daemon argument to launcher 2021-12-15 17:03:12 +01:00
Dean Lee 7c4855a609 modeld: make valid variable thread safe (#23228) 2021-12-15 14:01:11 +01:00
Dean Lee f20d53b15c driving.h: remove obsolete poly_fit function prototype (#23229) 2021-12-15 14:00:46 +01:00
Dean Lee 75687169eb qt/util: new function scaledPixmap (#23103)
* new function scaledPixmap

* rename to loadpixmap
2021-12-14 22:58:47 -08:00
Adeeb Shihadeh 13b4ff504d selfdrive/version: remove one unnecessary write to .git/ (#23183) 2021-12-14 22:35:18 -08:00
Dean Lee 2483fc5d5d ui: singleton uistate (#22789)
* singleton uistate

* merge master

* merge master

* merge master

* connect uistate in sidebar

* move to device
2021-12-14 22:28:12 -08:00
martinl 345fe48338 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>
2021-12-14 21:55:14 -08:00
Adeeb Shihadeh b27a19e9d1 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>
2021-12-14 20:43:26 -08:00
Adeeb Shihadeh fa62b9d3f9 modeld: start publishing before calib seen (#23190) 2021-12-14 17:04:40 -08:00
Kevin Robert Keegan 245b4d910c Toyota: Display Blue Barriers When Engaged, Matches OEM Design (#23150) 2021-12-14 16:42:31 -08:00
HaraldSchafer cd190dc85d Calibrationd: check size of valid_blocks without current (#23223) 2021-12-14 15:14:14 -08:00
HaraldSchafer 40dcc63823 Calibrationd: don't use noisy current block (#23222) 2021-12-14 14:09:38 -08:00
HaraldSchafer 837823ff58 Revert "Dont use erratic current block (#23211)" (#23221)
This reverts commit 19335bb6a4.
2021-12-14 13:59:39 -08:00
HaraldSchafer 19335bb6a4 Dont use erratic current block (#23211) 2021-12-14 13:58:42 -08:00
Harald Schafer c25ed45437 Update ref with minSpeedCAN removed 2021-12-14 12:31:30 -08:00
Shane Smiskol c84310c94c seems to be flipped (#23213) 2021-12-14 12:17:02 -08:00
ZwX1616 af5a418fa6 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>
2021-12-14 12:13:59 -08:00
Shane Smiskol 2799ef5292 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
2021-12-14 12:09:32 -08:00
Dean Lee f042962933 put logcat in bootlog (#23217)
* put logcat in boot log

* continue

* use std::unique_ptr

* Revert "use std::unique_ptr"

This reverts commit c671f8ca7160691791bade508c4a8eb5cdb73fb8.
2021-12-14 11:54:54 -08:00
Willem Melching 36db473bab comma two: remove lens sag compensation (#23113) 2021-12-14 13:29:59 +01:00
Devin Leamy 8cb83b29a6 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>
2021-12-14 13:29:17 +01:00
Shane Smiskol b745a14ff7 version.py: make function names more clear (#23216)
* rename a few version functions

* and is_prebuilt

* and some formatting 😊
2021-12-14 12:15:13 +01:00
Dean Lee 084ef39489 C2: display ip address in network panel (#23215)
* display ipv4 address

* refactor to class

* only display ip address
2021-12-14 12:14:51 +01:00
Dean Lee c5dbee4e58 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>
2021-12-14 11:22:16 +01:00
Dean Lee d4b8cba0f6 move LayoutWidget,ClickableWidget to controls (#23207) 2021-12-14 11:00:01 +01:00
Adeeb Shihadeh 4a936bb2e5 bump version to 0.8.13 2021-12-13 22:24:03 -08:00
mitchellgoffpc 57871c9903 Updated release notes 2021-12-13 20:39:39 -08:00
Adeeb Shihadeh 5aa701b029 update contributing.md 2021-12-13 20:30:24 -08:00
Adeeb Shihadeh 8a229826cf androidd: reduce cloudlog spam 2021-12-13 17:42:15 -08:00
Adeeb Shihadeh df5b374033 add small minimum time between taps to onboarding (#23212)
Co-authored-by: Comma Device <device@comma.ai>
2021-12-13 17:38:19 -08:00
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