Commit Graph

225 Commits

Author SHA1 Message Date
Dean Lee c1cde2d148 UI: add function ui_read_params (#19565)
* ui_read_params

* remove last_athena_ping from UIState

* use s->sm->frame
2020-12-21 18:44:23 -08:00
Dean Lee a56bbe1671 Sound: destructor should be virtual too (#19570)
* destructor should be virtual too

* empty commit, trigger tests
2020-12-21 13:22:50 -08:00
Dean Lee ff0d9c074f ui: delete the variable do_exit that is no longer used (#19551) 2020-12-20 21:33:44 -08:00
Adeeb Shihadeh c0b1518a9b Qt settings: highlight selected nav button 2020-12-20 21:18:11 -08:00
Adeeb Shihadeh 3c00e6792c build nui with scons (#19561)
* it builds

* cleanup

* remove that
2020-12-20 19:39:59 -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 717e49019f increase controls alert timeout 2020-12-17 15:22:55 -08:00
Comma Device 1ea307a299 factory reset -> system reset 2020-12-15 23:35:55 +00:00
Comma Device 54c6931b5c fix camera malfunction ui timeout 2020-12-15 14:16:47 -08:00
Dean Lee 1ee8287705 cleanup camera malfunction alert (#2751)
* cleanup alert

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

* confirmation

* better ui
2020-12-14 19:49:01 -08:00
Willem Melching 11fb6efba2 add optional margin to car_space_to_full_frame check 2020-12-14 14:09:26 +01:00
Willem Melching bbc289b671 paint.cc: fix y offset 2020-12-14 13:38:00 +01:00
komma zwei 41bc3c558e increase startup timeout for camera malfunction 2020-12-11 20:07:27 -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
ZwX1616 257c5f9d94 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>
2020-12-09 20:05:47 -08:00
Willem Melching 3d2fec6c9a dont init wifi widget if there is no adapter 2020-12-08 16:33:00 +01:00
Dean Lee 232cb25683 small cleanup (#2715) 2020-12-08 14:20:06 +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
Willem Melching fcb3ed727b set y offset to zero for now 2020-12-04 18:07:51 +01:00
Willem Melching 35baefa72e Add y offset to video (#2694)
* add y offset to video

* Also reduce zoom
2020-12-04 16:29:12 +01: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
Adeeb Shihadeh c01e2df2c0 setup rest of installers 2020-12-01 11:36:18 -08:00
grekiki a5132e44f9 small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-12-01 11:12:54 -08:00
grekiki 744a3317e3 Offroad alerts (#2664)
We now have a working offroad alerts
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh b3ba65d6a4 fix setup installer download 2020-11-30 23:32:08 -08:00
Adeeb Shihadeh 8de4adac61 qt setup keyboard (#2663)
* add keyboard for custom url

* it works

* cleanup
2020-11-30 23:21:40 -08:00
Adeeb Shihadeh 6a2678aae7 add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh d00f1692b7 move that to two init 2020-11-30 17:02:24 -08:00
Adeeb Shihadeh 7560e67b3d add user agent to installer 2020-11-30 16:57:41 -08:00
Adeeb Shihadeh ff91d30b16 more margin 2020-11-30 16:55:56 -08:00
George Hotz 6159906e5f remove ui sidebar hint (#2662)
Co-authored-by: Comma Device <device@comma.ai>
2020-11-30 16:22:42 -08:00
Adeeb Shihadeh b9c14c92a7 no gl inside nvg frame 2020-11-27 14:25:52 -08:00
Adeeb Shihadeh f66fac1a0b quick toggles cleanup 2020-11-27 09:33:52 -08:00
grekiki 61884d2c50 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
2020-11-27 17:55:07 +01:00
grekiki c52e3dfb08 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.
2020-11-26 16:22:14 +01:00
grekiki 54afae7147 pad vlayout (#2626) 2020-11-26 11:52:27 +01:00
grekiki 7d37793434 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.
2020-11-25 20:32:52 +01:00
grekiki 3abc3aadcb didn't build on device 2020-11-25 14:27:28 +01:00
Adeeb Shihadeh c8ab38a8a8 small onboarding cleanup 2020-11-25 00:01:05 -08:00
Adeeb Shihadeh 394dc66a19 stacked widget 2020-11-24 23:49:20 -08:00