Dean Lee
7fb038fcf8
refactor FrameReader ( #21141 )
...
* refactor FrameReader
* continue
* move that
* small cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 67fe3feb09
4 years ago
Willem Melching
6f757fdd60
Fetch mapbox token from API ( #21136 )
...
* delay widget creation until going onroad
* let athena fetch mapbox token
* only tici
* add token
* cleaner
* rename slots
* that was missing
old-commit-hash: 21be443499
4 years ago
Dean Lee
10029fb0b9
ui.h: const bg_colors ( #21169 )
...
old-commit-hash: 514111ca85
4 years ago
Willem Melching
879a616ba8
Various nav improvements ( #21133 )
...
* various nav improvements
* use traffic aware routing
* read last position from param
* allow compute without gps when no route
* cleanup
* properly hide route
* set pitch
old-commit-hash: 14f09e4ee1
4 years ago
Adeeb Shihadeh
78d65db218
limit icon flickering in UI ( #21132 )
...
old-commit-hash: 2ddfd82913
4 years ago
Adeeb Shihadeh
61d3b1f177
disable uploading raw by default ( #21128 )
...
old-commit-hash: c76c30fa2d
4 years ago
Adeeb Shihadeh
53be19e8bd
UI: rename developer -> software in settings ( #21117 )
...
old-commit-hash: 895c054213
4 years ago
Adeeb Shihadeh
56e9dbcf99
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9876723169
4 years ago
Adeeb Shihadeh
04e5fbe15e
UI: add button to check for updates ( #21103 )
...
* UI: add button to check for updates
* send signal
* this is better
* that's in the description
* revert that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 65e1d8f633
4 years ago
Willem Melching
387d5b88a0
show 'failed to fetch update' when UpdateFailedCount is updated ( #21096 )
...
* show 'failed to fetch update' when UpdateFailedCount is updated
* update text
old-commit-hash: 867f7d39fd
4 years ago
Adeeb Shihadeh
ddf151dc30
show upload toggle on tici
...
old-commit-hash: c985291e16
4 years ago
Willem Melching
f8c5f2f111
ui: offroad -> while car is off
...
old-commit-hash: f184bae8e0
4 years ago
Willem Melching
8c3d2ed644
Update UI fixes/improvements ( #21089 )
...
* Show latest update time
* utc
* make work more than once
* cleanup
* whitespace
* only while offroad
old-commit-hash: e66bbec52b
4 years ago
Maxime Desroches
88ae07b37b
UI: add missing override identifiers ( #21081 )
...
old-commit-hash: 3c058e0b64
4 years ago
Maxime Desroches
79931cc594
UI: Updated in settings ( #21051 )
...
* last update time + release notes
* remove test
* revert to previous constructor
* change label name
* time format for last update check
* cleanup
* add time formatting function
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e3f6360e45
4 years ago
Willem Melching
c0984ebb97
cleanup brightness params ( #21066 )
...
old-commit-hash: 93424ec6b4
4 years ago
Dean Lee
a436b51e84
move c++ framereader to selfdrive/ui/replay ( #21053 )
...
old-commit-hash: bb5bcc7e49
4 years ago
Willem Melching
6afdeb58f1
Compute on-road screen brightness based on camera exposure ( #21024 )
...
* Compute screen brightness based on camera exposure
* fix up scaling
* remove light sensor completely
* fix gain calculation
* cleanup
* remove comment
* bump offroad brightness
old-commit-hash: 23789c9d4e
4 years ago
Dean Lee
7b253433f2
Refactor FrameReader ( #21002 )
...
* Refactor FrameReader
* decodeThread
* delete frame
* remove joined
* continue
* less diff
* robust cv wait
* cache fist 15 frames
* notify_all
* rename variables
* need call avformat_find_stream_info before dump_format
* get width&height from codec
* use std::string
* delete in removeSegment
* use std::mutex in lockmgr_cb
* fix wrong min/max
* no get in process
* cleanup
* always notify decodeThread to do prefetch
old-commit-hash: 5540dcae78
4 years ago
Adeeb Shihadeh
23ee6342be
coords need to be float
...
old-commit-hash: bc8ac03b15
4 years ago
Adeeb Shihadeh
88fbaf6fd0
nav destination script
...
old-commit-hash: a947be76b0
4 years ago
Comma Device
fc77b88fa9
fix sidebar network type and signal
...
old-commit-hash: 1fd7f66a14
4 years ago
Dean Lee
90d952b218
Sidebar: repaint only when properties updated ( #20929 )
...
* use qt_property
s
* cleanup
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 179ff6e7ae
4 years ago
Willem Melching
53a78620b9
maps: fix pan amount after 2x scaling
...
old-commit-hash: 9c588e6117
4 years ago
Willem Melching
837e9eb290
maps: fix pan and zoom
...
old-commit-hash: 80ffbe9136
4 years ago
Willem Melching
a207482fc7
ecam toggle: clear calibration ( #20987 )
...
* ecam toggle: clear calibration
* whitespace
* no more reboot needed
old-commit-hash: 9bb2209c8e
4 years ago
George Hotz
bf3ba8badc
4G sounds slower than LTE
...
old-commit-hash: d62e007380
4 years ago
Maxime Desroches
778f54057b
UI: add decline page for the Terms and Conditions ( #20919 )
...
* add decline page
* change action + keep the same layout
old-commit-hash: d44ee69b24
4 years ago
Willem Melching
f923f47b98
athenad: reconnect after not receiving ping ( #20974 )
...
* athenad: reconnect after not receiving ping
* make sidebar timeout longer than timeout in athena
* whitespace
old-commit-hash: f9f84fe8a2
4 years ago
Adeeb Shihadeh
d1498aa3d3
replay: fix jwt path on PC
...
old-commit-hash: a394d1017a
4 years ago
George Hotz
6922150ede
Move MCLK from 24 -> 19.2 mhz + Add accuracy in sidebar ( #20960 )
...
* wip
* one day i'll flip that right
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f43671c987
4 years ago
Adeeb Shihadeh
4d137f459f
fix inlcude in setup.cc after include cleanup
...
old-commit-hash: efca6eaa70
4 years ago
Willem Melching
60ac2dd4c0
Update visionIPC stream and intrinsic matrix when going onroad ( #20947 )
...
* Choose correct vipc stream when going onroad
* whitespace
old-commit-hash: ccdec0291d
4 years ago
Willem Melching
19dfb1d1f0
strip whitespace from token
...
old-commit-hash: f9b20095a2
4 years ago
Maxime Desroches
7042222026
Fix Terms and Training guide skip when the screen turns off ( #20942 )
...
old-commit-hash: 553e7d1cce
4 years ago
Willem Melching
efa94a89ff
Mapbox widget ( #20751 )
...
* squash mapbox stuff
* only hacks for pc
* no hack there
* only update when needed
* get destination from param
* no need for user agent
* add athena method
* change nav path color
* layout cleanups
* margin top
* add build scripts
* rename header file
* set pitch
* fix icon blinking
* keep both options
* draw on top to fix last blinking
* only recomput with gps
* fix include
* put map in onroadwidget
* update mapbox plugin to allow specifying directions url
* cycle through views
* dynamic resize
* only when present
* add map_helpers
* whitespace
* small fixes
* let scons decide
* update setup files
* implicit dependency
* fix alerts
* Update selfdrive/ui/SConscript
* move clearLayout to util.h
* only build when map.cc present
* move maps to own folder
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 86aefbe766
4 years ago
Dean Lee
5609f32cee
Cleanup includes ( #20925 )
...
* remove #include <pthread.h>
* remove #include<stdbool.h> for cc files
* remove #include<iostream>
old-commit-hash: 0495426535
4 years ago
Dean Lee
8d2dc5b18c
MainWindow: use static QSet for filter_events ( #20924 )
...
old-commit-hash: 2c73cac0a2
4 years ago
iejMac
f786b284d5
Replay: seeking functionality ( #20763 )
...
old-commit-hash: f0d0b82b8d
4 years ago
Dean Lee
ebe3a39909
UI: remove duplicate capnp readers ( #20855 )
...
* refactor submaster
* rebase master
* CAPNP best pratice
* zero initialize
* vwp_w has not been initialized before UIState()
* no static
* rebase master
* Minimize refactoring
* cleanup
* remove gpsOk
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 533bc30c2e
4 years ago
Adeeb Shihadeh
f1d4b920bc
fix reverse gear alert text cutoff ( #20888 )
...
* fix reverse gear alert text cutoff
* offset removed
old-commit-hash: ff16145f4d
4 years ago
Adeeb Shihadeh
4f29e600a7
prime ad: comma connect -> explorer
...
old-commit-hash: ace5ee9d46
4 years ago
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465d
4 years ago
Adeeb Shihadeh
7410c4a2d7
onroad UI optimizations ( #20871 )
...
* onroad UI optimizations
* remove that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f5bbd64f2
4 years ago
Adeeb Shihadeh
494860c201
remove offset from full screen onroad alerts
...
old-commit-hash: 38741b2e08
4 years ago
Adeeb Shihadeh
eb79a7214e
match nvg onroad alerts ( #20854 )
...
old-commit-hash: e06f9828ea
4 years ago
grekiki
d05c5df569
Qt ui: show open panel on startup ( #20859 )
...
* should work
* spaces
old-commit-hash: 95e8c75ebd
4 years ago
Dean Lee
cd50782410
OffroadAlert: add stretch at the bottom ( #20856 )
...
old-commit-hash: b0e2374635
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Adeeb Shihadeh
7b8f164793
match nvg sidebar ( #20847 )
...
old-commit-hash: e1a58e6268
4 years ago