Commit Graph

417 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh fa0bd1990f qt confirmation dialogs (#20202)
* confirmation dialog widget

* looks pretty good

* fix qcom2

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d8418f2abe2fba10a75238aa7692895acc5dcab5
2021-02-28 20:44:00 -08:00
Adeeb Shihadeh 7ac52e2374 qt fixups (#20171)
* no outline

* disable on qcom for now

* fix qt 5.12.8

* cleanup drive stats

* widgets cleanup

* ssl test

* revert that

* disable by default

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec8b21c261b28d62dd84c2a6fa28bef09f5c8ed0
2021-02-28 18:10:50 -08:00
grekiki 30887bcbd8 Qt standalone wifi chooser (#20141)
* qt wifiManager remove qDebugs

* wifi widget

* 50% done

* Update SConscript

* backgrounds work

* backgrounds work

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 069532eb18eead899ecbf2eeea71a640364bc0d4
2021-02-26 14:21:06 +01:00
grekiki 1a24d4869d Qt-UI Cleanup SSH and Tethering password (#20169)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c60cc0310caf15ac00b3f306fd6b7b3330f6e16c
2021-02-26 14:08:26 +01:00
Adeeb Shihadeh 2b63a4e9c2 neos networking (#20165)
* neos networking

* tethering

* cleanup

* stretch

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c7dd344f2e41c1cf587d2c2dcb7f13428ab74883
2021-02-25 22:19:53 -08:00
grekiki cd38b27338 Qt-UI fix ssh username (#20159)
* Fix SSH username. Squased Gregor's commits.

* revert keyboard size

* reduce diff

* fix build

* whitespace

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4c99d83474336420badb2a12335b745c9c301ce6
2021-02-25 18:27:00 +01:00
grekiki 3ad3cd5d4b Qt-UI add driver monitoring view in offroad (#20148)
* should work, need to test onroad

* reduce diff

* Update home.cc

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a53c361bd4816c3ee140362433b647c34da2ebfa
2021-02-25 16:14:25 +01:00
Adeeb Shihadeh 70db46e752 Qt on NEOS (#20153)
* qt on neos

* cleanup

* check arch

* fix pc

* fix mac

* base libs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c369a90096fee30116b14eed610f7ecb0514fe1
2021-02-25 01:03:37 -08:00
Adeeb Shihadeh bf0d5c2140 Revert "fix some refactor commits that weren't tested (#20140)"
This reverts commit e25516e0a4ea9cfe459c400c331e1206ea3336c8.

old-commit-hash: 1ef7d4a4c8aa8adb93ac64772673b0014bec0ead
2021-02-24 12:09:19 -08:00
grekiki 4af3c6f533 fix some refactor commits that weren't tested (#20140)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9e29d5621c22afa405a1ae0109ab1a2916932765
2021-02-24 17:52:37 +01:00
grekiki 6b65ed01f5 Qt-UI fix escaping all wifi access points (#20147)
* fix wifi escaping

* less code

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 04cbed39897ea2cc71a146489453f16f2e218c71
2021-02-24 15:40:34 +01:00
grekiki 1e74eb0547 Qt-UI Close settings when screen turns off (#20117)
old-commit-hash: b8052001942cad72b3095381ce6e8e719312e35a
2021-02-23 14:40:56 +01:00
grekiki 2b6237dd4c Qt ui: close settings on onroad transition (#20114)
* need to test

* works

* reduce diff

* refactor

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: dab2e1298b62991e57123972a34167a3ce62de8a
2021-02-22 10:47:33 +01:00
Adeeb Shihadeh 3ede01fb14 agnos 0.6 (#20077)
* updates for agnos 0.6

* timezone

* bump version
old-commit-hash: d169914674f428f0355c0ec456ed9336fce500a1
2021-02-18 18:14:34 -08:00
Adeeb Shihadeh 05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
Willem Melching 037d108627 ui: log visionipc receive timeout
old-commit-hash: 0a6d500a4a99572f2b1e81de891a46ab8f87e1bd
2021-02-16 17:16:08 +01:00
Willem Melching 946b669ec5 Qt ui: set timeout on all dbus interfaces in wifiManager (#20090)
* set timeout on all dbus interfaces in network

* fix hardcoded timeout

* lower timeout in thermald
old-commit-hash: cf3cd54b687fc63f8cbbfddde14f4977a2efd452
2021-02-16 15:57:01 +01:00
grekiki b49e33cee2 should work (#20083)
old-commit-hash: 34ff2951d4172710c35f0443f2a4a274a1b73d70
2021-02-15 16:45:13 +01:00
Willem Melching 89f91da1bb qt; fix setup build
old-commit-hash: 105c8d1a40a218809915232853fc8cb1b72b57cd
2021-02-15 16:41:26 +01:00
grekiki 0346516eeb UI fixes (#20069)
We fix some UI issues. Also UI should be more resistant to network manager not running. 
old-commit-hash: 43db36d829c4f8a6c551c55d54d091c0c05ccc54
2021-02-15 13:42:02 +01:00
grekiki 03f12d8735 Qt add Terms & Conditions (#19998)
* works...

* terms

* new termms

* should be good

* reduce diff

* fix reviews

* correct font + remove unused import

* no zooming

* read the TERMStig!

* dynamic check for page being read

* rename scroll position slot

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: caf8f85ee9821c9433d52d0fbf7c6ba4ed3fcc5c
2021-02-12 09:48:15 +01:00
Adeeb Shihadeh 2950af53b5 use gpsOK flag from locationd
old-commit-hash: b3cf60cd0bf502b11a3fb6c24bd3ae2324198c2e
2021-02-09 19:31:30 -08:00
HaraldSchafer 8bb63abe4f fixup ui (#20049)
* fixup ui

* works

* new formate

* more cleanup

* works I assume we need a library somehow

* more readable

* fix lead sign

* put on road

* transformations lib

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab0456c0eb41090fd9292d8643975e93983ae85e
2021-02-09 17:23:46 -08:00
Willem Melching c73523efc9 ui.cc: fix divide by zero
old-commit-hash: 2fc1104e8b0158b1dfe43b8788ab2313bb263b41
2021-02-09 16:31:54 +01:00
Willem Melching 8aa18de0b7 dont print slow frame on pc
old-commit-hash: 7054a9d2371a5a71da10f87a8babfd7db1a560d1
2021-02-09 16:29:05 +01:00
Dean Lee 0aa14e0b72 ui.cc: replace s->scene with scene (#20045)
old-commit-hash: 204add695267a45ebf883b9cfa8441912759b943
2021-02-09 11:42:11 +01:00
Dean Lee 99f19b5da6 UI: remove struct track_vertices_data (#20018)
* remove struct track_vertices_data

* space

* rebase master
old-commit-hash: c2aefab55349df15613675acec6b68c8377245f5
2021-02-08 12:06:14 +01:00
Dean Lee 766302fabe removed margin paramater from car_space_to_full_frame (#20017)
old-commit-hash: 40919a6f484042fc486c5da7d30b2fcc1d778e60
2021-02-07 18:00:56 -08:00