Commit Graph

688 Commits (master)

Author SHA1 Message Date
Shane Smiskol 405ecbced3
Training guide updates (#24033)
* add new images

* update boxes

* copy updates and fix checkmark spacing

* update wide images and boxes

* tune path and smaller triangle

* tune bounding boxes

* clean up

* same triangle as c3

* revert panda

* optimize images

* Revert "revert panda"

This reverts commit f66aac85a0.

* add comment

* add new step18

* final fixes

* pixel perfect
2022-03-25 17:04:53 -07:00
Adeeb Shihadeh 67e3a2c39a
UI: better lag logging (#24042)
* UI: better lag logging

* remove print
2022-03-25 13:52:37 -07:00
Shane Smiskol 4802c864d5
ui: repaint toggles after offroadTransition (#24038)
* repaint after offroadTransition

* Update selfdrive/ui/qt/widgets/controls.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-25 13:52:22 -07:00
Igor Biletskyy 62087a6368
onroad UI: show negative speed (#23987)
* show negative speed

* remove ()
2022-03-17 13:17:33 -07:00
Gijs Koning 57b6fdc17a
Rename RGB vision streams to match YUV streams (#23961)
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER

* little more

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-14 14:03:54 -07:00
Lee Jong Mun 0b47800e74
ui: white color define (#23930) 2022-03-09 11:24:56 +01:00
royjr 82bc052dc6
UI: remove redundant condition (#23918) 2022-03-07 09:57:32 -08:00
Willem Melching ca8d4e417e
MacOS: ensure 1:1 rendering on HiDPI screens (#23860) 2022-02-25 14:36:27 +01:00
Adeeb Shihadeh 95da470795 same check 2022-02-15 16:44:13 -08:00
Adeeb Shihadeh 00d469dbc9
UI: fix power buttons disable logic (#23774) 2022-02-15 16:18:09 -08:00
Willem Melching f8c81103fc
nav: set settings stack based on uiState.prime_type (#23770)
* nav: set settings stack based on uiState.prime_type

* also show on success
2022-02-15 16:39:10 +01:00
Willem Melching 14f7a78251
nav: handle route responses with duplicate points (#23769) 2022-02-15 16:14:57 +01:00
Willem Melching e76ef93a83
ui: fix onroad transition with active nav (#23757) 2022-02-14 13:55:30 +01:00
Lee Jong Mun ab9fb0541d
missing optional include (#23749) 2022-02-11 12:08:09 +01:00
Willem Melching 4e4cb07297
ui: configure tethering based on prime type (#23733)
* Store prime type in param

* set tethering metric based on prime type

* update existing connections

* returning zero is fine

* always set

* add callback on activate

* call systemctl

* match server enum

* add delay

* assume field is there

* snake case
2022-02-09 20:27:58 +01:00
Dean Lee 786152f0f1
remove trailing whitespaces (#23716) 2022-02-06 10:42:41 -08:00
Dean Lee 4e0c08c0a6
WifiManager: fix crash if no wifi device found (#23701) 2022-02-03 15:33:29 -08:00
Jason Wen 4715510e91
UI: hide power off button on C3 while onroad (#23689)
* Grey out power button while onroad - comma three only

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-02-03 15:32:57 -08:00
Adeeb Shihadeh e6d8a84578 for those who want to live in the moment 2022-01-31 14:30:40 -08:00
Adeeb Shihadeh e9cd0a059c
setup: add OS version to user agent (#23656) 2022-01-28 14:21:37 -08:00
Adeeb Shihadeh 3e9cb7fa12
remove community features toggle (#23214)
* remove community features toggle

* bump cereal

* little more

* update refs
2022-01-24 14:49:47 -08:00
Dean Lee 1e906366f8
ui/setup: check http status code (#23597)
* check resp code

* always cleanup curl and close file

* curl_global_init

* space

* cleaner

* Revert "curl_global_init"

This reverts commit c3f1a7cee8.
2022-01-22 13:49:03 -08:00
Dean Lee bca92a95cc
ui: fix lead vertex coordinates (#23550) 2022-01-21 15:14:18 -08:00
Dean Lee f7932f874d
ui/networking: async dbus calls (#23535)
* async dbus calls

* simplify get ip address

* Revert "simplify get ip address"

This reverts commit 7ade7ec57d.

* cleanup getConnectionPath()

* remove unused functions

* cleanup

* rename to getIp4Address

* clenup class definition
2022-01-17 12:12:58 -08:00
Dean Lee 43a2674ffc
ui/networking: simplify dbus calls with a helper function (#23531)
* simplify d-bus calls

* move template function to source file
2022-01-14 11:46:45 -08:00
Dean Lee 39d904d2aa
ui/networking: combine connect functions into one (#23522) 2022-01-14 08:42:29 -08:00
Dean Lee 75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget (#23523) 2022-01-14 08:40:39 -08:00
Dean Lee 785180d234
MainWindow::eventFilter: add static keyword for evts (#23521) 2022-01-14 15:28:38 +01:00
Dean Lee 6dbae9593e
UI: reset interactivity timeout on PC (#23508)
* reset interactive timeout on pc

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-13 19:20:22 -08:00
HaraldSchafer 85dcfbbf36
update comment (#23495) 2022-01-11 18:49:53 -08:00
Willem Melching d77782ea93
CameraView: sync pbo with glFence instead of calling glFinish (#23409)
* CameraView: sync pbo with glFence instead of calling glFinish (#23293)

* Sync pbo with fence

* use std::unique_ptr

* cameraview.cc: call glFlush after creating fence

Co-authored-by: Dean Lee <deanlee3@gmail.com>
2022-01-07 15:24:20 +01:00
Willem Melching 8d80c0107f
catch gl_buffer->map() returning nullptr (#23411) 2022-01-05 14:23:57 +01:00
Adeeb Shihadeh 25f51470fc Revert "CameraView: sync pbo with glFence instead of calling glFinish (#23293)"
This reverts commit 5dbdad3276.
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh 34926dfab5 Revert "cameraview.cc: call glFlush after creating fence"
This reverts commit 8655f6df6b.
2022-01-04 20:16:42 -08:00
Willem Melching 8655f6df6b cameraview.cc: call glFlush after creating fence 2022-01-04 15:55:28 +01:00
Dean Lee 5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish (#23293)
* Sync pbo with fence

* use std::unique_ptr
2022-01-04 14:14:38 +01:00
Dean Lee 5fe809b344
ui: set the bg color of controllerUnresponsivePermanent to blue (#23308)
* fix bg color

* blue
2021-12-27 23:50:24 -08:00
Ewout ter Hoeven 332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305)
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
2021-12-24 11:18:39 -08:00
Dean Lee bf4d875c5a
OnroadHud: use function loadPixmap (#23292) 2021-12-22 10:10:24 -08:00
cydia2020 db6c477373
use km/h in settings.cc (#23290) 2021-12-22 09:37:33 -08:00
Adeeb Shihadeh 6aeb542750 make that consistent with other labels 2021-12-21 16:38:18 -08:00
Dean Lee 50cce27e34
UI: call map::offroadTransition after creating map (#23283) 2021-12-21 11:06:45 -08:00
George Hotz 16dd7ce1fe
build for mac (#23048) 2021-12-18 22:00:09 -08:00
Dean Lee e4de82f906
ui: remove variable world_objects_visible, use rcv_frame (#23264) 2021-12-17 21:37:29 -08:00
Dean Lee 5810583d57
UI: always clear CameraView background (#23231)
* fix background

* gate that with Hardware::EON

* always call glclear
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh 472177e2a8 Revert "Qt/SetingWindow: faster initialization and painting (#21764)"
This reverts commit f482354e4e.
2021-12-15 09:58:25 -08:00
Dean Lee 75687169eb
qt/util: new function scaledPixmap (#23103)
* new function scaledPixmap

* rename to loadpixmap
2021-12-14 22:58:47 -08:00
Dean Lee 2483fc5d5d
ui: singleton uistate (#22789)
* singleton uistate

* merge master

* merge master

* merge master

* connect uistate in sidebar

* move to device
2021-12-14 22:28:12 -08:00
Shane Smiskol c84310c94c
seems to be flipped (#23213) 2021-12-14 12:17:02 -08:00
Dean Lee 084ef39489
C2: display ip address in network panel (#23215)
* display ipv4 address

* refactor to class

* only display ip address
2021-12-14 12:14:51 +01:00