Commit Graph

236 Commits

Author SHA1 Message Date
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
Dean Lee 39bd8c7ce6 ui_draw_chevron: simplify calc size (#19616) 2020-12-29 14:08: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
Dean Lee e3ffa91d17 simpilify ui_read_params (#19585)
* simpilify ui_read_params

* apply review
2020-12-24 03:01:53 -08:00
Adeeb Shihadeh 1bcc3beae8 spinner: pre-compute rotations 2020-12-24 01:55:52 -08:00
Dean Lee e032c31069 improved handle_display_state (#19574) 2020-12-23 13:53:39 -08:00
Dean Lee 81369a65bb don't check dMonitorState's frame if frontview is false (#19584) 2020-12-23 11:20:18 -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
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