Commit Graph

407 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -08:00
Adeeb Shihadeh 434e5f0454 UI: make onroad/offroad transition more robust (#20030)
* make onroad/offroad transition more robust

* fix up driver view

* check other started

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3dc45554d7709b277ac1f8d350391d780ea23a3d
2021-02-05 22:13:32 -08:00
Adeeb Shihadeh 10bf2690f1 fix font weights in qt ui
old-commit-hash: d75ff1504876e4da40097504672f2ba360821ca3
2021-02-05 17:50:19 -08:00
Adeeb Shihadeh 9168fa6d93 show sat count in sidebar (#20028)
* show sat count in sidebar

* fix

* revert that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54b59783cb3ad0e3d8c3c59bfa723ba41e09352a
2021-02-05 14:15:02 -08:00
Dean Lee dc406c1b16 move global SET_SPEED_NA to function that uses it (#20026)
old-commit-hash: a7fe4560a64ce00741f53f9bb5a0de5467b095c8
2021-02-05 12:12:33 -08:00
Adeeb Shihadeh f1530e6739 swap factory reset order
old-commit-hash: a94bf25d6f12621502c721812a431ee84ab533cc
2021-02-05 00:06:57 -08:00
Adeeb Shihadeh 966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
old-commit-hash: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
Dean Lee 58cf6b8a80 UI: mv sidebar_collapsed&viz_rect to struct UIState (#19782)
* mv sidebar_collapsed&viz_rect to struct UIState

* rebase master

* rebase master

* rebase master

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c22d6e315d532bd802fd8dcf62105a1fee35afa6
2021-02-01 16:10:15 -08:00
grekiki 0b4151df44 Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
old-commit-hash: cc1308c7dffa8735bcb8f0a021f9755588efdf30
2021-02-01 19:46:03 +01:00
Dean Lee ab859c30de UI: function update_status (#19679)
* update_status

* reformat switch

* set s->started in update_status

* space

* rebase master
old-commit-hash: f54ecc277930b204d492c896f465cffbb0826aeb
2021-01-30 18:21:54 -08:00