Commit Graph

384 Commits

Author SHA1 Message Date
grekiki 1e74eb0547 Qt-UI Close settings when screen turns off (#20117)
old-commit-hash: b805200194
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: dab2e1298b
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: d169914674
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: 312b681a46
2021-02-16 21:39:32 -08:00
Willem Melching 037d108627 ui: log visionipc receive timeout
old-commit-hash: 0a6d500a4a
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: cf3cd54b68
2021-02-16 15:57:01 +01:00
grekiki b49e33cee2 should work (#20083)
old-commit-hash: 34ff2951d4
2021-02-15 16:45:13 +01:00
Willem Melching 89f91da1bb qt; fix setup build
old-commit-hash: 105c8d1a40
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: 43db36d829
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: caf8f85ee9
2021-02-12 09:48:15 +01:00
Adeeb Shihadeh 2950af53b5 use gpsOK flag from locationd
old-commit-hash: b3cf60cd0b
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: ab0456c0eb
2021-02-09 17:23:46 -08:00
Willem Melching c73523efc9 ui.cc: fix divide by zero
old-commit-hash: 2fc1104e8b
2021-02-09 16:31:54 +01:00
Willem Melching 8aa18de0b7 dont print slow frame on pc
old-commit-hash: 7054a9d237
2021-02-09 16:29:05 +01:00
Dean Lee 0aa14e0b72 ui.cc: replace s->scene with scene (#20045)
old-commit-hash: 204add6952
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: c2aefab553
2021-02-08 12:06:14 +01:00
Dean Lee 766302fabe removed margin paramater from car_space_to_full_frame (#20017)
old-commit-hash: 40919a6f48
2021-02-07 18:00:56 -08:00
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbd
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: 3dc45554d7
2021-02-05 22:13:32 -08:00
Adeeb Shihadeh 10bf2690f1 fix font weights in qt ui
old-commit-hash: d75ff15048
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: 54b59783cb
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: a7fe4560a6
2021-02-05 12:12:33 -08:00
Adeeb Shihadeh f1530e6739 swap factory reset order
old-commit-hash: a94bf25d6f
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: 000bd226aa
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: c22d6e315d
2021-02-01 16:10:15 -08:00
grekiki 0b4151df44 Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
old-commit-hash: cc1308c7df
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: f54ecc2779
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh 07747aea97 blue bg in training guide
old-commit-hash: 4a03d1cb64
2021-01-29 13:41:48 -08:00
Adeeb Shihadeh 48282f36a4 cleanup training guide
old-commit-hash: d3756bc475
2021-01-29 13:21:10 -08:00
grekiki 9518779d56 Qt training guide (#19953)
* initial commit

* background kind of works

* checkpoint

* temp

* add images

* all works

* remove some files

* rename

* enable restart

* remove first

* lfs try1

* refactor labels

* remove nonneeded code

* centered

* more centering

* don't hardcode the training version

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c5762456e1
2021-01-29 17:54:00 +01:00
grekiki 21f94c284d Wifi correct ip (#19961)
old-commit-hash: 82b894c645
2021-01-29 16:22:35 +01:00
Comma Device a2f322de6e match driverView with new model
old-commit-hash: 75d0802804
2021-01-28 13:44:12 -08:00
Dean Lee 41c117bba0 keyboard.cc: get value by reference in ranged based loop (#19950)
old-commit-hash: a48ab6130c
2021-01-28 11:35:38 -08:00
Dean Lee 34952f246e draw lead indicator in 3D (#19793)
* lead indicator in 3D

* more

* Update selfdrive/ui/ui.cc

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6bd9e5ca6a
2021-01-28 15:53:24 +01:00
Dean Lee 7a086b3f3d convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
old-commit-hash: 6583206ed4
2021-01-28 14:47:05 +01:00
Adeeb Shihadeh c221eff09c fix qt UI after #19762
old-commit-hash: b2bc9dcc1e
2021-01-27 23:00:14 -08:00
Dean Lee acc39a8c5f UI: handle alert in function update_alert (#19762)
* handle alert in function update_alert

* use sm->updated

* typo
old-commit-hash: af4ac70cb8
2021-01-27 14:16:51 -08:00
Comma Device e6e7fa0883 wifi connecting is not hidden any more
old-commit-hash: e0b38c0278
2021-01-27 12:56:11 +00:00
grekiki 3ea2e2788b minor wifi improvements (#19938)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea642aa0cb
2021-01-27 13:43:28 +01:00
grekiki 2ebacdc364 Add Github SSH keys (#19879)
old-commit-hash: 7408569c1b
2021-01-27 12:07:17 +01:00
Willem Melching 1b1b680bc6 qt: default token validity 1 hour
old-commit-hash: b80b33a941
2021-01-25 16:14:19 +01:00
Adeeb Shihadeh 1021ce3073 fix qt onboarding text color
old-commit-hash: 406ceb2ab2
2021-01-22 13:34:27 -08:00
Dean Lee 32dfaa9b2a UI: cleanup draw_alerts condition (#19875)
old-commit-hash: 8b4731ffc8
2021-01-22 12:16:45 -08:00
Dean Lee f920e1cd33 ui: remove satelliteCount (#19878)
old-commit-hash: 9efc499ed9
2021-01-22 15:40:53 +01:00
Willem Melching bbba320d22 qt ui: remove line between poweroff/reboot
old-commit-hash: c9aa9b0178
2021-01-22 14:38:16 +01:00
grekiki bf39eb50ad qt ui: don't refresh wifi widget if it is not visible (#19876)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 621a6c16a4
2021-01-22 14:36:42 +01:00
Willem Melching 8fa0f285f3 qt ui: fix segfault if networkmanager is not running
old-commit-hash: cafb19d375
2021-01-22 14:34:49 +01:00
Willem Melching cb4cc2ffa6 qt ui: slow frame warning
old-commit-hash: e11b677e01
2021-01-22 14:26:35 +01:00
grekiki eea78cd686 Qt parents3 (#19870)
Not just parents, we also made the UI look nicer. 
old-commit-hash: 2eb81aa1d3
2021-01-22 13:51:26 +01:00
Adeeb Shihadeh 05737dd550 move Qr code lib to phonelibs (#19871)
old-commit-hash: e54db636f7
2021-01-21 11:17:21 -08:00