Commit Graph

127 Commits

Author SHA1 Message Date
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
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
grekiki efe8c54a2e fix LGTM issues (#19868)
Co-authored-by: Comma Device <device@comma.ai>
2021-01-21 12:02:29 +01:00
Willem Melching 978d0c8964 qt ui: sync fps with camera 2021-01-19 14:56:56 +01:00
Willem Melching b67fed87ba visionipc connect, make sure opengl context is current 2021-01-19 14:49:40 +01:00
Willem Melching 7948653605 update pairing text 2021-01-19 13:47:36 +01:00
Willem Melching 06b974512a start timer only after ui init 2021-01-19 12:43:39 +01:00
grekiki 10bd761cd6 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>
2021-01-18 12:07:55 +01:00
Dean Lee d7fad16c20 Remove spaces (#19779) 2021-01-15 22:17:58 -08:00
Dean Lee 7a6ec83a36 qt/home.cc: set fb_w&fb_h in function framebuffer_init,same as android (#19765) 2021-01-15 11:57:26 +01:00
Dean Lee 595830135b merge utilpp.h into util.h (#19710) 2021-01-10 14:57:32 -08:00
Willem Melching fb496c692a 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
2021-01-08 14:54:25 +01:00
Comma Device b8aa250efb qt reset and setup improvements 2021-01-08 01:36:29 +00:00
Willem Melching 493937d2d9 round close button 2021-01-04 11:28:28 +01:00
Willem Melching 0cf3da17be offroad alerts: put back reboot button 2021-01-04 11:24:06 +01:00
Willem Melching 250f285894 Nicer blue/red colors offroad alert button 2021-01-04 10:33:43 +01:00
Dean Lee 0c4e2fadc8 UI:shorten variable name (#19633) 2021-01-03 12:25:24 -08:00
Comma Device 3e34b67715 square looks better 2020-12-30 18:08:18 +00:00
Adeeb Shihadeh 0300eb3849 tici: fix backlight timer interval 2020-12-30 01:19:49 -08:00
Adeeb Shihadeh ce48d3c91e 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>
2020-12-25 01:02:47 -08:00
Adeeb Shihadeh b7adecdf59 make wifi settings a bit nicer 2020-12-24 14:31:13 -08:00
Adeeb Shihadeh 550b5e422f qt settings style (#19588)
* dark mode

* inter

* frame

* this looks pretty good

* revert that

* fix bg hack

* don't override style sheet
2020-12-24 14:10:43 -08:00
Adeeb Shihadeh 1bcc3beae8 spinner: pre-compute rotations 2020-12-24 01:55:52 -08:00
Mayfield 5864f566df add start_time parameter to unlogger (#19573)
* add start_time parameter to unlogger

* fix ui crash

* fix ui build
2020-12-21 23:34:24 -08:00
Adeeb Shihadeh c0b1518a9b Qt settings: highlight selected nav button 2020-12-20 21:18:11 -08:00
Adeeb Shihadeh d5deaf2e6b make onboarding a bit nicer 2020-12-20 16:07:33 -08:00
Adeeb Shihadeh 8d9be50bcc uninstall from qt offroad (#19538)
* more offroad

* implement uninstall

* just uninstall for now
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh 069189fd7f build Qt UI with clazy (#19537)
* clazy, level0

* level1
2020-12-18 19:26:59 -08:00
Adeeb Shihadeh a36632cc39 offroad home styling and cleanup 2020-12-18 16:40:23 -08:00
grekiki 5b26c97141 Qt Offroad stats (#19498)
* probably broke a lot, need the commit though

* finally works

* make it work...

* ...

* kind of works

* better styling

* all should work

* tiny cleanup

* temp

* looks nicer

* create JWT in C++

* kilometers -> km

* use correct free methods

* dont put code in assert statement

* Build JWT payload dynamically

* get dongle id once

* include cleanup

* Remove qDebug

* Update drive_stats.cc

Github is a nice editor :)

* swap week and all and fix sconscript

* install openssl

* openssl include dirs on mac

* is this where openssl is?

* It's here

* small cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:29:20 +01:00
Comma Device 1ea307a299 factory reset -> system reset 2020-12-15 23:35:55 +00:00
Adeeb Shihadeh c4a05ba369 Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
2020-12-14 19:49:01 -08:00
grekiki c16c8f3c2c WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network.
2020-12-11 00:29:31 +01:00
grekiki bffdfd5303 Dynamically colored alert widget. (#2717)
blue background on update
2020-12-10 23:39:15 +01:00
grekiki f96fb625d9 Add label if no network manager is found (#2718) 2020-12-10 19:04:19 +01:00
Willem Melching 3d2fec6c9a dont init wifi widget if there is no adapter 2020-12-08 16:33:00 +01:00
grekiki 3e466aa528 UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized

* some spaces and a comment

* more spaces

* const

Co-authored-by: Comma Device <device@comma.ai>
2020-12-08 12:00:51 +01:00
grekiki ec671d4741 Tethering (#2676)
We can now enable tethering on the device. The user still has to reconnect to the wifi network after disabling tethering, the network manager is lazy.
2020-12-07 12:55:17 +01:00
Adeeb Shihadeh 8320a153fb move offroad alerts to home screen (#2681)
* move offroad alerts to home screen

* offroad aletrs work, but sidebar doesn't look nice

* fix sidebar

* looks better

* cleanup

* little bigger

Co-authored-by: grekiki <gregor1234567890@gmail.com>
2020-12-04 15:21:55 -08:00
Adeeb Shihadeh fed642c4ed Qt offroad home screen (#2672)
* some cleanup first

* home sweet home

* basic home screen

* date

* fix touch

* fix mac

* hide when onroad

* box layout didn't do what i thought
2020-12-02 20:47:47 -08:00