Commit Graph

331 Commits

Author SHA1 Message Date
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
Willem Melching 7054a9d237 dont print slow frame on pc 2021-02-09 16:29:05 +01:00
Dean Lee 204add6952 ui.cc: replace s->scene with scene (#20045) 2021-02-09 11:42:11 +01:00
Dean Lee c2aefab553 UI: remove struct track_vertices_data (#20018)
* remove struct track_vertices_data

* space

* rebase master
2021-02-08 12:06:14 +01:00
Dean Lee 40919a6f48 removed margin paramater from car_space_to_full_frame (#20017) 2021-02-07 18:00:56 -08:00
Adeeb Shihadeh f9d8652cbd Qt UI refactoring + improvements (#20033) 2021-02-07 17:33:48 -08:00
Adeeb Shihadeh 3dc45554d7 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>
2021-02-05 22:13:32 -08:00
Adeeb Shihadeh d75ff15048 fix font weights in qt ui 2021-02-05 17:50:19 -08:00
Adeeb Shihadeh 54b59783cb show sat count in sidebar (#20028)
* show sat count in sidebar

* fix

* revert that

Co-authored-by: Comma Device <device@comma.ai>
2021-02-05 14:15:02 -08:00
Dean Lee a7fe4560a6 move global SET_SPEED_NA to function that uses it (#20026) 2021-02-05 12:12:33 -08:00
Adeeb Shihadeh a94bf25d6f swap factory reset order 2021-02-05 00:06:57 -08:00
Adeeb Shihadeh 000bd226aa Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
2021-02-03 19:57:30 -08:00
Dean Lee c22d6e315d 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>
2021-02-01 16:10:15 -08:00
grekiki cc1308c7df Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
2021-02-01 19:46:03 +01:00
Dean Lee f54ecc2779 UI: function update_status (#19679)
* update_status

* reformat switch

* set s->started in update_status

* space

* rebase master
2021-01-30 18:21:54 -08:00
Adeeb Shihadeh 4a03d1cb64 blue bg in training guide 2021-01-29 13:41:48 -08:00
Adeeb Shihadeh d3756bc475 cleanup training guide 2021-01-29 13:21:10 -08:00
grekiki c5762456e1 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>
2021-01-29 17:54:00 +01:00
grekiki 82b894c645 Wifi correct ip (#19961) 2021-01-29 16:22:35 +01:00
Comma Device 75d0802804 match driverView with new model 2021-01-28 13:44:12 -08:00
Dean Lee a48ab6130c keyboard.cc: get value by reference in ranged based loop (#19950) 2021-01-28 11:35:38 -08:00
Dean Lee 6bd9e5ca6a 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>
2021-01-28 15:53:24 +01:00
Dean Lee 6583206ed4 convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

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

* use sm->updated

* typo
2021-01-27 14:16:51 -08:00
Comma Device e0b38c0278 wifi connecting is not hidden any more 2021-01-27 12:56:11 +00:00
grekiki ea642aa0cb minor wifi improvements (#19938)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-27 13:43:28 +01:00
grekiki 7408569c1b Add Github SSH keys (#19879) 2021-01-27 12:07:17 +01:00
Willem Melching b80b33a941 qt: default token validity 1 hour 2021-01-25 16:14:19 +01:00
Adeeb Shihadeh 406ceb2ab2 fix qt onboarding text color 2021-01-22 13:34:27 -08:00
Dean Lee 8b4731ffc8 UI: cleanup draw_alerts condition (#19875) 2021-01-22 12:16:45 -08:00
Dean Lee 9efc499ed9 ui: remove satelliteCount (#19878) 2021-01-22 15:40:53 +01:00
Willem Melching c9aa9b0178 qt ui: remove line between poweroff/reboot 2021-01-22 14:38:16 +01:00
grekiki 621a6c16a4 qt ui: don't refresh wifi widget if it is not visible (#19876)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-22 14:36:42 +01:00
Willem Melching cafb19d375 qt ui: fix segfault if networkmanager is not running 2021-01-22 14:34:49 +01:00
Willem Melching e11b677e01 qt ui: slow frame warning 2021-01-22 14:26:35 +01:00
grekiki 2eb81aa1d3 Qt parents3 (#19870)
Not just parents, we also made the UI look nicer.
2021-01-22 13:51:26 +01:00
Adeeb Shihadeh e54db636f7 move Qr code lib to phonelibs (#19871) 2021-01-21 11:17:21 -08:00
grekiki 24356b4a1e Hotspot password (#19854)
Now there is a possibility of changing a tethering password. The WiFi UI was also modified, so it should look nicer now.
2021-01-21 13:00:03 +01:00