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
3 years ago
Dean Lee
1f0b5a6bc0
replay: handle abort in getRemoteFileSize ( #23427 )
...
old-commit-hash: 86d730774d
3 years ago
Cameron Clough
6d714fb21a
replay: add missing import for std::optional ( #23416 )
...
old-commit-hash: 64caee88eb
3 years ago
Willem Melching
8c1fe7647a
catch gl_buffer->map() returning nullptr ( #23411 )
...
old-commit-hash: 8d80c0107f
3 years ago
Adeeb Shihadeh
097110ba41
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 7fcde6809582c5b8ddfe5a60723d70f9eae1d5de.
old-commit-hash: 25f51470fc
3 years ago
Adeeb Shihadeh
7c960e6a94
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit eac4c3cab90890e39b4a6009c59d023fb21997b8.
old-commit-hash: 34926dfab5
3 years ago
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
3 years ago
Willem Melching
0c24902e05
cameraview.cc: call glFlush after creating fence
...
old-commit-hash: 8655f6df6b
3 years ago
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
3 years ago
Dean Lee
336d37e95c
UI: run set_brightness in QtConcurrent ( #23326 )
...
* use QFuture
* update at 10 hz
* don't change frequency
old-commit-hash: cd9813ab6a
3 years ago
Robbe Derks
db09713cb7
MUI should be a status bar ( #23287 )
...
old-commit-hash: a1e201ef5a
3 years ago
Dean Lee
84481c134b
replay/logreader: handle abort in load ( #23321 )
...
* handle abort
* handle abort in decompressBZ2
old-commit-hash: 937a0df57b
3 years ago
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
3 years ago
Dean Lee
36b506c880
ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )
...
old-commit-hash: f561d84c62
3 years ago
Dean Lee
fef9d05507
replay tests: retry on network failure ( #23383 )
...
old-commit-hash: 8dd8b1905b
3 years ago
Dean Lee
2701743349
ui: emit offroadTransition in UIState::updateStatus ( #23265 )
...
old-commit-hash: 21ee6d25c7
3 years ago
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
3 years ago
Dean Lee
2a3a9e0bef
replay: add flag to disable video ( #23353 )
...
old-commit-hash: 1e309a51f5
3 years ago
Dean Lee
ed55910aa9
replay/segment: pass member function pointer to QtConcurrent::run ( #23312 )
...
old-commit-hash: 58a363e07d
3 years ago
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
3 years ago
Dean Lee
70b297f5db
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
old-commit-hash: 5fe809b344
3 years ago
Dean Lee
1860d9c18c
replay/util: initialize curl at startup ( #23314 )
...
old-commit-hash: 21fc9d5375
3 years ago
Dean Lee
446e59d10f
replay: fix segfault or hanging on quit ( #23323 )
...
old-commit-hash: c9da1403bc
3 years ago
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
3 years ago
Dean Lee
7c71bc1b98
replay/camera: use existing YUV_BUFFER_COUNT ( #23297 )
...
old-commit-hash: 94e435cede
3 years ago
Dean Lee
d30f82421d
OnroadHud: use function loadPixmap ( #23292 )
...
old-commit-hash: bf4d875c5a
3 years ago
cydia2020
af8143a333
use km/h in settings.cc ( #23290 )
...
old-commit-hash: db6c477373
3 years ago
Adeeb Shihadeh
2296b5727e
make that consistent with other labels
...
old-commit-hash: 6aeb542750
3 years ago
Dean Lee
54a3a91628
UI: call map::offroadTransition after creating map ( #23283 )
...
old-commit-hash: 50cce27e34
3 years ago
Adeeb Shihadeh
487f8cdeaf
UI: less harsh controls unresponsive when not engaged
...
old-commit-hash: 2d8578545f
3 years ago
Adeeb Shihadeh
7d4c84dcaf
repeat immediate warning sound
...
old-commit-hash: f3e67e0ec2
3 years ago
George Hotz
6bac4f1c4a
build for mac ( #23048 )
...
old-commit-hash: 16dd7ce1fe
3 years ago
Adeeb Shihadeh
02aafc42c3
mui
...
old-commit-hash: 646fe7de4b
3 years ago
Dean Lee
9321e1bb6c
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
...
old-commit-hash: e4de82f906
3 years ago
Dean Lee
20c50f8f51
framereader: use the same alignement as visionbuf ( #23208 )
...
* aligned rgb buffer
* fix yuv stride
old-commit-hash: 768cfdb92a
3 years ago
Dean Lee
d5e9c7ecf1
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
old-commit-hash: 5810583d57
3 years ago
Adeeb Shihadeh
85ff2fe9cb
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit 720e3a73e7befe597bb94f93e41f8f294431ba65.
old-commit-hash: 472177e2a8
3 years ago
Dean Lee
f0eb7a5402
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
old-commit-hash: 75687169eb
3 years ago
Dean Lee
1fc1819c2b
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
old-commit-hash: 2483fc5d5d
3 years ago
Shane Smiskol
c413152da3
seems to be flipped ( #23213 )
...
old-commit-hash: c84310c94c
3 years ago
Dean Lee
31bf68c622
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
old-commit-hash: 084ef39489
3 years ago
Dean Lee
c031c1a8d4
UI: add timeout to close settings window while onroad ( #22980 )
...
* refactor updateWakefulness
* don't hide sidebar
* rename reset->reset_timeout
* move related variables and functions into class Device
* reset timeout in ctor
* set timeout to 10s if ignition is on
* cleanup
* remove unused QTimer *timer
* check getTimestamp
* keep socket reading in update_state
* keep filtering
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c5dbee4e58
3 years ago
Dean Lee
b462e5584f
move LayoutWidget,ClickableWidget to controls ( #23207 )
...
old-commit-hash: d4b8cba0f6
3 years ago
Adeeb Shihadeh
0bcb3936ad
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: df5b374033
3 years ago
Dean Lee
b7e08ff8fd
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
old-commit-hash: f482354e4e
3 years ago
Dean Lee
066528dc2b
replay: use std::unique_ptr to manage memory, reuse events buffer. ( #23049 )
...
* reuse events buffer
* Trigger Build
old-commit-hash: 8a84263c2d
3 years ago
Adeeb Shihadeh
e3e9a6402b
Revert "soundd: use setLoopCount(0) to stop repeating sound ( #23076 )"
...
This reverts commit 27bcef8a3846acc7664a26e30a1284abb9fd8752.
old-commit-hash: d28622f8d3
3 years ago
Dean Lee
22a334b224
limit style scope ( #23181 )
...
old-commit-hash: 2335a20584
3 years ago
Willem Melching
bc267926ce
dmonitoring/DriverView: get crop_rect & transform by video size ( #23169 )
...
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014 )
* keep rounding the same
Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: f93d89b888
3 years ago
Adeeb Shihadeh
2063ff2d71
UI: remove burn in prevention ( #23173 )
...
old-commit-hash: 755ec71c05
3 years ago