HaraldSchafer
eae1fa481c
New KL model + laneless toggle ( #20454 )
...
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650
* laneless baby
* hardcode model difference for now
* kale toggle
* kale emoji
* sensible description
* make clear it is not just for ui
* emojis dont work yet
* 9671a8fe-539f-4a04-a163-54571df21139/650
* new model
* only read param on rising edge of ignition
* update toggle text
* fix that
* update refs
Co-authored-by: mitchell <mitchellgoffpc@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7ee79c99236f749d02a6779b006ee1ab187e0612
2021-03-24 01:10:31 -07:00
Willem Melching
079da64cf2
ui: unify terms scrolling
...
old-commit-hash: 621824d813f44bf1b1b8ef62645006b81fac2a90
2021-03-24 08:57:22 +01:00
Adeeb Shihadeh
fd5ea05d20
add description for SSH keys
...
old-commit-hash: c33f839e9d1b7bb4b5f87b70affbe881a2f20795
2021-03-24 00:32:09 -07:00
Adeeb Shihadeh
da90758a55
add descriptions in settings ( #20453 )
...
* add descriptions
* scroll scroll
* clean up
* try this
* scrolling on touch
* better scrolling
* we can afford 30fps
* remove that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: c89e17e0d53bd643fb236cd637a0041292fb9c14
2021-03-24 00:22:33 -07:00
Adeeb Shihadeh
96378a5b91
offroad alert improvements ( #20443 )
...
* alert niceties
* cleanup
* move the button
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0ccaec495c16111f4be47ec9e4104750efed586c
2021-03-22 22:54:22 -07:00
Adeeb Shihadeh
5cfc42911b
Remove lane change toggle and default LDW to off ( #20442 )
...
* remove lane change toggle and default LDW to off
* update refs
old-commit-hash: 43ce7165c4eee9af167a650decdb8c3f11195d8d
2021-03-22 20:55:57 -07:00
Adeeb Shihadeh
2298d8f8f9
Qt UI: scale volume with speed ( #20441 )
...
* Qt UI: scale volume with speed
* for all hw
* way too loud for tici
* set volume
* volume
* swap
old-commit-hash: f1da1f9cb2731f5dc762e7780d79146e2a8f8e20
2021-03-22 19:51:44 -07:00
Adeeb Shihadeh
fe474a58c4
fix offroad home on tici ( #20435 )
...
* grid layout was a hack
* duplicate slot
* looks better
* fix that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 106ed2ea6664dc8332412407a87d578db01d42ff
2021-03-22 14:27:37 -07:00
Adeeb Shihadeh
ae0756edc6
tici touch ups ( #20434 )
...
* tici touch ups
* trim
* less squish
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 61a0129fdcecc83a0248946ccc1073356075427f
2021-03-22 13:40:08 -07:00
Adeeb Shihadeh
e2eb4034f5
small style improvement in settings
...
old-commit-hash: 647c5804b8e8fc4cc0c43ec32d60ea0468ddb4df
2021-03-22 04:03:11 -07:00
Adeeb Shihadeh
c360723411
Qt UI: SSH keys ( #20430 )
...
* rename
* toggle control
* SSH toggle
* hw
* qcom
* lines
* fix that
* start refactoring
* adding keys
* hacky remove
* alerts
* fix qcom ssl
* use the same widgets everywhere
* clean up
* more cleanup
* little more
* bigger
* fix tethering toggleg
old-commit-hash: e547a97216d226135e2b3a170fe0c525cc56f0e5
2021-03-22 03:52:28 -07:00
Comma Device
c3c741af70
fix margin on c2
...
old-commit-hash: eda9538cc3e04d0fd8b45d6c73dfb1bb5f72397e
2021-03-22 00:02:49 -07:00
Dean Lee
d7cf75fc64
Qt: use the AbstractControl for multiple types of controls ( #20417 )
...
* class ClickableLabel
* scrollable widget
* rename to controls.cc
* rename to AbstractControl
* cleanup
* remove useless stylesheets
* change button stylesheet
* cleanup
* better margin
* cleanup
cleanup
* remove bottom line from AbstractControl
* no scrolling for now
* add those back
* style
* clean up
* don't need a function for that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 8be2e07f4f56bf784bd091d81df442b2718cff84
2021-03-21 23:53:56 -07:00
Adeeb Shihadeh
594c5f1f4b
remove redundant update available title
...
old-commit-hash: ce5d93da449ffb4eb5eeb869b98865f9d7253499
2021-03-21 21:06:34 -07:00
Dean Lee
d06d10da68
Qt: update developer page when it's visible ( #20396 )
...
* simplify&cleanup
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: ddde7efb4b0639436f7d19b191ee02201e0f97c5
2021-03-21 21:02:00 -07:00
Dean Lee
7c6b409b1d
cleanup ui_draw_vision_event ( #20386 )
...
old-commit-hash: 00dcc94ae650629dd82a0e63ba71d7dbc6d8f23b
2021-03-21 20:27:16 -07:00
Dean Lee
61c02d55ab
SettingsWindow: use list instead of map to preserve insertion order for sidebar items. ( #20424 )
...
* use a list instead of map to preserve insertion order
* unused signal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: d34e414a65c02f27a966109661a29d9adad3ea76
2021-03-21 19:08:12 -07:00
Comma Device
20df6ce147
fix margin after setting DPI
...
old-commit-hash: 7954256a09ab609c8cf8858462116ef5ca65c75f
2021-03-20 22:00:25 -07:00
iejMac
4770c6d1c9
terms fixups ( #20392 )
...
* accept
* accept at end + env variables
* better
* testing some settings
* bottom margin
* nothing
* doesnt work
* don't need anymore
* clean up
* fix
* unused
* more prime widget cleanup
* Revert "more prime widget cleanup"
This reverts commit d44651ee8c501be61099dc4cd40fa0467bc315a3.
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6a9afd8460d31eb1a265dbee28bbfda64a6fdc97
2021-03-20 21:26:05 -07:00
Adeeb Shihadeh
17a3d6cb68
Qt UI: offroad home touchups ( #20416 )
...
* brand
* fix overlap
* touchup prime widget
* more prime widget cleanup
* don't need background layout
* fix overlap again
* more prime
* looks pretty good
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0b16ed9dc9a30b18998087e114acf14ff09c9708
2021-03-20 21:18:07 -07:00
Dean Lee
38978fff45
OffroadAlert: read alert keys in constructor ( #20408 )
...
old-commit-hash: c9ac15bb96ddf7d1aa7ae4eef4436aa1648761ec
2021-03-19 13:30:51 -07:00
Dean Lee
90890c7119
qt: faster training guide ( #20407 )
...
old-commit-hash: bf3c7e6afa3f66aee0841c7c74704892ec1139e7
2021-03-19 13:07:59 -07:00
Adeeb Shihadeh
1a0ac978ec
record front lock ( #20400 )
...
* record front lock
* only if set
* add to internal installer
* move that
* change that bck
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: b60cd8d0a0a03b3c1f9f06cba1650a9afe8eb772
2021-03-18 20:15:51 -07:00
Dean Lee
1364c0c794
QT: click outside of confirmation dialog to dismiss ( #20394 )
...
old-commit-hash: 90da15778cd69cb791bade97f75bd6c62e723200
2021-03-18 17:39:38 -07:00
Adeeb Shihadeh
77bc36dc52
fix reboot button in offroad alerts
...
old-commit-hash: 4097fe150a882856fcddbcfa43640342ef5fdd6b
2021-03-15 20:14:19 -07:00
Adeeb Shihadeh
6f4736e41b
Qt UI: simplify terms ( #20349 )
...
* remove web stuff from onboarding
* fix up scrolling
* fix up style
* fix tici
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7ba5399c292add1157420af4671505f678962a30
2021-03-15 15:06:00 -07:00
Willem Melching
a8f562d8c3
Improve screen brightness by also using camera gain ( #20357 )
...
old-commit-hash: 8e14e17020d5cd55ab6f6f6178769ccb86c5bf80
2021-03-15 20:07:49 +01:00
Dean Lee
6a9fe9d0c5
ui.cc: fix update_lead segfault ( #20351 )
...
* fix update_lead crash
* Check for empty list in update_lead
* use rcv_frame
* update 2 leads in update_leads
* use std::optional
old-commit-hash: fb5873bb6d00b4f625e9ee0cd1767fe8805b2476
2021-03-15 13:53:22 +01:00
Dean Lee
3c98506939
ui/update_model: cleanup ( #20313 )
...
* cleanup
* fix ident
old-commit-hash: 980f8774ba1107ded67702d2b4b1a3e066945c67
2021-03-11 16:59:40 +01:00
Willem Melching
4ddc18145b
ui.cc: lane lines have different x values
...
old-commit-hash: 1f24b1eb0f6c6b671d79744ec18168de81f46164
2021-03-11 15:39:37 +01:00
Adeeb Shihadeh
1c930d1e9e
UI HW Abstraction layer ( #20301 )
...
* start cpp hw abstraction layer
* cleanup
* only set brightness on change
* confirmation dialogs
* add to release files
* fix tici brightness
* using percentage now
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: d45550c4246aa2ad12082767e68326bf4015bd75
2021-03-10 22:51:50 -08:00
Dean Lee
1b4a583e89
paint.cc: fix indentation & code style ( #20302 )
...
old-commit-hash: 4e9e751ba5c070bd55ab7f421b8d8b00033d429a
2021-03-10 20:52:01 -08:00
Willem Melching
37db5ca9df
Use exposure for screen brightness ( #20290 )
...
* use camera to set screen brightness
* leave default
* lower default
* fix offroad
* increase offroad brightness
* ifdef ifndef
* fix qcomgp
old-commit-hash: 026a580ee3919e38de000837ca2e47f3ee115a85
2021-03-09 17:58:26 +01:00
Adeeb Shihadeh
96b6f66472
qt_sound: lower volume
...
old-commit-hash: 614808f384700730a1ca805a6ba2abf0662e7076
2021-03-08 22:10:48 -08:00
Willem Melching
4d6c98aa6b
Add watchdog check to manager ( #20277 )
...
* this should work but doesnt
* Only offroad
* works
* make it work offorad
* reduce diff
* cleanup
* need util
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: a94ba4fb8b704a5462352af4501290f63c987754
2021-03-08 19:17:46 -08:00
Dean Lee
43a8ac2b73
ui/update_line_data: use max_idx as paramater instead of max_distance ( #20256 )
...
old-commit-hash: cdc46ffbabf9fb9627a44ce8260ce4be7481f32f
2021-03-08 10:16:46 +01:00
Dean Lee
e64a35bbff
ui: remove unused roadCameraState from SubMaster ( #20245 )
...
old-commit-hash: 90310042cbfcc105604385439b5736de60174e02
2021-03-04 20:18:54 -08:00
Adeeb Shihadeh
f47a31f5c5
UI touchups ( #20243 )
...
* do that automatically
* move that
* catch failures in factory reset
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 0fc98355d07aebb68ddc0da1d51013cf00e4f610
2021-03-04 17:12:56 -08:00
Willem Melching
6ec00afa0f
ui: check sensor list size
...
old-commit-hash: 1b5c4d908947da2721167f60b43563dcb4844d1e
2021-03-04 14:40:16 +01:00
Willem Melching
f0da92ba5c
set brightness, catch exceptions
...
old-commit-hash: 0d02e858735aa39137074704b6c9356632935852
2021-03-04 13:19:30 +01:00
Dean Lee
0818f7166d
UI: Move the variables need to be updated by socket to UIScene ( #19783 )
...
* move variables into UIScene
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* rebase master
* fix build error
* cleanup
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: dd603a89f642ea73d2c9b0def94d228adf9d52df
2021-03-03 17:40:50 +01:00
Dean Lee
2c8696ddac
move function calib_frame_to_full_frame to ui.cc ( #20230 )
...
* move calib_frame_to_full_frame to ui.cc
* cleaup includes
old-commit-hash: a1b2bdb844432b7cf59de412c57e9ee7f27fa650
2021-03-03 13:10:17 +01:00
Dean Lee
5e19cdb0d3
move intrinsic_matrix into modeldata.h, removed duplicate definitions. ( #20051 )
...
* move intrinsic_matrix into modeldata.h
* def __cplusplus
old-commit-hash: ae72d34a42f23e9b295641e1b0f50515434d6d1f
2021-03-03 11:47:48 +01:00
Dean Lee
4fd0fe80f0
UI: rename frontview to driver_view ( #20228 )
...
old-commit-hash: 8db3eea6c5e25516445bb8345fe13f0a2b7e6348
2021-03-03 11:38:41 +01:00
Comma Device
feeb570cd3
fix typo
...
old-commit-hash: f96e8f2f175ed9dfa162da451fe01d141a9ac990
2021-03-02 20:59:46 -08:00
Adeeb Shihadeh
54df1204e8
fix SSL errors in Qt UI on NEOS ( #20225 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 60a9443b61af66976533fe4d26422740db392171
2021-03-02 20:46:46 -08:00
ZwX1616
f8966cecae
tici driverview support ( #20223 )
...
* add tici support and clean up
* not exactly 4/3
* keep c2 style
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 2a9e775bb9ab39b8042edae03591f32acfbb7345
2021-03-02 19:42:45 -08:00
Adeeb Shihadeh
33022f854c
fix rotation on input dialog
...
old-commit-hash: 4c84a33d01d1d2b5e8c32d3f586dd14f3830bd5a
2021-03-02 17:14:32 -08:00
Adeeb Shihadeh
6dbc7c6d92
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 07ab081a42e4c383bd0fbd3e7e5723a126c8da12
2021-03-01 17:14:03 -08:00
Willem Melching
d83935e19d
Qt ui: fix minimum pass length
...
old-commit-hash: a0987cb0980a8b3b2501a329d5da80f960ea7b95
2021-03-01 13:55:48 +01:00