Commit Graph

146 Commits

Author SHA1 Message Date
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
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
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
Willem Melching 8aa18de0b7 dont print slow frame on pc
old-commit-hash: 7054a9d2371a5a71da10f87a8babfd7db1a560d1
2021-02-09 16:29:05 +01:00
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -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 f1530e6739 swap factory reset order
old-commit-hash: a94bf25d6f12621502c721812a431ee84ab533cc
2021-02-05 00:06:57 -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
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
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 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
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
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
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
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 b6e19ce5ab Remove spaces (#19779)
old-commit-hash: d7fad16c20d79120d83feeee2c18f46efa3f4279
2021-01-15 22:17:58 -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 4c1919f41e merge utilpp.h into util.h (#19710)
old-commit-hash: 595830135bb79c8b23eb8339ae768ca7b6a822f8
2021-01-10 14:57:32 -08:00
Willem Melching 3f950832b9 VisionIPC 2.0 (#19641)
* Squashed vipc

* Update release files

* Remove else

* add visionipc to release files

* use poller in vipc receive

* opencl framework instead of lib on macos

* Fix camera webcam

* Fix opencl on mac in ui

* more webcam fixes

* typo in ui sconsfile

* Use cur_yuv_buf

* visionbuf c++ class

* Camera qcom was still using visionbuf_allocate

* Turn loggerd back on

* fix snapshot

* No build needed

* update test camerad

* no more release callback

* make encoder c++

* Revert "no more release callback"

This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.

* fix exit handlers

* No need to check errno

* move release callback call

* s/VIPCBufExtra/VisionIpcBufExtra/g

* use non blocking connect

* ui use non blocking connect

* Lower condition variable wait time

* Snapshot cleanup

* bump cereal

* bump cereal
old-commit-hash: fb496c692a9ebdcda15069a8d4eb95734b587d68
2021-01-08 14:54:25 +01:00
Comma Device cac209e172 qt reset and setup improvements
old-commit-hash: b8aa250efb1392c79fbdb218c49d4346ab493dce
2021-01-08 01:36:29 +00:00
Willem Melching 40a74fe136 round close button
old-commit-hash: 493937d2d90ba6ed6512975e9821b777ffe1a65c
2021-01-04 11:28:28 +01:00
Willem Melching 17280ef5ef offroad alerts: put back reboot button
old-commit-hash: 0cf3da17be09b5cb5f3d4ea2aee5e7d927be9281
2021-01-04 11:24:06 +01:00
Willem Melching 9407ec9cfb Nicer blue/red colors offroad alert button
old-commit-hash: 250f285894d2dfb1cd4315e92ee4e7b3c98cfb39
2021-01-04 10:33:43 +01:00
Dean Lee 0ac1e659da UI:shorten variable name (#19633)
old-commit-hash: 0c4e2fadc82feee5a83ca03f05a6246b544d86ea
2021-01-03 12:25:24 -08:00
Comma Device fb17404dda square looks better
old-commit-hash: 3e34b67715db285dcdb9a87113efbfd55cd4fa36
2020-12-30 18:08:18 +00:00
Adeeb Shihadeh e580b248b6 tici: fix backlight timer interval
old-commit-hash: 0300eb3849609de4e8975b4c939e79ba9605b11a
2020-12-30 01:19:49 -08:00
Adeeb Shihadeh 7dd876805f offroad home style (#19593)
* make drive stats look nicer

* offroad alerts style

* rest of alerts

* move that

* fix up colors

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ce48d3c91eb66924ca20c0bcbd14a74e88207997
2020-12-25 01:02:47 -08:00
Adeeb Shihadeh 6e03a66575 make wifi settings a bit nicer
old-commit-hash: b7adecdf59dc520f2ff9f11ae806ab7cbe17fe1c
2020-12-24 14:31:13 -08:00