Dean Lee
9d0efaaccf
UI: simplify ui_draw_vision_speed ( #19594 )
...
* simplify draw_vision_speed
* use std::nearbyint
* use std::to_string
old-commit-hash: ba4fb80e92145d7c31003b17a758f6a9c6a633c9
2021-01-04 14:18:38 +01:00
Dean Lee
5e30b23c58
UI: reducing CPU usage from 13% to 4% when offroad ( #19575 )
...
* Accurately control the UI frequency
* helper function sleep_for
old-commit-hash: a4afc03a732ab6438a72bda22911bf4532e9e4cd
2021-01-04 13:59:23 +01:00
Dean Lee
23a52deb5b
max_idx should be initialized as -1 ( #19625 )
...
old-commit-hash: 37a43124c0c10909e7906c3fd0c124f31f11dd87
2021-01-04 11:29:31 +01: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
Dean Lee
e1723d7238
ui_draw_chevron: simplify calc size ( #19616 )
...
old-commit-hash: 39bd8c7ce6e7e7f63fd4873cabf164e4c028009c
2020-12-29 14:08: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
Adeeb Shihadeh
4d2ccb3a79
qt settings style ( #19588 )
...
* dark mode
* inter
* frame
* this looks pretty good
* revert that
* fix bg hack
* don't override style sheet
old-commit-hash: 550b5e422f5ee7f7ca23d569cbd58f78bfdda9c5
2020-12-24 14:10:43 -08:00
Dean Lee
f8f6545143
simpilify ui_read_params ( #19585 )
...
* simpilify ui_read_params
* apply review
old-commit-hash: e3ffa91d177d5e9ec8c9735a489b582e71a96e74
2020-12-24 03:01:53 -08:00
Adeeb Shihadeh
c61d1bbce6
spinner: pre-compute rotations
...
old-commit-hash: 1bcc3beae80fd22e9536d8a3538917f327a74085
2020-12-24 01:55:52 -08:00
Dean Lee
c9db9b1fb4
improved handle_display_state ( #19574 )
...
old-commit-hash: e032c310695f935b46f37b4bc6f5777c4de05586
2020-12-23 13:53:39 -08:00
Dean Lee
d731984ad9
don't check dMonitorState's frame if frontview is false ( #19584 )
...
old-commit-hash: 81369a65bb68d150197f28b6a132afbccee1e24a
2020-12-23 11:20:18 -08:00
Mayfield
93d23902da
add start_time parameter to unlogger ( #19573 )
...
* add start_time parameter to unlogger
* fix ui crash
* fix ui build
old-commit-hash: 5864f566df948e073ebe263eb3893ade2f566037
2020-12-21 23:34:24 -08:00
Dean Lee
8fb744e905
UI: add function ui_read_params ( #19565 )
...
* ui_read_params
* remove last_athena_ping from UIState
* use s->sm->frame
old-commit-hash: c1cde2d148a809178bf0accf2ed8536c40f2cb02
2020-12-21 18:44:23 -08:00
Dean Lee
36a283eac4
Sound: destructor should be virtual too ( #19570 )
...
* destructor should be virtual too
* empty commit, trigger tests
old-commit-hash: a56bbe167118881608ac8bfc22bbb6f12f7f4c0d
2020-12-21 13:22:50 -08:00
Dean Lee
ce79fefe7b
ui: delete the variable do_exit that is no longer used ( #19551 )
...
old-commit-hash: ff0d9c074f41eac949aca841b219fc6dd1d547a6
2020-12-20 21:33:44 -08:00
Adeeb Shihadeh
6506655011
Qt settings: highlight selected nav button
...
old-commit-hash: c0b1518a9b8719ac6636a7c8a69b628729f19b7b
2020-12-20 21:18:11 -08:00
Adeeb Shihadeh
5eecc6056f
build nui with scons ( #19561 )
...
* it builds
* cleanup
* remove that
old-commit-hash: 3c00e6792c905bffb5997970fea9b13f43ccf451
2020-12-20 19:39:59 -08:00
Adeeb Shihadeh
d64c3ae436
make onboarding a bit nicer
...
old-commit-hash: d5deaf2e6bf8bf9d9ae5dad4e20b55fed26d0a18
2020-12-20 16:07:33 -08:00
Adeeb Shihadeh
c20cd542eb
uninstall from qt offroad ( #19538 )
...
* more offroad
* implement uninstall
* just uninstall for now
old-commit-hash: 8d9be50bccfecbd0a9f346b3788b667aa00b6e61
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh
6371eda194
build Qt UI with clazy ( #19537 )
...
* clazy, level0
* level1
old-commit-hash: 069189fd7fd9dc677b29725f92fd3b4b80911d8a
2020-12-18 19:26:59 -08:00
Adeeb Shihadeh
99b06dd837
offroad home styling and cleanup
...
old-commit-hash: a36632cc392151165af62e443386489202ef10ae
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: 5b26c97141b65e3bcbddaec7e6526d5f2f1c910e
2020-12-18 13:29:20 +01:00
Comma Device
9a18d887dc
increase controls alert timeout
...
old-commit-hash: 717e49019f7e25c091db74cc59d6fb4bdb792c73
2020-12-17 15:22:55 -08:00
Comma Device
be077d0885
factory reset -> system reset
...
old-commit-hash: 1ea307a2996f16104501bf1d497e202326000dc1
2020-12-15 23:35:55 +00:00
Comma Device
80c5bfb44c
fix camera malfunction ui timeout
...
old-commit-hash: 54c6931b5cbf1bc0e064f9a3c45d012ffcfbfdea
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: 1ee8287705f48015652ef54b50f1b7d6197dd74c
2020-12-15 13:06:22 -08:00
Willem Melching
69a8855010
paint.cc: lower y offset
...
old-commit-hash: 93cc7335fc1ae6035d31a18425ada815cad8a256
2020-12-15 14:47:53 +01:00
Adeeb Shihadeh
ab1b8754dc
Qt system reset ( #19502 )
...
* qt factory reset
* confirmation
* better ui
old-commit-hash: c4a05ba369a0b8ce5df69727999dd33baf8a0fd0
2020-12-14 19:49:01 -08:00
Willem Melching
79275c08e1
add optional margin to car_space_to_full_frame check
...
old-commit-hash: 11fb6efba2aa2f9e10ffe3dd35d654662fef5921
2020-12-14 14:09:26 +01:00
Willem Melching
2edf720d53
paint.cc: fix y offset
...
old-commit-hash: bbc289b6711b958336cbaf87edede10050385867
2020-12-14 13:38:00 +01:00
komma zwei
2fd54d6f1b
increase startup timeout for camera malfunction
...
old-commit-hash: 41bc3c558ea2ae676f9b3add8b86e9c2a7c2ae0b
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: c16c8f3c2c0c9cd982dd96c769f760185b837da8
2020-12-11 00:29:31 +01:00
grekiki
55bd34e8a5
Dynamically colored alert widget. ( #2717 )
...
blue background on update
old-commit-hash: bffdfd5303879bd70416a2c998ca8a71f3bf674a
2020-12-10 23:39:15 +01:00
grekiki
3bc7286704
Add label if no network manager is found ( #2718 )
...
old-commit-hash: f96fb625d929701717670bbe7be8791aa204bf02
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: 257c5f9d946b1392ce205140b4bb24843968976e
2020-12-09 20:05:47 -08:00
Willem Melching
16bb8fcf54
dont init wifi widget if there is no adapter
...
old-commit-hash: 3d2fec6c9ad7e682404ff1481d11df43c1c03bf4
2020-12-08 16:33:00 +01:00
Dean Lee
e89e1a185c
small cleanup ( #2715 )
...
old-commit-hash: 232cb25683ef59a4cc1ce6a7a98eeb57a78a9968
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: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
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: ec671d47412838b40cedab19e738e6227419590b
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: 8320a153fb530f973669fa1aafa693a17d4ef035
2020-12-04 15:21:55 -08:00
Willem Melching
95e839d6c8
set y offset to zero for now
...
old-commit-hash: fcb3ed727b84af644fc10abc12c5855b51fa6df3
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: 35baefa72e5c5e180e6f8b1a67616fb7db4cfc4a
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: fed642c4ed2fd668360bef480da8f0b7a8559916
2020-12-02 20:47:47 -08:00
Adeeb Shihadeh
07d7d650d9
setup rest of installers
...
old-commit-hash: c01e2df2c07cd6de484303113c06825ced2b97f3
2020-12-01 11:36:18 -08:00