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
Adeeb Shihadeh
07747aea97
blue bg in training guide
...
old-commit-hash: 4a03d1cb648cbfe466b02f114fdab86876f89580
2021-01-29 13:41:48 -08:00
Adeeb Shihadeh
48282f36a4
cleanup training guide
...
old-commit-hash: d3756bc475b38c6343b192444bf3af4d5f387d13
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: c5762456e13ff46bc517ab69c07d94d022cd800b
2021-01-29 17:54:00 +01:00
grekiki
21f94c284d
Wifi correct ip ( #19961 )
...
old-commit-hash: 82b894c645471a409dbb5b76562edc59b0cb62b9
2021-01-29 16:22:35 +01:00
Comma Device
a2f322de6e
match driverView with new model
...
old-commit-hash: 75d0802804500e3f7c785baff14cd6f4caabbd8a
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: a48ab6130c857fce15a5266af93ca5689cc207a4
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: 6bd9e5ca6a67c73be68bbfd38a370f615ce6239a
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: 6583206ed41c9277bb7509bcb66b7d5e058ea5fe
2021-01-28 14:47:05 +01:00
Adeeb Shihadeh
c221eff09c
fix qt UI after #19762
...
old-commit-hash: b2bc9dcc1eee885afff4c339c8a37ad5f80fb88c
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: af4ac70cb823214aa02863a0b5d7202dc4bc9912
2021-01-27 14:16:51 -08:00
Comma Device
e6e7fa0883
wifi connecting is not hidden any more
...
old-commit-hash: e0b38c0278c86b95cc0e0724223f88cdd6b69bf6
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: ea642aa0cb091d881098e8a412930a20004c496c
2021-01-27 13:43:28 +01:00
grekiki
2ebacdc364
Add Github SSH keys ( #19879 )
...
old-commit-hash: 7408569c1b7fc858125c2ec131037ccc407aad3a
2021-01-27 12:07:17 +01:00
Willem Melching
1b1b680bc6
qt: default token validity 1 hour
...
old-commit-hash: b80b33a9415ac4a141b9a15a3b1f1f2292d27470
2021-01-25 16:14:19 +01:00
Adeeb Shihadeh
1021ce3073
fix qt onboarding text color
...
old-commit-hash: 406ceb2ab2adcdc95cdf00b54ec2407070df5c44
2021-01-22 13:34:27 -08:00
Dean Lee
32dfaa9b2a
UI: cleanup draw_alerts condition ( #19875 )
...
old-commit-hash: 8b4731ffc89dbaf06964620f3b8623e24b920f55
2021-01-22 12:16:45 -08:00
Dean Lee
f920e1cd33
ui: remove satelliteCount ( #19878 )
...
old-commit-hash: 9efc499ed9a7e72e17cabd76ca95bab57733c596
2021-01-22 15:40:53 +01:00
Willem Melching
bbba320d22
qt ui: remove line between poweroff/reboot
...
old-commit-hash: c9aa9b0178e19bbc771d627c9132e8c5a0394e33
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: 621a6c16a462fabc4a0696695a1797f8bf5db093
2021-01-22 14:36:42 +01:00
Willem Melching
8fa0f285f3
qt ui: fix segfault if networkmanager is not running
...
old-commit-hash: cafb19d37523f35ef27151e1cbb7a4e7aa79358a
2021-01-22 14:34:49 +01:00
Willem Melching
cb4cc2ffa6
qt ui: slow frame warning
...
old-commit-hash: e11b677e0192dec29b75471f70c3476cb22d9cb8
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: 2eb81aa1d33887bd11083bc4f57e6f51271198f9
2021-01-22 13:51:26 +01:00
Adeeb Shihadeh
05737dd550
move Qr code lib to phonelibs ( #19871 )
...
old-commit-hash: e54db636f7453665d5e8317d9c9fb4c54196dc3e
2021-01-21 11:17:21 -08:00
grekiki
ded5d24781
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.
old-commit-hash: 24356b4a1e972bb516ce837439df4ff7bc2a876f
2021-01-21 13:00:03 +01:00
grekiki
ff0c87d63c
fix LGTM issues ( #19868 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: efe8c54a2ed507ae1d8bf0f87bfeb4409babe661
2021-01-21 12:02:29 +01:00
Adeeb Shihadeh
2f6d59f92a
remove sidebar gps text, we have alerts for this
...
old-commit-hash: 1d98ec8ef93463cf2803bb5d859daa3361c063c1
2021-01-19 15:55:09 -08:00
ZwX1616
d0726d1f7d
face icon reflects DM policy ( #19842 )
...
* send that
* draw icon based on whether active
* Update selfdrive/monitoring/dmonitoringd.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 88430f12f426ada4691de93e0193ab1873df4eb4
2021-01-19 15:11:15 -08:00
Willem Melching
ffeee5c91b
qt ui: sync fps with camera
...
old-commit-hash: 978d0c8964fb3cc0c3c1a9241b6c4bb1fdbad5c9
2021-01-19 14:56:56 +01:00
Willem Melching
749b4ab508
visionipc connect, make sure opengl context is current
...
old-commit-hash: b67fed87baaa093dd6b82ec9b9f3733d745865f6
2021-01-19 14:49:40 +01:00
Willem Melching
b71615fc54
update pairing text
...
old-commit-hash: 7948653605a2085015bfe599da79d15babba1be7
2021-01-19 13:47:36 +01:00
Willem Melching
8e13e2976e
start timer only after ui init
...
old-commit-hash: 06b974512af7e5d5a0bead72f3c4ebe32f9d1815
2021-01-19 12:43:39 +01:00
Adeeb Shihadeh
8227270769
no vehicle was more confusing
...
old-commit-hash: 56dfb3de2dd23f56b96524aeec7fcd6943b10116
2021-01-18 15:51:32 -08:00
grekiki
0c141e45aa
Qt offroad: pairing ( #19675 )
...
* kind of works now
* QR code is now on screen
* testing is needed
* works, waiting for server update
* reduce diff
* refactoring part1
* refactor part2
* refactor part3
* works on PC
* fix build, annoying bug though...
* git is annoying
* more classes, still crashes after a while
* better style
* clearer qr code
* less code and test new ssh key
* no more AA
* rename and collect garbage
* no pairing widget without the internet connection
* No network connection
* more logs
* refactor the network calls
* no more leaking
* works
* cleanup
* spaces
* works on device
* fix merge
* don't run if screen is off
* always initialized
* stats updating, not running without scrren
* formatting
* nicer QR code
* ensure the registration
* no qr code if no IMEI or no HWSerial
* all works
* refactor
* better networking
* all functionality seems to work
* small cleanup
* get serial once
* Small cleanup
* No internet text
* Don't crash if private key not found
* no network should say so
* new qr code every 30 minutes
* 20FPS sidebar
* more responsive networking and QR
* more logs
* no log spam
* fix merge
* no running onroad
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 10bd761cd6fb59f8113f88cc4dc764fbc4f5abf2
2021-01-18 12:07:55 +01:00
Dean Lee
f0fce01b85
use std::map for images ( #19768 )
...
* use std::map for fonts&images
* rebase master
* use std::string
* remove cmp_str
* Update selfdrive/ui/paint.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 1796f63211abfde48164bfebfcc99d35d8288e6d
2021-01-16 13:50:06 -08:00
Dean Lee
b6e19ce5ab
Remove spaces ( #19779 )
...
old-commit-hash: d7fad16c20d79120d83feeee2c18f46efa3f4279
2021-01-15 22:17:58 -08:00
Dean Lee
c3043515d8
text.c->text.cc ( #19734 )
...
old-commit-hash: c5c9b6f7123e573f6c3171c5d5843fcfc8af5dcd
2021-01-15 13:42:26 -08:00
Dean Lee
dc8a64227e
qt/home.cc: set fb_w&fb_h in function framebuffer_init,same as android ( #19765 )
...
old-commit-hash: 7a6ec83a367e1dd2bfc8dba7c17261b3cfbbe2b1
2021-01-15 11:57:26 +01:00
Dean Lee
3c9142a709
UI: refactor transform ( #19658 )
...
* refactor transform
* always draw chevron if there is a lead
* remove nvgSave&nvgRestore
* keep one point outside the screen
* zoom chevron
* more size
* still use margin
* still use margin
old-commit-hash: cc2d62a938349c2caea68510434f25aa368414d4
2021-01-15 11:41:20 +01:00
Dean Lee
a6e3036aea
Use Rect as the parameter of draw_rect ( #19696 )
...
* Use rect as the parameter of draw_rect
* add function ui_fill_rect
* simplify
* rebase master
* apply review
old-commit-hash: fcfba42c59126281204e1bd5bbd27d8164eca2e4
2021-01-15 11:15:48 +01:00
Dean Lee
bc232d4346
ui.cc: rename update related functions ( #19761 )
...
* rename functions
* Trigger Build
old-commit-hash: 64d224b16c42ae7fb38e2b418304f35e72bef043
2021-01-15 11:14:18 +01:00
Adeeb Shihadeh
781accd0b3
fix camera malfunction alert ( #19757 )
...
* fix camera alert malfunction
* remove old alert
old-commit-hash: 40830a216b70e4a68c0cb1d3495dde2f8e1eaa8b
2021-01-14 16:03:16 -08:00
Dean Lee
ad696592ec
remove read_param from ui_init ( #19745 )
...
old-commit-hash: cf2585adf671c5777b8cedcf44d04614e0161845
2021-01-13 09:53:45 -08:00
Dean Lee
74dc639515
convert glutil.c to gltuil.cc & add class GLShader ( #19720 )
...
* c++ glutil
* function getUniformLocation
* rebase master
old-commit-hash: cef469cbed1d835e70e952d06e1fd8b4eabca450
2021-01-12 15:43:34 +01:00
Dean Lee
4b15f8a12d
Refactor image texture stuff into class ( #19719 )
...
* Refactor image texture stuff into class
* cleanup
* Update selfdrive/common/visionimg.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: b3107e153cca4aa98b623b80fdd13b8446f76d1c
2021-01-11 15:52:58 +01:00
Willem Melching
ab5eef3a12
ui.cc: fix driverview ( #19723 )
...
old-commit-hash: 92257e4dfff411cd981ef7bad964531813d3f37f
2021-01-11 14:51:21 +01:00
Dean Lee
aac74810a7
ui.cc: cleanup includes ( #19704 )
...
old-commit-hash: ccff89386150bd177a7ed6c85a41d2b9ee622068
2021-01-10 21:48:49 -08:00
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135bb79c8b23eb8339ae768ca7b6a822f8
2021-01-10 14:57:32 -08:00