Adeeb Shihadeh
1ce647b0a6
UI: body support ( #24079 )
...
* body ui template
* faces
* abs
* not raw
* auto switch
* check that
* no smoosh
* cmath
old-commit-hash: b51deb97d162f724df5e7469cdef2615a0a23a0e
2022-04-01 15:12:54 -07:00
George Hotz
05be126142
sidebar: the word SEARCHING didn't fit
...
old-commit-hash: f3d390bdfa03098efe9465796db10e32ec3b1452
2022-03-31 18:57:00 -07:00
Willem Melching
619b88c1f4
api.cc: expose error type in requestDone signal ( #24064 )
...
* put error in requestDone
* only check in tools
old-commit-hash: 34a8a5ea76d05432ee24f5d2a2307b74ad755971
2022-03-30 12:12:33 +02:00
Shane Smiskol
5f4ac6cb96
ui: grey border and alert when pre-enabling ( #24057 )
...
* make border and alert grey when overriding
revert cereal
* no state machine changes
* typo
old-commit-hash: 8e34ddc70e988e5ee142e0749c2e4cf5052237a0
2022-03-28 20:03:52 -07:00
Shane Smiskol
d2f8c085c0
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 f66aac85a01135d68d0c51ad4c383b7cd23ef86f.
* add comment
* add new step18
* final fixes
* pixel perfect
old-commit-hash: 405ecbced38e27e1b5ce14b30042b6ccb9acf254
2022-03-25 17:04:53 -07:00
Adeeb Shihadeh
9f2a58e9c4
UI: better lag logging ( #24042 )
...
* UI: better lag logging
* remove print
old-commit-hash: 67e3a2c39ae17e55c5faacce1949599178b3e30e
2022-03-25 13:52:37 -07:00
Shane Smiskol
769c76a773
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 >
old-commit-hash: 4802c864d5ccfc606c7392a73ead858a5a2a2bcf
2022-03-25 13:52:22 -07:00
Cameron Clough
b4cc54b278
replay: fix wrong format code in print ( #24006 )
...
old-commit-hash: 602cbfcba0ff005e5847e846a4e1c9ae5881c84b
2022-03-20 16:53:42 -07:00
Igor Biletskyy
8db72d15f0
onroad UI: show negative speed ( #23987 )
...
* show negative speed
* remove ()
old-commit-hash: 62087a6368efb5fee555aa0b3b2458e721b87b68
2022-03-17 13:17:33 -07:00
Gijs Koning
cedd8abc05
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 >
old-commit-hash: 57b6fdc17a1f84ec922647c044da5df3cafc0ddc
2022-03-14 14:03:54 -07:00
Lee Jong Mun
247dff5621
ui: white color define ( #23930 )
...
old-commit-hash: 0b47800e74b02b0c6897a3950c6ff2f5fe22d895
2022-03-09 11:24:56 +01:00
royjr
388ae5e59e
UI: remove redundant condition ( #23918 )
...
old-commit-hash: 82bc052dc631512f3cf871c1dc4b5c2be1cab052
2022-03-07 09:57:32 -08:00
Willem Melching
7e12817e02
MacOS: ensure 1:1 rendering on HiDPI screens ( #23860 )
...
old-commit-hash: ca8d4e417e53e5869ad77e8bfd5da62a78a88de3
2022-02-25 14:36:27 +01:00
Willem Melching
1597a03cec
Fix watch3 on mac ( #23834 )
...
old-commit-hash: a03685c3f93d5c9909ea0f5aee2542be5b0a8eb8
2022-02-23 14:31:28 +01:00
Willem Melching
760564da61
replay: use VideoToolbox HW decoder on Mac ( #23832 )
...
* replay: support VideoToolbox HW decoding
* rename flag
* remove debug assert
old-commit-hash: dc7de79dc9d546465030acab1df1d9cc36e1d4d6
2022-02-23 13:52:50 +01:00
Willem Melching
33a4fda7fd
replay: use QCoreApplication ( #23831 )
...
old-commit-hash: df88280e0fa2f3b7799c48306c6ce9abdf3ebfb4
2022-02-23 13:34:31 +01:00
Willem Melching
d4f372cfd7
Update raw_logger/framereader to new new ffmpeg api ( #23799 )
...
* Update raw_logger/framereader to new new ffmpeg api
* Can be removed now
* Handled by avcodec_free_context
* handle EAGAIN and clean up
old-commit-hash: 724bab8ef3aaad2c69b53fafc68f7afa0ebbe659
2022-02-21 16:39:32 +01:00
Adeeb Shihadeh
6ca0269f47
same check
...
old-commit-hash: 95da47079510afc91665263619e5939126da637c
2022-02-15 16:44:13 -08:00
Adeeb Shihadeh
b695ffbfdb
UI: fix power buttons disable logic ( #23774 )
...
old-commit-hash: 00d469dbc9d5ab8237247f7036892fe74c5e3c8a
2022-02-15 16:18:09 -08:00
Willem Melching
3de449a993
nav: set settings stack based on uiState.prime_type ( #23770 )
...
* nav: set settings stack based on uiState.prime_type
* also show on success
old-commit-hash: f8c81103fc1dc98b0403a89c549947a9777f87ce
2022-02-15 16:39:10 +01:00
Willem Melching
06add8928d
nav: handle route responses with duplicate points ( #23769 )
...
old-commit-hash: 14f7a7825151ab55975a24f53e4178fb7a595bea
2022-02-15 16:14:57 +01:00
Willem Melching
5d55924fac
ui: fix onroad transition with active nav ( #23757 )
...
old-commit-hash: e76ef93a833396dba4e3478966f9b48894c08638
2022-02-14 13:55:30 +01:00
Lee Jong Mun
c5e11d7491
missing optional include ( #23749 )
...
old-commit-hash: ab9fb0541df1d3455060a24c3093f463a752951e
2022-02-11 12:08:09 +01:00
Willem Melching
8e2c273be8
fix UI segfault when starting onroad and receiving radarState before modelV2 ( #23739 )
...
old-commit-hash: 955c7435f80ccfebd33b32ca3d6f2f40f18b044b
2022-02-10 13:52:03 +01:00
Willem Melching
30a0b40b5d
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
old-commit-hash: 4e4cb07297485eac378058c6b4e60901e10cbd15
2022-02-09 20:27:58 +01:00
Shane Smiskol
85b57ccbfc
scons: fix duplicate environments with test flag ( #23702 )
...
* fix duplicate environments when built with --test
* lib
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e5005b8f44a2eedeb88348d9f476b0f4d09db3f0
2022-02-06 14:08:02 -08:00
Dean Lee
fab73e6e9f
remove trailing whitespaces ( #23716 )
...
old-commit-hash: 786152f0f125f9c78dc129cab8f24a98d93f36a1
2022-02-06 10:42:41 -08:00
Dean Lee
d76c70cb2f
WifiManager: fix crash if no wifi device found ( #23701 )
...
old-commit-hash: 4e0c08c0a6b700d2532e80e6c35e208fca86c5b6
2022-02-03 15:33:29 -08:00
Jason Wen
e2b296f0ae
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 >
old-commit-hash: 4715510e918ce31f07170965aebc32ee41c263fc
2022-02-03 15:32:57 -08:00
Jonathan Frey
9ae66079f7
replay: fix pause key doc ( #23697 )
...
old-commit-hash: a39e635b5ce271738504abaa84d060c7b26206c0
2022-02-03 09:59:07 -08:00
Adeeb Shihadeh
c491f3fc2c
for those who want to live in the moment
...
old-commit-hash: e6d8a845782e1b902b2966edb3c39c882e735b97
2022-01-31 14:30:40 -08:00
Adeeb Shihadeh
9b9d6ce772
setup: add OS version to user agent ( #23656 )
...
old-commit-hash: e9cd0a059c0985e16bdd64eeffb1791c1001088c
2022-01-28 14:21:37 -08:00
Dean Lee
1dae4aef54
replay: fix wrong logging for local route ( #23652 )
...
old-commit-hash: fa3a787e9a1294f1d0521d0c4bd27e952bb1d381
2022-01-28 12:03:19 -08:00
Dean Lee
212935863a
replay: add test case for local route ( #23650 )
...
* add test for local route
* retry download on network error
* sleep 500ms before retry
* read 100 frames
* read more segments from route
* add REQUIRE
old-commit-hash: 520c99a050bba537e0b39e311b19f4fe22cf7ee9
2022-01-28 12:02:29 -08:00
Dean Lee
d6292e7c08
replay: cleanup functions ( #23655 )
...
* cleanup function seek
* cleanup signals&slots
* use false
* add comment back
old-commit-hash: 2f9144138243b18ddd22eb541dd98f0a166e8cb4
2022-01-28 12:02:11 -08:00
Dean Lee
99198156e3
log error on avcodec_receive_frame ( #23649 )
...
old-commit-hash: a901104a96b3df7131d7ff7b0dac490e230bf6b5
2022-01-27 19:35:18 -08:00
Dean Lee
c8b528e850
replay: ncurses GUI ( #23608 )
...
* initial version
* print all message's in ncurses window
* show download progress bar
* move all to class ConsoleUI
* timeline
* improve timeline&stats
* fix logMessage
* add warning indicator
* continue
* cleanup
* cast type to int
* simplify seekToFlag
* more
* <=
* handle enter
* add box to logging window
* fix multiple threads problem
* fix concurrency issues
* draw indicator
* many improvements
* more
* fix multipe threads logging
* stop replay before exit
* use lambda instead of std::bind
* cleanup
* small cleanup
* use carFingerPrint
* don't emit signal in replay::stream
* merge car_events into timeline
* cleanup DonloadStats
* cleanup
* rename carname to carFingerprint
* improve alert
* add comments
* add help functions
templete function
* handle term resize
* display replaying status
* rename to INSTANT
* helper function pauseReplay
* more
* cleanup
use rDebug
* no template
* less colors
* remove function mv_add_str
* use BORDER_SIZE
* tune colors
* add spaces
* apply reviews
use /
old-commit-hash: 3ca8e3653b4dd7552c2cca6d3eb6ed76c98240be
2022-01-27 13:17:41 -08:00
Kevin Robert Keegan
6d8a141938
Use Wide Road Camera as Light Sensor for Screen Brightness ( #23610 )
...
Using the narrow camera as a light sensor meant that the
reflection of our own headlights, tail lights, and head lights
of opposing vehicles dominated the sensor value at night
even though the broader overall scene is very dark.
This has very little effect during daylight hours. The change
affects nightime driving the most, resulting in a dimmer
screen when it is dark.
I think this makes more sense as the wide angle camera's
field of view is much closer to the human eye's field of
view than the narrow road camera.
old-commit-hash: 347583d4238d31dbd042d963b0dd37e3028bbd10
2022-01-25 11:13:59 +01:00
Adeeb Shihadeh
70f1418256
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
old-commit-hash: 3e9cb7fa12b5f686fdcf6122ef5979d01c41f0a3
2022-01-24 14:49:47 -08:00
Dean Lee
0d468d6253
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 c3f1a7cee87804993ce8f5fd5939570a8e9ffd3a.
old-commit-hash: 1e906366f8439e3ef3f4f8fc01e2f2ec0f951a86
2022-01-22 13:49:03 -08:00
Dean Lee
e3cc66beff
ui: fix lead vertex coordinates ( #23550 )
...
old-commit-hash: bca92a95cc9fe3b83ead7ed604ad2f6fd3f8b0c1
2022-01-21 15:14:18 -08:00
Dean Lee
a317526771
ui/networking: async dbus calls ( #23535 )
...
* async dbus calls
* simplify get ip address
* Revert "simplify get ip address"
This reverts commit 7ade7ec57dd0bb76cb3194f94f039498fdcd8881.
* cleanup getConnectionPath()
* remove unused functions
* cleanup
* rename to getIp4Address
* clenup class definition
old-commit-hash: f7932f874de7831b033e41a569cce0e4b3ad129f
2022-01-17 12:12:58 -08:00
Dean Lee
07d1094f84
ui: fix invalid line vertices on startup ( #23541 )
...
old-commit-hash: 6bd0e4b087d63ceda6911009bb5e1984f349a320
2022-01-15 09:09:24 -08:00
Dean Lee
bbb691238a
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
old-commit-hash: 43a2674ffc2e9177126cf2733a62afdb911fbf2d
2022-01-14 11:46:45 -08:00
Dean Lee
a2caf11b9f
ui/networking: combine connect functions into one ( #23522 )
...
old-commit-hash: 39d904d2aa4bff1ecbbe5952851177fbdc0125e8
2022-01-14 08:42:29 -08:00
Dean Lee
47d5114c1f
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
...
old-commit-hash: 75be1223f80d32ba4bfc6b725240b416fc10c9aa
2022-01-14 08:40:39 -08:00
Dean Lee
77b0d4363c
MainWindow::eventFilter: add static keyword for evts ( #23521 )
...
old-commit-hash: 785180d234ddc5d095175b5b270140cd558d1095
2022-01-14 15:28:38 +01:00
Dean Lee
d8f55a81ab
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6dbae9593eae4d2bc55aa34fdde428fbd2933ccf
2022-01-13 19:20:22 -08:00
HaraldSchafer
5aa495c85f
update comment ( #23495 )
...
old-commit-hash: 85dcfbbf360705fc40b048cb256158d89c7dcf98
2022-01-11 18:49:53 -08:00
Willem Melching
c8cb5abfbb
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 >
old-commit-hash: d77782ea931b9fa3e7e2a31628f6ec1d35a47884
2022-01-07 15:24:20 +01:00