Commit Graph

271 Commits

Author SHA1 Message Date
Adeeb Shihadeh c20cd542eb uninstall from qt offroad (#19538)
* more offroad

* implement uninstall

* just uninstall for now
old-commit-hash: 8d9be50bcc
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh 6371eda194 build Qt UI with clazy (#19537)
* clazy, level0

* level1
old-commit-hash: 069189fd7f
2020-12-18 19:26:59 -08:00
Adeeb Shihadeh 99b06dd837 offroad home styling and cleanup
old-commit-hash: a36632cc39
2020-12-18 16:40:23 -08:00
grekiki 9f0611507e 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>
old-commit-hash: 5b26c97141
2020-12-18 13:29:20 +01:00
Comma Device 9a18d887dc increase controls alert timeout
old-commit-hash: 717e49019f
2020-12-17 15:22:55 -08:00
Comma Device be077d0885 factory reset -> system reset
old-commit-hash: 1ea307a299
2020-12-15 23:35:55 +00:00
Comma Device 80c5bfb44c fix camera malfunction ui timeout
old-commit-hash: 54c6931b5c
2020-12-15 14:16:47 -08:00
Dean Lee b81e9d63ae cleanup camera malfunction alert (#2751)
* cleanup alert

* move ui_draw_vision_alert out of ui_draw_vision
old-commit-hash: 1ee8287705
2020-12-15 13:06:22 -08:00
Willem Melching 69a8855010 paint.cc: lower y offset
old-commit-hash: 93cc7335fc
2020-12-15 14:47:53 +01:00
Adeeb Shihadeh ab1b8754dc Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
old-commit-hash: c4a05ba369
2020-12-14 19:49:01 -08:00
Willem Melching 79275c08e1 add optional margin to car_space_to_full_frame check
old-commit-hash: 11fb6efba2
2020-12-14 14:09:26 +01:00
Willem Melching 2edf720d53 paint.cc: fix y offset
old-commit-hash: bbc289b671
2020-12-14 13:38:00 +01:00
komma zwei 2fd54d6f1b increase startup timeout for camera malfunction
old-commit-hash: 41bc3c558e
2020-12-11 20:07:27 -08:00
grekiki 99ee2a9459 WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network. 
old-commit-hash: c16c8f3c2c
2020-12-11 00:29:31 +01:00
grekiki 55bd34e8a5 Dynamically colored alert widget. (#2717)
blue background on update

old-commit-hash: bffdfd5303
2020-12-10 23:39:15 +01:00
grekiki 3bc7286704 Add label if no network manager is found (#2718)
old-commit-hash: f96fb625d9
2020-12-10 19:04:19 +01:00
ZwX1616 8ab6ec02ad road camera malfunction alert (#2697)
* camera unresponsive

* blue and remove loge

* simplify

* should override to avoid blank screen

* let it be

* stop sound

Co-authored-by: WXEon <device@comma.ai>
old-commit-hash: 257c5f9d94
2020-12-09 20:05:47 -08:00
Willem Melching 16bb8fcf54 dont init wifi widget if there is no adapter
old-commit-hash: 3d2fec6c9a
2020-12-08 16:33:00 +01:00
Dean Lee e89e1a185c small cleanup (#2715)
old-commit-hash: 232cb25683
2020-12-08 14:20:06 +01:00
grekiki 2e07e45bed 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>
old-commit-hash: 3e466aa528
2020-12-08 12:00:51 +01:00
grekiki c76d239a8e 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. 
old-commit-hash: ec671d4741
2020-12-07 12:55:17 +01:00
Adeeb Shihadeh 672d0d4727 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>
old-commit-hash: 8320a153fb
2020-12-04 15:21:55 -08:00
Willem Melching 95e839d6c8 set y offset to zero for now
old-commit-hash: fcb3ed727b
2020-12-04 18:07:51 +01:00
Willem Melching 995950c77b Add y offset to video (#2694)
* add y offset to video

* Also reduce zoom
old-commit-hash: 35baefa72e
2020-12-04 16:29:12 +01:00
Adeeb Shihadeh 86dd0f5df1 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
old-commit-hash: fed642c4ed
2020-12-02 20:47:47 -08:00
Adeeb Shihadeh 07d7d650d9 setup rest of installers
old-commit-hash: c01e2df2c0
2020-12-01 11:36:18 -08:00
grekiki 1a686500fe small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a5132e44f9
2020-12-01 11:12:54 -08:00
grekiki e4b5b9a297 Offroad alerts (#2664)
We now have a working offroad alerts

old-commit-hash: 744a3317e3
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh bc4fd60f20 fix setup installer download
old-commit-hash: b3ba65d6a4
2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 74814dfb75 qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
old-commit-hash: 8de4adac61
2020-11-30 23:21:40 -08:00
Adeeb Shihadeh fa147c5d6e add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
old-commit-hash: 6a2678aae7
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh 089843bf3c move that to two init
old-commit-hash: d00f1692b7
2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 8f26c0bff9 add user agent to installer
old-commit-hash: 7560e67b3d
2020-11-30 16:57:41 -08:00
Adeeb Shihadeh be22459f4a more margin
old-commit-hash: ff91d30b16
2020-11-30 16:55:56 -08:00
George Hotz b3e7154ab1 remove ui sidebar hint (#2662)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6159906e5f
2020-11-30 16:22:42 -08:00
Adeeb Shihadeh c6b35839d6 no gl inside nvg frame
old-commit-hash: b9c14c92a7
2020-11-27 14:25:52 -08:00
Adeeb Shihadeh d1e04999c1 quick toggles cleanup
old-commit-hash: f66fac1a0b
2020-11-27 09:33:52 -08:00
grekiki 3bfc92bafc Qt ui: improve toggle buttons (#2639)
* works, but is still a bit ugly

* works

* looks much better now

* fix compile error

* reduce diff

* write to params

* cleanup
old-commit-hash: 61884d2c50
2020-11-27 17:55:07 +01:00
grekiki 98a3cabdf2 wider keyboard (#2629)
The keyboard now signals when it wants to open. By subscribing to this signal we can close the sidebar to make the keyboard larger. We also increase the key size to make it easier to type on. 
old-commit-hash: c52e3dfb08
2020-11-26 16:22:14 +01:00
grekiki 7593c41f4f pad vlayout (#2626)
old-commit-hash: 54afae7147
2020-11-26 11:52:27 +01:00
grekiki f1bd6ebe19 Wifi improvements (#2618)
We now detect wrong passwrods and request the correct password from the user. We also write "CONNECTING" if we are actively connecting to a network.

For a tiny usability upgrade, we now display "Refreshing networks" text, while loading the wifi networks available around us.
old-commit-hash: 7d37793434
2020-11-25 20:32:52 +01:00
grekiki 023643f222 didn't build on device
old-commit-hash: 3abc3aadcb
2020-11-25 14:27:28 +01:00
Adeeb Shihadeh e9f6e1cb33 small onboarding cleanup
old-commit-hash: c8ab38a8a8
2020-11-25 00:01:05 -08:00
Adeeb Shihadeh e71eb9caae stacked widget
old-commit-hash: 394dc66a19
2020-11-24 23:49:20 -08:00
Adeeb Shihadeh a6e08cc46b new and improved text window
old-commit-hash: 696c3cd58c
2020-11-24 23:30:36 -08:00
Adeeb Shihadeh 12e6f7a607 Qt cleanup (#2622)
* scale

* contain weston hack in one file

* rest

* no show

* missed one
old-commit-hash: efc30f4a83
2020-11-24 22:07:03 -08:00
Willem Melching fcccf3aaf2 Qt ui: make sure ui_state is initialzed to 0
old-commit-hash: 97f9277ba6
2020-11-24 13:59:26 +01:00
Willem Melching 97fe386b3a Qt ui: fix onboarding
old-commit-hash: 99ea3ef178
2020-11-24 13:53:15 +01:00
Willem Melching 45e99acbb6 qt ui: dont resize window on start
old-commit-hash: 899902de8f
2020-11-24 13:36:56 +01:00
grekiki f2d7e497f8 Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
old-commit-hash: f6ed146e8f
2020-11-23 22:56:56 +01:00