Kevin Robert Keegan
347583d423
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.
3 years ago
Adeeb Shihadeh
3e9cb7fa12
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
3 years ago
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
.
3 years ago
Dean Lee
bca92a95cc
ui: fix lead vertex coordinates ( #23550 )
3 years ago
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
3 years ago
Dean Lee
6bd0e4b087
ui: fix invalid line vertices on startup ( #23541 )
3 years ago
Dean Lee
43a2674ffc
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
3 years ago
Dean Lee
39d904d2aa
ui/networking: combine connect functions into one ( #23522 )
3 years ago
Dean Lee
75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
3 years ago
Dean Lee
785180d234
MainWindow::eventFilter: add static keyword for evts ( #23521 )
3 years ago
Dean Lee
6dbae9593e
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
85dcfbbf36
update comment ( #23495 )
3 years ago
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>
3 years ago
Willem Melching
c4b36ce11e
Revert "ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )"
...
This reverts commit f561d84c62
.
3 years ago
Dean Lee
86d730774d
replay: handle abort in getRemoteFileSize ( #23427 )
3 years ago
Cameron Clough
64caee88eb
replay: add missing import for std::optional ( #23416 )
3 years ago
Willem Melching
8d80c0107f
catch gl_buffer->map() returning nullptr ( #23411 )
3 years ago
Adeeb Shihadeh
25f51470fc
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 5dbdad3276
.
3 years ago
Adeeb Shihadeh
34926dfab5
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit 8655f6df6b
.
3 years ago
Dean Lee
d2948f250b
replay: Add next engagement / disengagement jump capabilities ( #23248 )
...
* seek engament/disengament in qlogs
* cleanup
* cleanup
* little more
* add output
* remove qinfo
* fix typo
* do nothing if tm less than current mono time
* const
* short variable name
* lgtm
3 years ago
Willem Melching
8655f6df6b
cameraview.cc: call glFlush after creating fence
3 years ago
Dean Lee
5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
3 years ago
Dean Lee
cd9813ab6a
UI: run set_brightness in QtConcurrent ( #23326 )
...
* use QFuture
* update at 10 hz
* don't change frequency
3 years ago
Robbe Derks
a1e201ef5a
MUI should be a status bar ( #23287 )
3 years ago
Dean Lee
937a0df57b
replay/logreader: handle abort in load ( #23321 )
...
* handle abort
* handle abort in decompressBZ2
3 years ago
Dean Lee
9295066dac
ui/get_path_length_idx: line_x[i] shoud be less than or equal to path_height ( #23336 )
...
* start loop index from 1
* use islessequal
* use build in <=
3 years ago
Dean Lee
f561d84c62
ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )
3 years ago
Dean Lee
8dd8b1905b
replay tests: retry on network failure ( #23383 )
3 years ago
Dean Lee
21ee6d25c7
ui: emit offroadTransition in UIState::updateStatus ( #23265 )
3 years ago
Dean Lee
2a99bc6dde
ui: update lead's z position if modelV2 has been updated after startup. ( #23355 )
...
* model frame >= started_frame
* remove optional
3 years ago
Dean Lee
1e309a51f5
replay: add flag to disable video ( #23353 )
3 years ago
Dean Lee
58a363e07d
replay/segment: pass member function pointer to QtConcurrent::run ( #23312 )
3 years ago
Dean Lee
de6126ba06
replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed ( #23324 )
...
* add flag REPLAY_FLAG_FULL_SPEED
* use hasFlag
3 years ago
Dean Lee
5fe809b344
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
3 years ago
Dean Lee
21fc9d5375
replay/util: initialize curl at startup ( #23314 )
3 years ago
Dean Lee
c9da1403bc
replay: fix segfault or hanging on quit ( #23323 )
3 years ago
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>
3 years ago
Dean Lee
94e435cede
replay/camera: use existing YUV_BUFFER_COUNT ( #23297 )
4 years ago
Dean Lee
bf4d875c5a
OnroadHud: use function loadPixmap ( #23292 )
4 years ago
cydia2020
db6c477373
use km/h in settings.cc ( #23290 )
4 years ago
Adeeb Shihadeh
6aeb542750
make that consistent with other labels
4 years ago
Dean Lee
50cce27e34
UI: call map::offroadTransition after creating map ( #23283 )
4 years ago
Adeeb Shihadeh
2d8578545f
UI: less harsh controls unresponsive when not engaged
4 years ago
Adeeb Shihadeh
f3e67e0ec2
repeat immediate warning sound
4 years ago
George Hotz
16dd7ce1fe
build for mac ( #23048 )
4 years ago
Adeeb Shihadeh
646fe7de4b
mui
4 years ago
Dean Lee
e4de82f906
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
4 years ago
Dean Lee
768cfdb92a
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
4 years ago
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
4 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
4 years ago