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: 347583d423
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: 3e9cb7fa12
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: 1e906366f8
2022-01-22 13:49:03 -08:00
Dean Lee
e3cc66beff
ui: fix lead vertex coordinates ( #23550 )
...
old-commit-hash: bca92a95cc
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: f7932f874d
2022-01-17 12:12:58 -08:00
Dean Lee
07d1094f84
ui: fix invalid line vertices on startup ( #23541 )
...
old-commit-hash: 6bd0e4b087
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: 43a2674ffc
2022-01-14 11:46:45 -08:00
Dean Lee
a2caf11b9f
ui/networking: combine connect functions into one ( #23522 )
...
old-commit-hash: 39d904d2aa
2022-01-14 08:42:29 -08:00
Dean Lee
47d5114c1f
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
...
old-commit-hash: 75be1223f8
2022-01-14 08:40:39 -08:00
Dean Lee
77b0d4363c
MainWindow::eventFilter: add static keyword for evts ( #23521 )
...
old-commit-hash: 785180d234
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: 6dbae9593e
2022-01-13 19:20:22 -08:00
HaraldSchafer
5aa495c85f
update comment ( #23495 )
...
old-commit-hash: 85dcfbbf36
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: d77782ea93
2022-01-07 15:24:20 +01:00
Willem Melching
016b5e1d01
Revert "ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )"
...
This reverts commit 939898a2cd498dc7f30b0d56782abd3e03108ff7.
old-commit-hash: c4b36ce11e
2022-01-07 14:31:23 +01:00
Dean Lee
1f0b5a6bc0
replay: handle abort in getRemoteFileSize ( #23427 )
...
old-commit-hash: 86d730774d
2022-01-06 15:56:14 +01:00
Cameron Clough
6d714fb21a
replay: add missing import for std::optional ( #23416 )
...
old-commit-hash: 64caee88eb
2022-01-05 09:19:51 -08:00
Willem Melching
8c1fe7647a
catch gl_buffer->map() returning nullptr ( #23411 )
...
old-commit-hash: 8d80c0107f
2022-01-05 14:23:57 +01:00
Adeeb Shihadeh
097110ba41
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 7fcde6809582c5b8ddfe5a60723d70f9eae1d5de.
old-commit-hash: 25f51470fc
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh
7c960e6a94
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit eac4c3cab90890e39b4a6009c59d023fb21997b8.
old-commit-hash: 34926dfab5
2022-01-04 20:16:42 -08:00
Dean Lee
10ce89d1ae
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
old-commit-hash: d2948f250b
2022-01-04 16:02:04 +01:00
Willem Melching
0c24902e05
cameraview.cc: call glFlush after creating fence
...
old-commit-hash: 8655f6df6b
2022-01-04 15:55:28 +01:00
Dean Lee
1c61ba82b6
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
old-commit-hash: 5dbdad3276
2022-01-04 14:14:38 +01:00
Dean Lee
336d37e95c
UI: run set_brightness in QtConcurrent ( #23326 )
...
* use QFuture
* update at 10 hz
* don't change frequency
old-commit-hash: cd9813ab6a
2022-01-04 14:03:27 +01:00
Robbe Derks
db09713cb7
MUI should be a status bar ( #23287 )
...
old-commit-hash: a1e201ef5a
2022-01-04 12:15:18 +01:00
Dean Lee
84481c134b
replay/logreader: handle abort in load ( #23321 )
...
* handle abort
* handle abort in decompressBZ2
old-commit-hash: 937a0df57b
2022-01-04 12:06:23 +01:00
Dean Lee
b756c89d38
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 <=
old-commit-hash: 9295066dac
2022-01-04 12:04:52 +01:00
Dean Lee
36b506c880
ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )
...
old-commit-hash: f561d84c62
2022-01-04 11:39:18 +01:00
Dean Lee
fef9d05507
replay tests: retry on network failure ( #23383 )
...
old-commit-hash: 8dd8b1905b
2022-01-03 20:10:57 -08:00
Dean Lee
2701743349
ui: emit offroadTransition in UIState::updateStatus ( #23265 )
...
old-commit-hash: 21ee6d25c7
2022-01-03 17:35:05 -08:00
Dean Lee
64ba111cbb
ui: update lead's z position if modelV2 has been updated after startup. ( #23355 )
...
* model frame >= started_frame
* remove optional
old-commit-hash: 2a99bc6dde
2022-01-03 14:37:36 -08:00
Dean Lee
2a3a9e0bef
replay: add flag to disable video ( #23353 )
...
old-commit-hash: 1e309a51f5
2022-01-02 11:54:49 -08:00
Dean Lee
ed55910aa9
replay/segment: pass member function pointer to QtConcurrent::run ( #23312 )
...
old-commit-hash: 58a363e07d
2021-12-28 11:38:31 +01:00
Dean Lee
9191452120
replay: add flag REPLAY_FLAG_FULL_SPEED to play at full speed ( #23324 )
...
* add flag REPLAY_FLAG_FULL_SPEED
* use hasFlag
old-commit-hash: de6126ba06
2021-12-28 11:37:33 +01:00
Dean Lee
70b297f5db
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
old-commit-hash: 5fe809b344
2021-12-27 23:50:24 -08:00
Dean Lee
1860d9c18c
replay/util: initialize curl at startup ( #23314 )
...
old-commit-hash: 21fc9d5375
2021-12-27 13:22:42 -08:00
Dean Lee
446e59d10f
replay: fix segfault or hanging on quit ( #23323 )
...
old-commit-hash: c9da1403bc
2021-12-27 13:02:18 -08:00
Ewout ter Hoeven
f206ebd054
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 >
old-commit-hash: 332f568a82
2021-12-24 11:18:39 -08:00
Dean Lee
7c71bc1b98
replay/camera: use existing YUV_BUFFER_COUNT ( #23297 )
...
old-commit-hash: 94e435cede
2021-12-22 20:36:16 -08:00
Dean Lee
d30f82421d
OnroadHud: use function loadPixmap ( #23292 )
...
old-commit-hash: bf4d875c5a
2021-12-22 10:10:24 -08:00
cydia2020
af8143a333
use km/h in settings.cc ( #23290 )
...
old-commit-hash: db6c477373
2021-12-22 09:37:33 -08:00
Adeeb Shihadeh
2296b5727e
make that consistent with other labels
...
old-commit-hash: 6aeb542750
2021-12-21 16:38:18 -08:00
Dean Lee
54a3a91628
UI: call map::offroadTransition after creating map ( #23283 )
...
old-commit-hash: 50cce27e34
2021-12-21 11:06:45 -08:00
Adeeb Shihadeh
487f8cdeaf
UI: less harsh controls unresponsive when not engaged
...
old-commit-hash: 2d8578545f
2021-12-20 23:56:25 -08:00
Adeeb Shihadeh
7d4c84dcaf
repeat immediate warning sound
...
old-commit-hash: f3e67e0ec2
2021-12-20 23:16:16 -08:00
George Hotz
6bac4f1c4a
build for mac ( #23048 )
...
old-commit-hash: 16dd7ce1fe
2021-12-18 22:00:09 -08:00
Adeeb Shihadeh
02aafc42c3
mui
...
old-commit-hash: 646fe7de4b
2021-12-18 15:11:29 -08:00
Dean Lee
9321e1bb6c
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
...
old-commit-hash: e4de82f906
2021-12-17 21:37:29 -08:00
Dean Lee
20c50f8f51
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
old-commit-hash: 768cfdb92a
2021-12-15 16:19:07 -08:00
Dean Lee
d5e9c7ecf1
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
old-commit-hash: 5810583d57
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh
85ff2fe9cb
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit 720e3a73e7befe597bb94f93e41f8f294431ba65.
old-commit-hash: 472177e2a8
2021-12-15 09:58:25 -08:00