Commit Graph

369 Commits

Author SHA1 Message Date
Adeeb Shihadeh 4097fe150a fix reboot button in offroad alerts 2021-03-15 20:14:19 -07:00
Adeeb Shihadeh 7ba5399c29 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>
2021-03-15 15:06:00 -07:00
Willem Melching 8e14e17020 Improve screen brightness by also using camera gain (#20357) 2021-03-15 20:07:49 +01:00
Dean Lee fb5873bb6d 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
2021-03-15 13:53:22 +01:00
Dean Lee 980f8774ba ui/update_model: cleanup (#20313)
* cleanup

* fix ident
2021-03-11 16:59:40 +01:00
Willem Melching 1f24b1eb0f ui.cc: lane lines have different x values 2021-03-11 15:39:37 +01:00
Adeeb Shihadeh d45550c424 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>
2021-03-10 22:51:50 -08:00
Dean Lee 4e9e751ba5 paint.cc: fix indentation & code style (#20302) 2021-03-10 20:52:01 -08:00
Willem Melching 026a580ee3 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
2021-03-09 17:58:26 +01:00
Adeeb Shihadeh 614808f384 qt_sound: lower volume 2021-03-08 22:10:48 -08:00
Willem Melching a94ba4fb8b 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>
2021-03-08 19:17:46 -08:00
Dean Lee cdc46ffbab ui/update_line_data: use max_idx as paramater instead of max_distance (#20256) 2021-03-08 10:16:46 +01:00
Dean Lee 90310042cb ui: remove unused roadCameraState from SubMaster (#20245) 2021-03-04 20:18:54 -08:00
Adeeb Shihadeh 0fc98355d0 UI touchups (#20243)
* do that automatically

* move that

* catch failures in factory reset

Co-authored-by: Comma Device <device@comma.ai>
2021-03-04 17:12:56 -08:00
Willem Melching 1b5c4d9089 ui: check sensor list size 2021-03-04 14:40:16 +01:00
Willem Melching 0d02e85873 set brightness, catch exceptions 2021-03-04 13:19:30 +01:00
Dean Lee dd603a89f6 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>
2021-03-03 17:40:50 +01:00
Dean Lee a1b2bdb844 move function calib_frame_to_full_frame to ui.cc (#20230)
* move calib_frame_to_full_frame to ui.cc

* cleaup includes
2021-03-03 13:10:17 +01:00
Dean Lee ae72d34a42 move intrinsic_matrix into modeldata.h, removed duplicate definitions. (#20051)
* move intrinsic_matrix into modeldata.h

* def __cplusplus
2021-03-03 11:47:48 +01:00
Dean Lee 8db3eea6c5 UI: rename frontview to driver_view (#20228) 2021-03-03 11:38:41 +01:00
Comma Device f96e8f2f17 fix typo 2021-03-02 20:59:46 -08:00
Adeeb Shihadeh 60a9443b61 fix SSL errors in Qt UI on NEOS (#20225)
Co-authored-by: Comma Device <device@comma.ai>
2021-03-02 20:46:46 -08:00
ZwX1616 2a9e775bb9 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>
2021-03-02 19:42:45 -08:00
Adeeb Shihadeh 4c84a33d01 fix rotation on input dialog 2021-03-02 17:14:32 -08:00
Adeeb Shihadeh 07ab081a42 oneplus cleanup (#20200)
* start cleanup

* cleanup camerad

* remove unused

* little more

Co-authored-by: Comma Device <device@comma.ai>
2021-03-01 17:14:03 -08:00
Willem Melching a0987cb098 Qt ui: fix minimum pass length 2021-03-01 13:55:48 +01:00
Adeeb Shihadeh d8418f2abe qt confirmation dialogs (#20202)
* confirmation dialog widget

* looks pretty good

* fix qcom2

Co-authored-by: Comma Device <device@comma.ai>
2021-02-28 20:44:00 -08:00
Adeeb Shihadeh ec8b21c261 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>
2021-02-28 18:10:50 -08:00
grekiki 069532eb18 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>
2021-02-26 14:21:06 +01:00
grekiki c60cc0310c Qt-UI Cleanup SSH and Tethering password (#20169)
Co-authored-by: Comma Device <device@comma.ai>
2021-02-26 14:08:26 +01:00
Adeeb Shihadeh c7dd344f2e neos networking (#20165)
* neos networking

* tethering

* cleanup

* stretch

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-02-25 22:19:53 -08:00
grekiki 4c99d83474 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>
2021-02-25 18:27:00 +01:00
grekiki a53c361bd4 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>
2021-02-25 16:14:25 +01:00
Adeeb Shihadeh 1c369a9009 Qt on NEOS (#20153)
* qt on neos

* cleanup

* check arch

* fix pc

* fix mac

* base libs

Co-authored-by: Comma Device <device@comma.ai>
2021-02-25 01:03:37 -08:00
Adeeb Shihadeh 1ef7d4a4c8 Revert "fix some refactor commits that weren't tested (#20140)"
This reverts commit 9e29d5621c.
2021-02-24 12:09:19 -08:00
grekiki 9e29d5621c fix some refactor commits that weren't tested (#20140)
Co-authored-by: Comma Device <device@comma.ai>
2021-02-24 17:52:37 +01:00
grekiki 04cbed3989 Qt-UI fix escaping all wifi access points (#20147)
* fix wifi escaping

* less code

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

* works

* reduce diff

* refactor

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

* timezone

* bump version
2021-02-18 18:14:34 -08:00
Adeeb Shihadeh 312b681a46 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
2021-02-16 21:39:32 -08:00
Willem Melching 0a6d500a4a ui: log visionipc receive timeout 2021-02-16 17:16:08 +01:00
Willem Melching cf3cd54b68 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
2021-02-16 15:57:01 +01:00
grekiki 34ff2951d4 should work (#20083) 2021-02-15 16:45:13 +01:00
Willem Melching 105c8d1a40 qt; fix setup build 2021-02-15 16:41:26 +01:00
grekiki 43db36d829 UI fixes (#20069)
We fix some UI issues. Also UI should be more resistant to network manager not running.
2021-02-15 13:42:02 +01:00
grekiki caf8f85ee9 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>
2021-02-12 09:48:15 +01:00
Adeeb Shihadeh b3cf60cd0b use gpsOK flag from locationd 2021-02-09 19:31:30 -08:00
HaraldSchafer ab0456c0eb 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>
2021-02-09 17:23:46 -08:00
Willem Melching 2fc1104e8b ui.cc: fix divide by zero 2021-02-09 16:31:54 +01:00